maxtheking
New Member
I'm running the latest version of Sinusbot with the latest version of youtube-dl under a Debian 9 x64 VM. It's all working great, except for one thing, and that's the youtube downloader. It says "file format not recognized" when i try to download a song from youtube, why is this? The logs don't show anything unusual....
Youtube-dl is working as it should. If i issue "/opt/sinusbot/youtube-dl (youtube-url)" from the commandline the download completes just fine.
EDIT: Turns out the bot didn't have sufficient permissions to rename the downloaded file to match the name of the video, fixed it by changing the owner of the /opt/sinusbot and the /media/musicfiles directories recursively.
![asd1.JPG asd1.JPG](https://forum.sinusbot.com/data/attachments/2/2780-0504af24890e276580664b0a308221c9.jpg)
Youtube-dl is working as it should. If i issue "/opt/sinusbot/youtube-dl (youtube-url)" from the commandline the download completes just fine.
EDIT: Turns out the bot didn't have sufficient permissions to rename the downloaded file to match the name of the video, fixed it by changing the owner of the /opt/sinusbot and the /media/musicfiles directories recursively.
![asd1.JPG asd1.JPG](https://forum.sinusbot.com/data/attachments/2/2780-0504af24890e276580664b0a308221c9.jpg)
Last edited: