Be a part of CinemaVision today! Once registered and logged in, you will have access to public chat and your own private messenger, you can view and contribute guides, collaborate on the forums, review downloads, give reputation to your fellow members, contribute content and so much more. Registering is quick and completely free, so what are you waiting for? Sign In Sign Up
I have gotten CV working with my home automation with JSON via a cvaction file. Actions in the sequence work and so do the pause and resume actions. The only issue is when I use the Test button for the action it does not work. This isn't a big deal it just makes testing more difficult. I have pasted in the log entry that I think pertains. Let me know if you need more.
22:09:36 T:3796 NOTICE: Thread LanguageInvoker start, auto delete: false
22:09:36 T:3796 NOTICE: -->Python Interpreter Initialized<--
22:09:36 T:3796 NOTICE: [- CinemaVision -]: Passed args: ['addon.py', 'test.actions', 'RESUME']
22:09:37 T:3796 NOTICE: [- CinemaVision -] (API): Rating Systems:
22:09:37 T:3796 NOTICE: [- CinemaVision -] (API): MPAA: [NR, G, PG, PG-13, R, NC-17]
22:09:37 T:3796 NOTICE: [- CinemaVision -] (API): FSK: [18, 16, 12, 6, 0]
22:09:37 T:3796 NOTICE: [- CinemaVision -] (API): DEJUS: [18 Anos, 16 Anos, 14 Anos, 12 Anos, 10 Anos, Livre]
22:09:37 T:3796 NOTICE: [- CinemaVision -] (API): BBFC: [R18, 18, 15, 12, 12A, PG, U, Uc]
22:09:37 T:3796 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 'decode'
Traceback (most recent call last):
File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\script.cinemavision\addon.py", line 52, in <module>
settings.testEventActions(args[0])
File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\script.cinemavision\lib\settings.py", line 233, in testEventActions
cvutil.evalActionFile(path)
File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\script.cinemavision\lib\cvutil.py", line 207, in evalActionFile
abortPath = kodiutil.getSetting('action.onAbort.file').decode('utf-8')
AttributeError: 'NoneType' object has no attribute 'decode'
-->End of Python script error report<--
I have gotten CV working with my home automation with JSON via a cvaction file. Actions in the sequence work and so do the pause and resume actions. The only issue is when I use the Test button for the action it does not work. This isn't a big deal it just makes testing more difficult. I have pasted in the log entry that I think pertains. Let me know if you need more.
Share this post
Link to post
Share on other sites