2016-03-14, 18:15
(2016-03-13, 22:41)laurent-c Wrote: So, after first error message, I installed python for Android. But anyway, I still got the same error and the same message.
Any one has idea how to fix that? No body as used yet this add-on on an Android box?
Thank by advance.
You probably have Python 2.6 in use and that code is not working with it. I made a fix and now it should work
(2016-03-12, 09:50)savis21 Wrote: I have also OE 6.0.3 in my RPi2 and I tried with Max resolution=HD720. I put my appId, appKey and secretKey with Kodi GUI but I cannot stream Yle Areena programs still. I tried some children program, here is log part of it.That is odd. Anyway, I made a small change to the logging. Check if it helps, and we would at least get some proper logging of the situation. If not try the Jumak's suggestion.
Code:09:41:33 39704.238281 T:1679569984 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeDecodeError'>
Error Contents: 'utf8' codec can't decode byte 0xd2 in position 16: invalid continuation byte
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.areena-master/main.py", line 751, in <module>
router(sys.argv[2][1:])
File "/storage/.kodi/addons/plugin.video.areena-master/main.py", line 703, in router
play_stream(params['stream'])
File "/storage/.kodi/addons/plugin.video.areena-master/main.py", line 319, in play_stream
log("decrypted path: " + path)
File "/storage/.kodi/addons/plugin.video.areena-master/main.py", line 40, in log
txt = txt.decode("utf-8")
File "/home/stephan/projects/openelec-6.0/build.OpenELEC-RPi2.arm-6.0.3/Python-2.7.3/.install_pkg/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
UnicodeDecodeError: 'utf8' codec can't decode byte 0xd2 in position 16: invalid continuation byte
-->End of Python script error report<--
09:41:33 39704.335938 T:1967407104 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.areena/?action=play&stream=1-2158348]