pymusicdl
pymusicdl copied to clipboard
Please Help
this is the error i get
Traceback (most recent call last):
File "C:\Users\advsa\AppData\Local\Programs\Python\Python39\Scripts\musicdl.bat", line 6, in
Can anyone please help me solve this
Did you happen to backup your desktop to onedrive?
No..
Can you check the output to the following command in command prompt
python -c "import os;print(os.listdir(os.path.expanduser('~')))"

Your desktop's location seems to be somewhere else instead of the default directory. Just check if it is in the 'OneDrive' directory.
You can try this command in command prompt for that: explorer C:\Users\advsa\OneDrive
oh yes it is in OneDrive.. um how can i fix this error but?
do i need to change the location back to default somehow?
There is a dirty trick that will get rid of the bug, it is, create a 'Desktop' directory in C:\Users<your username>
Otherwise, you just need to change the desktop's location (which is a little complicated but doable)
I'll work on this bug to automatically check for desktop directory that is in onedrive.
Can u please tell me how to change the desktop's location ?
Check this link:
https://www.addictivetips.com/windows-tips/move-the-desktop-folder-out-of-onedrive-on-windows-10/
Thank You So much
The songs seem to be downloaded in webm format
is the desktop moved to the default location? and can you check if you have ffmpeg on your PC.
You can just give ffmpeg
command in the command prompt. If the output is anything other than
'ffmpeg' is not recognized as an internal or external command, operable program or batch file.
then it's in your PATH and we can do other tests to reproduce the problem.


Yes i believe i did successfully move the desktop to the default location
Can you ping me on telegram @insaiyancvk I have never seen such an issue. I'll have to pinpoint the reason behind it.
If you try opening the command prompt as an admin, I think it will work.
I tried running the program on admin it still downloads the file in webm I dont have telegram, its fine tho Thanks for helping me out so much i really appreciate it