add SearchAll function to MediaProvider

This commit is contained in:
Drew Weymouth
2023-11-05 14:07:52 -08:00
parent 9f63822806
commit 0439ec695b
4 changed files with 203 additions and 3 deletions
+2
View File
@@ -57,6 +57,8 @@ type MediaProvider interface {
SearchAlbums(searchQuery string, filter AlbumFilter) AlbumIterator
SearchAll(searchQuery string, maxResults int) ([]*SearchResult, error)
GetRandomTracks(genre string, count int) ([]*Track, error)
GetSimilarTracks(artistID string, count int) ([]*Track, error)