Skip to content

Commit

Permalink
add: search now pro-actively searches until no more results are retur…
Browse files Browse the repository at this point in the history
…ned. It still queries in batches of 20, and updates the list(s) as results are available.
  • Loading branch information
xxxserxxx committed Oct 28, 2024
1 parent 6c0f4dd commit 1a744b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions page_search.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ func (s *SearchPage) search(search chan string) {
if artOff == 0 && albOff == 0 && songOff == 0 {
s.aproposFocus()
}

artOff += len(res.SearchResults.Artist)
albOff += len(res.SearchResults.Album)
songOff += len(res.SearchResults.Song)
Expand Down

0 comments on commit 1a744b7

Please sign in to comment.