Closed SyndiShanX closed 1 year ago
This also happened with a Song with a Shorter Name
ytmdl -o D:/Desktop/Spotify/YTMDL/Done --ignore-chapters --spotify-id 0J3MfW6wwIBqC4zjp5AbQL --choice 1 --quiet --download-archive Downloaded.txt --artist "O.A.R." Shattered (Turn The Car Around)
@SyndiShanX Thanks for reporting the issue.
One question here, can you confirm that the ~/.cache/ytmdl
directory that ytmdl
is using to download the song is empty? If not, can you empty the directory and try running the download command again?
Also, are you able to consistently reproduce this issue or does it only happen sometimes?
It does happen consistently, and from what I remember the folder was empty; I can check in a bit to confirm. Does running the command shown above produce the same error on your end?
@SyndiShanX It doesn't create the same error on my end. This is why I asked you the questions as I am unable to reproduce them locally.
My guess was that the cache directory might have other files that are conflicting with the final created song (that is moved to the music directory)
Just tried updating YTMDL and both commands produced the same erroring filename, I also deleted .cache
both times to no avail, are the some other cache directories?
Okay, thanks for the update. There are no other cache directories. This error might be specific to the platform you're running ytmdl
in which is Windows?
Yeah I’m on Windows 10, latest updates
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs for another 7 days. Thank you for your contributions.
Bump, Still not fixed
@SyndiShanX The issue is fixed. I was able to reproduce the issue with the song name you had shared and I have added a fix.
Will be included in the next release.
Nice, thanks
Bug report
Checklist
Version Info
2022.12.25
2022.9.1
How Ytmdl was installed?
pip install ytmdl --upgrade
Console Log
Description
Song gets named
Imagine#Dragons#(ACAPELLA#Medley)#-#Thunder,#Whatever#it#Takes,#Believer,#Radioactive#and#MORE!.mp3_new.mp3
Instead ofBeliever / Gold / Thunder / Demons / Its Time / Shots / On Top of the World / I Bet My Life / Whatever It Takes / Radioactive.mp3