2019-10-04, 20:29
Hello!
I'm on Kodi 18.4. When trying to play a live stream in DAZN I get this error:
I suspect the problem is due to a change in the method DAZN names their live streams, because it was working properly some weeks ago.
I'm not an expert programming in Python, but if any dev can help me to find a workaround we can find a workaround.Thank you very much!
I'm on Kodi 18.4. When trying to play a live stream in DAZN I get this error:
Code:
2019-10-04 20:22:50.223 T:123145479090176 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'NoneType' object has no attribute 'replace'
Traceback (most recent call last):
File "/Users/usuario/Library/Application Support/Kodi/addons/plugin.video.dazn/addon.py", line 62, in <module>
router(sys.argv[2][1:])
File "/Users/usuario/Library/Application Support/Kodi/addons/plugin.video.dazn/addon.py", line 37, in router
parser.playback(client.playback(id_, plugin.youth_protection_pin(verify_age)))
File "/Users/usuario/Library/Application Support/Kodi/addons/plugin.video.dazn/resources/lib/parser.py", line 82, in playback
self.items.play_item(Playback(self.plugin, data), name, context)
File "/Users/usuario/Library/Application Support/Kodi/addons/plugin.video.dazn/resources/lib/playback.py", line 13, in __init__
self.get_detail(data.get('PlaybackPrecision', {}), data.get('PlaybackDetails', []))
File "/Users/usuario/Library/Application Support/Kodi/addons/plugin.video.dazn/resources/lib/playback.py", line 24, in get_detail
self.parse_detail(details, cdn)
File "/Users/usuario/Library/Application Support/Kodi/addons/plugin.video.dazn/resources/lib/playback.py", line 35, in parse_detail
if cdn == self.clean_name([i['CdnName']])[0] or not cdn:
File "/Users/usuario/Library/Application Support/Kodi/addons/plugin.video.dazn/resources/lib/playback.py", line 16, in clean_name
return [cdn.replace('live', '').replace('vod', '') for cdn in cdns]
AttributeError: 'NoneType' object has no attribute 'replace'
-->End of Python script error report<--
2019-10-04 20:22:50.285 T:140735509250944 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.dazn/?id=auqf6b19cccq1a36d8rs30lzh&verify_age=False¶ms=dcdq2plp9a66bi6yhyvg35m5m&mode=play&title=Anadolu+Efes+Istanbul+-+FC+Barcelona]
I'm not an expert programming in Python, but if any dev can help me to find a workaround we can find a workaround.Thank you very much!