more refactoring - compiles now but not extensively tested

This commit is contained in:
Drew Weymouth
2023-05-14 20:50:06 -07:00
parent 85042fcbd4
commit fd106560d0
20 changed files with 216 additions and 249 deletions
+3 -1
View File
@@ -60,11 +60,13 @@ type MediaProvider interface {
GetStreamURL(trackID string) (string, error)
GetTopTracks(artist Artist, count int) ([]*Track, error)
SetFavorite(params RatingFavoriteParameters, favorite bool) error
SetRating(params RatingFavoriteParameters, rating int) error
GetPlaylists() ([]Playlist, error)
GetPlaylists() ([]*Playlist, error)
CreatePlaylist(name string, trackIDs []string) error