spotify-downloader icon indicating copy to clipboard operation
spotify-downloader copied to clipboard

Wrong versions of the songs are getting downloaded

Open Nikola2107 opened this issue 2 years ago • 6 comments

System 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!

  1. I opened cmd
  2. 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"
  3. 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"
  4. 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.

Nikola2107 avatar Jul 22 '22 17:07 Nikola2107

I'm also having this problem, I'm trying to download an album but I can only get the live version

denielton avatar Jul 24 '22 01:07 denielton

I don't know why this is happening also, I clearly use a Spotify link, but it instead searches for a link on YouTube and it downloads/converts and outputs that instead of the Spotify version.

Edit: after looking this over, I don't believe this will ever download directly from Spotify, it will just filter the songs you give it from Spotify to YouTube and download those ( as it says in the desc.)

jsanchezflores avatar Jul 26 '22 09:07 jsanchezflores

Also the same problem, spotDL V-3.9.6 - Mac OS Mojave. Downloading a single song I get the correct version on the list. Downloading a full list I get the 1998 version of the song. Fun

nessust avatar Aug 03 '22 19:08 nessust

Is it possible to add the possibility of downloading songs via the specified youtube url to complement the wrong version of the auto-match?

GreatMartial avatar Aug 04 '22 12:08 GreatMartial

This issue has been automatically marked stale because there hasn't been any activity for the last 30 days.

stale[bot] avatar Sep 04 '22 17:09 stale[bot]

Is it possible to add the possibility of downloading songs via the specified youtube url to complement the wrong version of the auto-match?

There is a sort of fix for this. You can specify a youtube url to download and a spotify link. Spotdl will download the audio from youtube and apply the metadata from spotify.

This is a command in the SpotDL Discord Server

You can specify specific YouTube videos to download with Spotify metadata, or vice versa. To do this, use the notation spotdl "YouTubeURL|SpotifyURL" Note that the quote marks (") are essential.

fer-hnndz avatar Sep 05 '22 01:09 fer-hnndz

This issue has been automatically marked stale because there hasn't been any activity for the last 30 days.

stale[bot] avatar Oct 09 '22 05:10 stale[bot]

Same case for me
In my case I wanted to download
spotdl https://open.spotify.com/track/5SLa1DfIY8AG1hgJq8PpD9?si=3d73645949e143e4, but I got entirely different song

pktiuk avatar Oct 10 '22 18:10 pktiuk

Same here: spotdl download https://open.spotify.com/track/3OfQ5RZgbpcV2glRoEP0a2?si=55ad4222786b4323 downloaded this https://www.youtube.com/watch?v=9lc-3N0RUUA instead of https://www.youtube.com/watch?v=ZHONxE_DI78

Fabian200703 avatar Oct 24 '22 13:10 Fabian200703

Issue still persists, example: spotdl download https://open.spotify.com/track/6cmm1LMvZdB5zsCwX5BjqE?si=cd303d34794c4f2b

downloaded this https://www.youtube.com/watch?v=fGP1bKKmWOE instead of https://www.youtube.com/watch?v=UQ9e6XyQWr4

sagars007 avatar Nov 01 '22 11:11 sagars007

I've fixed some issues with matching, but some songs still can't be matched correctly because of how youtube implemented searching

Reference: https://www.youtube.com/howyoutubeworks/product-features/search/

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 image

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 than youtube-music in matching).

~~If you want the best possible matches you can use cookies for youtube-music to get more "personalized" matches.~~

xnetcat avatar Nov 05 '22 16:11 xnetcat

If anyone still has issues with wrong songs being downloaded after updating to v4.0.2 please open a new issue.

xnetcat avatar Nov 06 '22 17:11 xnetcat