Hallo,
genau so ein AddOn habe ich auch gesucht !
Allerdings funktioniert es leider nicht.........
ich habe die neuste (Alpha) Version von Libreelec und bekomme folgenden Logeintrag:
12:15:07.755 T:1362097056 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.KeyError'>
Error Contents: ('item',)
Traceback (most recent call last):
File "/storage/.kodi/addons/service.nfo.watchedstate.updater/default.py", line 185, in <module>
WU.listen()
File "/storage/.kodi/addons/service.nfo.watchedstate.updater/default.py", line 73, in listen
self.handleMsg(msg)
File "/storage/.kodi/addons/service.nfo.watchedstate.updater/default.py", line 57, in handleMsg
methodHandler(jsonmsg)
File "/storage/.kodi/addons/service.nfo.watchedstate.updater/default.py", line 83, in VideoLibraryOnUpdate
if (jsonmsg["params"]["data"]["item"].has_key("id")) and (jsonmsg["params"]["data"]["item"].has_key("type")) and (jsonmsg["params"]["data"].has_key("playcount")):
KeyError: ('item',)
-->End of Python script error report<--
12:15:07.915 T:1306522528 NOTICE: PostPlayInfo -> increment countdown
12:15:07.929 T:1372582816 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.KeyError'>
Error Contents: ('item',)
Traceback (most recent call last):
File "/storage/.kodi/addons/service.nfo.watchedstate.updater/default.py", line 185, in <module>
WU.listen()
File "/storage/.kodi/addons/service.nfo.watchedstate.updater/default.py", line 73, in listen
self.handleMsg(msg)
File "/storage/.kodi/addons/service.nfo.watchedstate.updater/default.py", line 57, in handleMsg
methodHandler(jsonmsg)
File "/storage/.kodi/addons/service.nfo.watchedstate.updater/default.py", line 83, in VideoLibraryOnUpdate
if (jsonmsg["params"]["data"]["item"].has_key("id")) and (jsonmsg["params"]["data"]["item"].has_key("type")) and (jsonmsg["params"]["data"].has_key("playcount")):
KeyError: ('item',)
-->End of Python script error report<--
12:15:08.119 T:1306522528 NOTICE: PostPlayInfo -> increment countdown
12:15:23.458 T:1768944544 NOTICE: Previous line repeats 103 times.
12:15:23.458 T:1768944544 NOTICE: PostPlayInfo -> closing