Remove orphan tracks from playlists after they are removed from library

This commit is contained in:
Deluan
2020-05-18 20:32:01 -04:00
parent 0e4f7036eb
commit c2d1e9df9f
7 changed files with 46 additions and 8 deletions
-1
View File
@@ -46,6 +46,5 @@ type AlbumRepository interface {
GetStarred(options ...QueryOptions) (Albums, error)
Search(q string, offset int, size int) (Albums, error)
Refresh(ids ...string) error
PurgeEmpty() error
AnnotatedRepository
}
-1
View File
@@ -36,6 +36,5 @@ type ArtistRepository interface {
Search(q string, offset int, size int) (Artists, error)
Refresh(ids ...string) error
GetIndex() (ArtistIndexes, error)
PurgeEmpty() error
AnnotatedRepository
}