spotify-downloader
spotify-downloader copied to clipboard
Finds 1 or 10 hour version when track is from a playlist
System OS
Linux
Python Version
3.7 (CPython)
Install Source
pip / PyPi
Install version / commit hash
v4.2.2
Expected Behavior vs Actual Behavior
When I was downloading a personal playlist, I got several matches for 1h or 10h versions instead of the correct ones. One example is the track specified below. But when you query directly with the track url, it finds the correct version.
It should find the same version if you query the track directly and if the (same) track is in a playlist.
Steps to reproduce - Ensure to include actual links!
- Query for https://open.spotify.com/track/70R53Oq9IegG1kwhxo2Lxm
- Finds correct version (5m58s)
- Query for https://open.spotify.com/playlist/58yk6vOO2gZIEjDAUa8JyD (my test playlist with only the previous track added)
- Finds a 10h version
The playlist above have some tracks that I found, that when queried directly it finds the correct version, but when are loaded from a playlist, it finds 1 or 10 hour versions
Traceback
dinip@Dinip-Desktop:~/spotdl-test$ spotdl https://open.spotify.com/track/70R53Oq9IegG1kwhxo2Lxm
Processing query: https://open.spotify.com/track/70R53Oq9IegG1kwhxo2Lxm
Downloaded "Otto Knows - Million Voices - Extended Original Mix": https://www.youtube.com/watch?v=uHIsBZNg9nU
dinip@Dinip-Desktop:~/spotdl-test$ du -sh Otto\ Knows/Million\ Voices/Million\ Voices\ -\ Extended\ Original\ Mix.m4a
5.7M Otto Knows/Million Voices/Million Voices - Extended Original Mix.m4a
dinip@Dinip-Desktop:~/spotdl-test$ ffmpeg -i Otto\ Knows/Million\ Voices/Million\ Voices\ -\ Extended\ Original\ Mix.m4a 2>&1 | grep Duration
Duration: 00:05:58.26, start: 0.000000, bitrate: 131 kb/s
dinip@Dinip-Desktop:~/spotdl-test$ rm -r Otto\ Knows/
dinip@Dinip-Desktop:~/spotdl-test$ spotdl https://open.spotify.com/playlist/58yk6vOO2gZIEjDAUa8JyD?si=27ab6bf7288a4d6f
Processing query: https://open.spotify.com/playlist/58yk6vOO2gZIEjDAUa8JyD?si=27ab6bf7288a4d6f
Found 1 songs in Testing spotDL (Playlist)
Downloaded "Otto Knows - Million Voices - Extended Original Mix": https://www.youtube.com/watch?v=frpaazbJ2Q0
dinip@Dinip-Desktop:~/spotdl-test$ du -sh Otto\ Knows/Million\ Voices/Million\ Voices\ -\ Extended\ Original\ Mix.m4a
557M Otto Knows/Million Voices/Million Voices - Extended Original Mix.m4a
dinip@Dinip-Desktop:~/spotdl-test$ ffmpeg -i Otto\ Knows/Million\ Voices/Million\ Voices\ -\ Extended\ Original\ Mix.m4a 2>&1 | grep Duration
Duration: 10:00:47.77, start: 0.000000, bitrate: 129 kb/s
Other details
No response
update to v4.2.3
I don't see any reference to v4.2.3 in the repo. The latest version available is v4.2.2 released 19h ago.
I don't see any reference to v4.2.3 in the repo. The latest version available is v4.2.2 released 19h ago.
sorry thought you were on 4.2.1 and I wanted to type 4.2.2
I will check your issue
fixed on dev branch, v4.2.5 soon
This issue has been automatically marked stale because there hasn't been any activity for the last 30 days.