Add getSongsByGenre endpoint

This commit is contained in:
Deluan 2020-04-17 20:52:50 -04:00 committed by Deluan Quintão
parent a698e434fd
commit 0e1735e7a9
5 changed files with 34 additions and 0 deletions

View file

@ -48,6 +48,7 @@ type MediaFileRepository interface {
Exists(id string) (bool, error)
Put(m *MediaFile) error
Get(id string) (*MediaFile, error)
GetAll(options ...QueryOptions) (MediaFiles, error)
FindByAlbum(albumId string) (MediaFiles, error)
FindByPath(path string) (MediaFiles, error)
GetStarred(options ...QueryOptions) (MediaFiles, error)