FingerlessGloves
Member
Path changing is only really required when using docker.downloading the older version and replacing the one that was came with the bot was enough to fix it for me. I haven't had to change any paths,
Path changing is only really required when using docker.downloading the older version and replacing the one that was came with the bot was enough to fix it for me. I haven't had to change any paths,
Thank you, that worked for me as wellбыли одни и те же и похожие проблемы в течение долгого времени. только что перешел на youtube-dlc и все работает как часы!
ссылка на репозиторий:
https://github.com/blackjack4494/yt-dlc
вы также можете просто установить youtube-dlc через pip:
python -m pip install --upgrade youtube-dlc
затем просто настройте его в своей конфигурации (/opt/sinusbot/config.ini):
YoutubeDLPath = "youtube-dlc"
ваше здоровье
Ahora estoy usando este paquete y todo funciona bien en mi bot, solo quería agradecerle y apoyar el uso de este paquete.Tuvo los mismos y similares problemas durante mucho tiempo. acaba de cambiar a youtube-dlc y todo funciona como un reloj.
enlace al repositorio:
https://github.com/blackjack4494/yt-dlc
también puede simplemente instalar youtube-dlc a través de pip:
python -m pip install --upgrade youtube-dlc
luego simplemente ajústelo en su configuración (/opt/sinusbot/config.ini):
YoutubeDLPath = "youtube-dlc"
salud
sudo apt-get update
sudo apt-get install python
cd / opt / sinusbot /
curl -L -O https://github.com/ytdl-org/youtube-dl/releases/download/2021.01.16/youtube-dl
chmod a + rx youtube-dl
chown sinusbot: sinusbot youtube-dl
Use these commands using root in your sinusbot directory (should be / opt / sinusbot),
If you followed the installation guide perfectly then copy and paste, if not tweak it for eg the load command.
Edit: the directories have spaces in them, remove them manually
Works flawlessly!The issue is caused by a slight change in youtube-dl's metadata output.
After a refactoring, it stores the 'adr' value as a floating -point number, but sinusbot expects an integer.
I patched youtube-dl and restored the old behaviour.
You can find a patched executable on github: https://github.com/Clubfan22/youtube-dl/releases/tag/2021.04.01-sinusbot
However, if you don't trust me (and really, you shouldn't just execute any code found on the internet!), you can build youtube-dl by yourself from my patched version: https://github.com/Clubfan22/youtube-dl
I don't plan on filing an upstream issue for youtube-dl because it really is a problem caused by sinusbot and should be fixed with a sinusbot update.
Works perfectly, thanks for making that!The issue is caused by a slight change in youtube-dl's metadata output.
After a refactoring, it stores the 'adr' value as a floating -point number, but sinusbot expects an integer.
I patched youtube-dl and restored the old behaviour.
You can find a patched executable on github: https://github.com/Clubfan22/youtube-dl/releases/tag/2021.04.01-sinusbot
However, if you don't trust me (and really, you shouldn't just execute any code found on the internet!), you can build youtube-dl by yourself from my patched version: https://github.com/Clubfan22/youtube-dl
I don't plan on filing an upstream issue for youtube-dl because it really is a problem caused by sinusbot and should be fixed with a sinusbot update.
could you create a patched windows executable for the non linux users out there? i tried it myself on windows and py2exe cant find needed modules and the executable it created didn't work.You can find a patched executable on github: https://github.com/Clubfan22/youtube-dl/releases/tag/2021.04.01-sinusbot
Could you please describe how to install it?The issue is caused by a slight change in youtube-dl's metadata output.
After a refactoring, it stores the 'adr' value as a floating -point number, but sinusbot expects an integer.
I patched youtube-dl and restored the old behaviour.
You can find a patched executable on github: https://github.com/Clubfan22/youtube-dl/releases/tag/2021.04.01-sinusbot
However, if you don't trust me (and really, you shouldn't just execute any code found on the internet!), you can build youtube-dl by yourself from my patched version: https://github.com/Clubfan22/youtube-dl
I don't plan on filing an upstream issue for youtube-dl because it really is a problem caused by sinusbot and should be fixed with a sinusbot update.
and changed YouTubeDLPath to /usr/local/bin/youtube-dl-patch-new,cd /usr/local/bin
curl -L https://github.com/Clubfan22/youtube-dl/releases/download/2021.04.01-sinusbot/youtube-dl --output youtube-dl-patch-new
cd /opt/sinusbot/
nano config.ini
chmod o+x /usr/local/bin/youtube-dl-patch-newCould you please describe how to install it?
I used
and changed YouTubeDLPath to /usr/local/bin/youtube-dl-patch-new,
restarted sinusbot and tried to download a video over the interface, but I says "youtube-dl not available"
I have done all the steps but when i try to do command !yt, on the web sinusbot's interface i have an "error". Before the update of clubfan i have an other error "youtube-dl not available". Now the error is: "error". How can i resolve?chmod o+x /usr/local/bin/youtube-dl-patch-new
Even for me the patched version is working fine ... thxThe issue is caused by a slight change in youtube-dl's metadata output.
After a refactoring, it stores the 'adr' value as a floating -point number, but sinusbot expects an integer.
I patched youtube-dl and restored the old behaviour.
You can find a patched executable on github: https://github.com/Clubfan22/youtube-dl/releases/tag/2021.04.01-sinusbot
However, if you don't trust me (and really, you shouldn't just execute any code found on the internet!), you can build youtube-dl by yourself from my patched version: https://github.com/Clubfan22/youtube-dl
I don't plan on filing an upstream issue for youtube-dl because it really is a problem caused by sinusbot and should be fixed with a sinusbot update.
Even for me the patched version is working fine ... thx
I can confirm this has worked! Thanks man!The issue is caused by a slight change in youtube-dl's metadata output.
After a refactoring, it stores the 'adr' value as a floating -point number, but sinusbot expects an integer.
I patched youtube-dl and restored the old behaviour.
You can find a patched executable on github: https://github.com/Clubfan22/youtube-dl/releases/tag/2021.04.01-sinusbot
However, if you don't trust me (and really, you shouldn't just execute any code found on the internet!), you can build youtube-dl by yourself from my patched version: https://github.com/Clubfan22/youtube-dl
I don't plan on filing an upstream issue for youtube-dl because it really is a problem caused by sinusbot and should be fixed with a sinusbot update.