2016-06-12, 23:27
(2016-06-12, 01:05)paper Wrote: Hi,
I'm getting interesting errors from YDStreamExtractor.getVideoInfo() which returns None:
Code:00:52:28 5445.615723 T:1388299328 NOTICE: script.module.youtube.dl: ERROR: _getYoutubeDLVideo() failed
00:52:28 5445.616211 T:1388299328 NOTICE: script.module.youtube.dl: _getYoutubeDLVideo() failed::getVideoInfo (362) - attribute of type 'NoneType' is not callable
00:52:28 5445.618652 T:1388299328 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.Exception'>
Error Contents: YDStreamExtractor.getVideoInfo("https://livestream.com/nrl/roostersstorm2016") returned None
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.nrl/addon.py", line 50, in <module>
raise Exception('YDStreamExtractor.getVideoInfo("{}") returned None'.format(url))
Exception: YDStreamExtractor.getVideoInfo("https://livestream.com/nrl/roostersstorm2016") returned None
-->End of Python script error report<--
I'm running it on OpenELEC and what's interesting is that if I reboot it, the first time I'm trying to open the item in the plugin it works perfectly. But if I try to open this or any another item in the plugin it fails with this error until I reboot it again.
Does anyone has the same experience and maybe knows how to fix it?
I tried the URL shown in the log snippet you posted with the latest version on youtube-dl on the command line and it failed.
Either the add-on that is using this module is passing a URL that won't work, or support for the site is currently broken. In any case the author of the add-on with the ID of plugin.video.nrl is the one to talk to.
Sent from my SM-N910P