Posts: 156
Joined: Sep 2016
Reputation:
3
abga
Senior Member
Posts: 156
I found an alternative to Sarbes' Arte add-on - it's in the Kodi official repo and its' called Arte+ - by default it starts in French and points to the French content, but I could change the language (add-on settings) in German and after restarting the add-on the content list also switched to the German media content. This add-on works perfectly fine in Kodi 19.x.
However, I still couldn't figure out a way to correct the python code in the ZDF lite add-on - which is exactly the same like presented in the previous post for Sarbes' Arte add-on.
Posts: 48
Joined: Feb 2015
Reputation:
4
Yes they are, i mean could have also visit the repo by yourself and filter by Kodi Version.
Posts: 2
Joined: Jul 2024
Reputation:
0
Hi there,
the live streams in the Sportschau addon don't work (for me) anymore. Tested on several devices, I always get this error. Any advice? Thanks for all your great work!
error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'requests.exceptions.JSONDecodeError'>
Error Contents: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/storage/.kodi/addons/script.module.requests/lib/requests/models.py", line 971, in json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/simplejson/__init__.py", line 525, in loads
File "/usr/lib/python3.11/site-packages/simplejson/decoder.py", line 372, in decode
File "/usr/lib/python3.11/site-packages/simplejson/decoder.py", line 402, in raw_decode
File "/usr/lib/python3.11/site-packages/simplejson/scanner.py", line 79, in scan_once
File "/usr/lib/python3.11/site-packages/simplejson/scanner.py", line 70, in _scan_once
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.sportschau/default.py", line 34, in <module>
o.action()
File "/storage/.kodi/addons/script.module.libmediathek4/lib/libmediathek4.py", line 239, in action
l = self.modes[mode]()
^^^^^^^^^^^^^^^^^^
File "/storage/.kodi/addons/plugin.video.sportschau/default.py", line 25, in listStreams
return jsonparser.getStreams(self.params['url'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/storage/.kodi/addons/plugin.video.sportschau/resources/lib/jsonparser.py", line 8, in getStreams
j = requests.get(url).json()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/storage/.kodi/addons/script.module.requests/lib/requests/models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
-->End of Python script error report<--
error <general>: GetDirectory - Error getting plugin://plugin.video.sportschau/?mode=listStreams&url=https%3a%2f%2fexporte.wdr.de%2fSportschauAppServer%2fstreams
error <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.sportschau/?mode=listStreams&url=https%3a%2f%2fexporte.wdr.de%2fSportschauAppServer%2fstreams) failed