Open Hsad1644 opened 1 year ago
if it works intermittently then it's likely that the variables are not set correctly/passed to the script
if it works intermittently then it's likely that the variables are not set correctly/passed to the script
I think there is something wrong with the .bat
version of the downloader script. Likely something with arguments in cmd because the error is in the URL parsing. I'll edit the issue title if it turns out to be so.
It works fine when run as source downloader_script.sh
i.e, its shell version run on git bash in Win10. Please help fix my script mentioned in the issue description. I will try on my end as well.
Thanks!
Describe the bug I'm using this library via a batch file on a Windows 10 22H1. The batch file is called
dlspty.bat
and the command format is simplyThe batch file itself looks like this
The output with error
I refer the playlist link to the main
spotify_dl
command using$1
in my batch file. Since it's an IndexError,spotify_dl
is likely not checking to verify if$1
is a URL or simply whether the URL field is empty. From the thrown errors I'm guessing the fix is somewhere here.Is this a cache issue? My API credentials are good too. There has to be some issue with the parser.
To Reproduce Use my batch file method descried at the beginning. For Linux users -
Expected behavior —for it to proceed nominally. This same script has worked before, but I've been encountering this problem after updating to v8.5.0. Matter of fact, this same error has popped during/after a previous update too (on my Linux machine). In both cases they fixed themselves after a few restarts. I'm hoping for the same this time too :')
Screenshots
Desktop