[db] Add function to cleanup the 'groups' table (artists and albums)

Allows removing of item no longer referenced from the files table
This commit is contained in:
chme
2016-12-14 19:28:27 +01:00
parent 1ab9151489
commit 3d3c27190b
2 changed files with 41 additions and 0 deletions

View File

@@ -617,6 +617,9 @@ db_pl_enable_bycookie(uint32_t cookie, char *path);
int
db_groups_clear(void);
int
db_groups_cleanup();
int
db_group_persistentid_byid(int id, int64_t *persistentid);