Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Files in m3u file are not in same order as playlist #2256

Open
redfast00 opened this issue Dec 7, 2024 · 0 comments
Open

Files in m3u file are not in same order as playlist #2256

redfast00 opened this issue Dec 7, 2024 · 0 comments
Labels
Bug Unexpected problem or unintended behavior that needs to be fixed

Comments

@redfast00
Copy link

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:

image

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_
@redfast00 redfast00 added the Bug Unexpected problem or unintended behavior that needs to be fixed label Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Unexpected problem or unintended behavior that needs to be fixed
Projects
None yet
Development

No branches or pull requests

1 participant