Files in m3u file are not in same order as playlist
Opened this issue · 0 comments
redfast00 commented
System OS
Linux
Python Version
3.12 (CPython)
Install Source
pip / PyPi
Install version / commit hash
4.2.8
Expected Behavior vs Actual Behavior
When I download my liked songs (using spotdl sync liked.spotdl --user-auth --m3u playlist.m3u
), the order of songs in the m3u file does not match the order of the actual playlist:
vs
Allvaret - Populär.mp3
Sesamstraat, Ernie - Zoek de zeep.mp3
Press Club - My Body's Changing.mp3
Dödskällan - Av hatet & mörkret.mp3
Steps to reproduce - Ensure to include actual links!
I can't really include the link, because my songs are set to private, but this happens after syncing the playlist after adding new songs. If I then run the sync command again without adding new songs, the order is correct. Maybe this has something to do with a possible race condition when downloading multiple files at the same time?
Traceback
➜ spotdl sync liked.spotdl --user-auth --m3u playlist.m3u
Processing query: saved
Found 730 songs in Saved tracks (Saved)
Nothing to delete...
Skipping Dödskällan - Av hatet & mörkret (file already exists) (duplicate)
Skipping Allvaret - Populär (file already exists) (duplicate)
Skipping Sesamstraat - Zoek de zeep (file already exists) (duplicate)
Skipping Press Club - My Body's Changing (file already exists) (duplicate)
...
### Other details
_No response_