This commit is contained in:
Drew Weymouth
2023-04-20 19:24:44 -07:00
parent 7a04d502fe
commit 3521f62f28
2 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ func (s *searchTracksIterator) Next() *subsonic.Child {
// prefetch more search results from server
if s.prefetched == nil {
results := s.searchIterBase.fetchResults()
if results == nil || len(results.Album)+len(results.Artist)+len(results.Song) == 0 {
if results == nil {
s.done = true
s.trackIDset = nil
return nil