Refactor getArtist

This commit is contained in:
Deluan
2020-08-13 18:37:54 -04:00
committed by Deluan Quintão
parent ef81caf3ed
commit e344f616b3
3 changed files with 48 additions and 14 deletions
-2
View File
@@ -12,9 +12,7 @@ import (
)
type Browser interface {
// Deprecated
Directory(ctx context.Context, id string) (*DirectoryInfo, error)
Artist(ctx context.Context, id string) (*DirectoryInfo, error)
Album(ctx context.Context, id string) (*DirectoryInfo, error)
GetSong(ctx context.Context, id string) (*Entry, error)
GetGenres(ctx context.Context) (model.Genres, error)