Add fromYear/toYear params to getRandomSongs

This commit is contained in:
Deluan
2020-04-17 21:18:04 -04:00
committed by Deluan Quintão
parent 0e1735e7a9
commit 4c0250f9f8
3 changed files with 59 additions and 40 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ type fakeListGen struct {
recvSize int
}
func (lg *fakeListGen) GetAlbums(ctx context.Context, offset int, size int, filter engine.AlbumFilter) (engine.Entries, error) {
func (lg *fakeListGen) GetAlbums(ctx context.Context, offset int, size int, filter engine.ListFilter) (engine.Entries, error) {
if lg.err != nil {
return nil, lg.err
}