Deprecated: Use of "parent" in callables is deprecated in /var/www/html/forum/src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php on line 431
  • If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

youtube-dlc - error while downloading from youtube

DokGrej

Member
For several days there is a problem that you can not play any link via youtube-dlc because one message pops up all the time.
System: Ubuntu 19.04, Ubuntu 19.10 and Ubuntu 20.04

ERROR: 'NoneType" object has no attribute 'get'

e175f07d2e136c01a89d9b446d9b7966d9e65fcc.png

Edition:
One more error pops up:

sdfgfssdf.png
 
Last edited:

Kilian57

Active Member
The user Clubfan has a temporary fix till a new Sinusbot version is released

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.
https://forum.sinusbot.com/threads/...ld-ytdlformat-abr-of-type-int.8291/post-48436
 
Top