Wrong versions of the songs are getting downloaded
See original GitHub issueSystem OS
Windows
Python Version
3.10 (CPython)
Install Source
pip / PyPi
Install version / commit hash
v4.0.0-rc.2
Expected Behavior vs Actual Behavior
I wanted to download a playlist of around 350 songs. A lot of them downloaded without any problems, but some were completely different songs and some were the clean versions of explicit songs.
For example if I want to download this song “https://open.spotify.com/track/2LTlO3NuNVN70lp2ZbVswF?si=f844d42abbdf4700”, even if the song is explicit I get the clean version. There were also songs like “https://open.spotify.com/track/4u7EnebtmKWzUH433cf5Qv?si=cde697f5c6c84a04” which I downloaded and got completely different versions or live performance versions.
I’ve tried to put “–search-query explicit” and it didn’t get fixed (the same song got downloaded).
This is just one of the songs but a large amount of songs were the clean versions or completely different versions.
Steps to reproduce - Ensure to include actual links!
- I opened cmd
- I’ve typed this command “spotdl download “https://open.spotify.com/playlist/7aUvyg8JGeHNgSPG8ixMwi?si=d8faa48c068f4b81” --format mp3 --output E:\Skinute_pesme\ –bitrate 320k --lyrics genius”
- I’ve tried typing this too “spotdl download “https://open.spotify.com/playlist/7aUvyg8JGeHNgSPG8ixMwi?si=d8faa48c068f4b81” --format mp3 --output E:\Skinute_pesme\ –bitrate 320k --lyrics genius --search-query explicit”
- Some songs downloaded correctly, but a large amount of them didn’t
Traceback
I don't have the output because I closed cmd but everything was fine and 95% of the songs were downloaded (one said something along the lines of "failed metadata transfer" and some of them didn't even download cause it couldn't find them).
Other details
I’ve downloaded Python through this website “https://www.python.org/” like it said in the guide. I’m sorry if this is not an issue with the program and it’s actually my fault but I don’t have any experience with stuff like this.
Issue Analytics
- State:
- Created a year ago
- Comments:12 (3 by maintainers)
I’ve fixed some issues with matching, but some songs still can’t be matched correctly because of how youtube implemented searching
Or because of mismatching metadata in some songs.
For example here youtube incorrectly shows the duration, the actual duration of the song is only available when playing the song
Since v4.0.2 spotdl will be better at rejecting wrong matches, this will allow users to use other audio providers as a fallback (in some edge cases
youtube
is better thanyoutube-music
in matching).If you want the best possible matches you can use cookies foryoutube-music
to get more “personalized” matches.If anyone still has issues with wrong songs being downloaded after updating to v4.0.2 please open a new issue.