Open edbaunton opened 3 months ago
You could try to experiment with various algorithm results. You can do this by using the settings tab on the GUI or you could do this in terminal using: --algo [0,1,2] selecting one of the numbers to use with the command
Here is some information on what the various algorithms do: If yt_search_algo is 0, it simply returns the first song result.
If yt_search_algo is 1, it iterates over the song results and returns the first song that matches the track name, artist name, and album name exactly. If it can't find a match, it raises a ValueError.
If yt_search_algo is 2, it performs a fuzzy match. It removes everything in brackets in the song title and checks for a match with the track name, artist name, and album name. If it can't find a match, it then searches for videos with the track name and artist name. If it still can't find a match, it raises a ValueError.
Therefore, the most accurate for you would be option 1 or 0, however, I'm assuming that you have already tried option 0 so try option 1 and then if all else fails, try option 2 and see if any of the algorithms fix the issue.
Thank you for creating this fantastic tool, it works amazingly well. I got only one mismatch when importing my library and I did a little bit of digging but couldn't immediately see why it didn't work:
The track in question is: https://open.spotify.com/track/5EIyuLTiZwAmmlsqxdLJC0?si=f1c3738c217c4656