-
Notifications
You must be signed in to change notification settings - Fork 30
PleXBMC Helper fails if you use the Login Screen #4
Comments
I recall having some issues as well. [i]PleXBMCHelper[/i] didnt work (at all) and i was seeing a similar log mesage. |
PleXBMC works just fine it is the Helper that does not work when the Login Screen is enabled. |
I just pushed up a potential fix but I'm not at a workstation that I can test on. Will test it by tomorrow and tag a release. Feel free to test yourself if you're feeling adventurous. |
Get off work in 3 hours will do. Thanks! |
It works but with a few drawbacks. The addon does not start until you select the profile so you can't use the Plex remote to do that. Also if you log off which sends you back to the logon screen the addon failes. 00:18:21 T:30324 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- |
Just pushed a potential fix where it turns on at startup again. Looks like a lot of the jsonrpc calls fail before login, but that one grabbing the plexbmc version was the only one that was fatal. Disturbing that they work through the network stack but not with the python call. |
In 3.4.7 I had it fall back to using the HTTP server when the executebuiltin fails. That should take care of this, but you may have to ensure that the Kodi HTTP server is enabled. |
XBMC 13 Final (Windows 8.1 Update 1, but also does it on OpenELEC 4.0)
Amber 1.6.0
plugin.video.plexbmc-3.4.6beta2
script.plexbmc.helper-3.4.2
00:32:17 T:37328 NOTICE: ===== PLEXBMC HELPER START =====
00:32:17 T:37328 NOTICE: PleXBMC Helper -> running Python: sys.version_info(major=2, minor=7, micro=5, releaselevel='final', serial=0)
00:32:17 T:37328 NOTICE: PleXBMC Helper -> running Version: 3.4.2
00:32:17 T:37328 NOTICE: PleXBMC Helper -> Platform: Windows
00:32:17 T:37328 NOTICE: PleXBMC Helper -> UUID: 1363d712-fa77-4007-829a-605bd25cf25b
00:32:17 T:37328 NOTICE: PleXBMC Helper -> jsonrpc: Sending request to XBMC: {"params": {"properties": ["version"], "addonid": "plugin.video.plexbmc"}, "jsonrpc": "2.0", "id": 1, "method": "Addons.GetAddonDetails"}
00:32:17 T:37328 NOTICE: PleXBMC Helper -> jsonrpc: Response from XBMC: {"error":{"code":-32601,"message":"Method not found."},"id":1,"jsonrpc":"2.0"}
00:32:17 T:37328 NOTICE: XBMC returned an error: {u'message': u'Method not found.', u'code': -32601}
00:32:17 T:37328 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: 'bool' object has no attribute 'get'
Traceback (most recent call last):
File "C:\Users\Josh\AppData\Roaming\XBMC\addons\script.plexbmc.helper-3.4.2\default.py", line 60, in
settings['plexbmc_version'] = jsonrpc("Addons.GetAddonDetails", {"addonid" : "plugin.video.plexbmc", "properties" : ["version"]}).get('addon',{}).get('version', False)
AttributeError: 'bool' object has no attribute 'get'
-->End of Python script error report<--
The text was updated successfully, but these errors were encountered: