remove SupportsSongRadio infra since all mediaproviders support it now

This commit is contained in:
Drew Weymouth
2024-03-31 09:28:50 -07:00
parent 469369081f
commit 914636e91f
8 changed files with 20 additions and 43 deletions
+2 -4
View File
@@ -189,6 +189,8 @@ type MediaProvider interface {
GetSimilarTracks(artistID string, count int) ([]*Track, error)
GetSongRadio(trackID string, count int) ([]*Track, error)
ArtistSortOrders() []string
IterateArtists(sortOrder string, filter ArtistFilter) ArtistIterator
@@ -244,10 +246,6 @@ type SupportsSharing interface {
CanShareArtists() bool
}
type SupportsSongRadio interface {
GetSongRadio(trackID string, count int) ([]*Track, error)
}
type LyricsProvider interface {
GetLyrics(track *Track) (*Lyrics, error)
}