Skip to content

Commit

Permalink
fix: first search for artist and then track name
Browse files Browse the repository at this point in the history
  • Loading branch information
jon4hz committed Sep 21, 2024
1 parent d1f085d commit e57e3bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func root(cmd *cobra.Command, args []string) {
log.Fatal("Failed to authenticate to subsonic", "url", cfg.SubsonicURL, "err", err)
}

searchString := fmt.Sprintf("%s %s", userSession.Title, userSession.GrandparentTitle)
searchString := fmt.Sprintf("%s %s", userSession.GrandparentTitle, userSession.Title)

RetrySearch:
var searchResult *subsonic.SearchResult3
Expand Down

0 comments on commit e57e3bc

Please sign in to comment.