Optimize AlbumRepository.GetAll and add a GetAllWithoutGenres method specifically for Subsonic API, where multiple-genres are not required
This commit is contained in:
@@ -52,6 +52,7 @@ type AlbumRepository interface {
|
||||
Put(*Album) error
|
||||
Get(id string) (*Album, error)
|
||||
GetAll(...QueryOptions) (Albums, error)
|
||||
GetAllWithoutGenres(...QueryOptions) (Albums, error)
|
||||
Search(q string, offset int, size int) (Albums, error)
|
||||
Refresh(ids ...string) error
|
||||
AnnotatedRepository
|
||||
|
||||
Reference in New Issue
Block a user