mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-24 19:46:19 -05:00
[db] Add cleanup to db_pl_delete(), remove db_pl_purge()
This commit is contained in:
7
src/db.h
7
src/db.h
@@ -256,8 +256,8 @@ struct playlist_info {
|
||||
char *virtual_path; /* virtual path of underlying playlist */
|
||||
uint32_t parent_id; /* Id of parent playlist if the playlist is nested */
|
||||
uint32_t directory_id; /* Id of directory */
|
||||
char *query_order; /* order by clause if it is a smart playlist */
|
||||
int32_t query_limit; /* limit if it is a smart playlist */
|
||||
char *query_order; /* order by clause, used by e.g. a smart playlists */
|
||||
int32_t query_limit; /* limit, used by e.g. smart playlists */
|
||||
uint32_t media_kind;
|
||||
uint32_t items; /* number of items (mimc) */
|
||||
uint32_t streams; /* number of internet streams */
|
||||
@@ -707,9 +707,6 @@ db_pl_delete(int id);
|
||||
void
|
||||
db_pl_delete_bypath(const char *path);
|
||||
|
||||
int
|
||||
db_pl_purge_byid(int id);
|
||||
|
||||
void
|
||||
db_pl_disable_bypath(const char *path, enum strip_type strip, uint32_t cookie);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user