Purge empty albums/artists

This commit is contained in:
Deluan
2020-01-17 23:28:11 -05:00
parent ea9ed4a287
commit 54d13d2022
5 changed files with 24 additions and 0 deletions
+1
View File
@@ -38,4 +38,5 @@ type AlbumRepository interface {
GetStarred(...QueryOptions) (Albums, error)
Search(q string, offset int, size int) (Albums, error)
Refresh(ids ...string) error
PurgeEmpty() error
}
+1
View File
@@ -22,4 +22,5 @@ type ArtistRepository interface {
Search(q string, offset int, size int) (Artists, error)
Refresh(ids ...string) error
GetIndex() (ArtistIndexes, error)
PurgeEmpty() error
}