Some issues found for push notifications only!!
1) ISO files:
Systems tested on: Windows and OpenELEC, both not working for ISO files
Addon Version used: 0.6.10b
Test video image used:
videotest.iso
Windows Debug log, error starts at line 564:
http://xbmclogs.com/show.php?id=309164
Code:
12:25:35 T:6328 DEBUG: DVDNAV_NAV_PACKET - DISCONTINUITY FROM:0 TO:178022 DIFF:178022
12:25:35 T:6328 DEBUG: CDVDDemuxFFmpeg::Open - avformat_find_stream_info starting
12:25:35 T:7136 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 "C:\Users\XBMC\AppData\Roaming\XBMC\addons\service.pushbullet\lib\common.py", line 119, in onNotification
self.onNotificationAction(sender, method, json)
File "C:\Users\XBMC\AppData\Roaming\XBMC\addons\service.pushbullet\service.py", line 228, in _onKodiNotification
if 'title' in result['item'] and result['item']['title'] != '':
KeyError: ('item',)
-->End of Python script error report<--
12:25:35 T:6328 DEBUG: ffmpeg[18B8]: [mpeg] max_analyze_duration 500000 reached at 500500 microseconds
12:25:35 T:6328 DEBUG: CDVDDemuxFFmpeg::Open - av_find_stream_info finished
2) No push notifications at all in OpenELEC only!!
Systems tested on: Windows and OpenELEC, Windows works, OpenELEC doesn't!!
Addon Version used: 0.6.10b
OpenELEC 4.2 Generic x86_64 Debug log:
http://xbmclogs.com/show.php?id=309102
line 1716 LiveTv stream
Code:
09:16:33 T:140583163111168 DEBUG: [Pushbullet]: onKodiNotification: xbmc Player.OnPlay {u'item': {u'channeltype': u'tv', u'type': u'channel', u'id': 282, u'title': u'RTL 4'}, u'player': {u'playerid': 1, u'speed': 1}}
09:16:33 T:140583163111168 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnboundLocalError'>
Error Contents: local variable 'result' referenced before assignment
Traceback (most recent call last):
File "/storage/.xbmc/addons/service.pushbullet/lib/common.py", line 119, in onNotification
self.onNotificationAction(sender, method, json)
File "/storage/.xbmc/addons/service.pushbullet/service.py", line 245, in _onKodiNotification
if 'thumbnail' in result['item']:
UnboundLocalError: local variable 'result' referenced before assignment
-->End of Python script error report<--
line 2536 Local series file
Code:
09:16:58 T:140583163111168 DEBUG: [Pushbullet]: onKodiNotification: xbmc Player.OnPlay {u'item': {u'type': u'episode', u'id': 1137}, u'player': {u'playerid': 1, u'speed': 1}}
09:16:58 T:140583163111168 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnboundLocalError'>
Error Contents: local variable 'result' referenced before assignment
Traceback (most recent call last):
File "/storage/.xbmc/addons/service.pushbullet/lib/common.py", line 119, in onNotification
self.onNotificationAction(sender, method, json)
File "/storage/.xbmc/addons/service.pushbullet/service.py", line 245, in _onKodiNotification
if 'thumbnail' in result['item']:
UnboundLocalError: local variable 'result' referenced before assignment
-->End of Python script error report<--
line 3308 LiveTV channel
Code:
09:17:26 T:140583163111168 DEBUG: [Pushbullet]: onKodiNotification: xbmc Player.OnPlay {u'item': {u'channeltype': u'tv', u'type': u'channel', u'id': 282, u'title': u'RTL 4'}, u'player': {u'playerid': 1, u'speed': 1}}
09:17:26 T:140583163111168 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnboundLocalError'>
Error Contents: local variable 'result' referenced before assignment
Traceback (most recent call last):
File "/storage/.xbmc/addons/service.pushbullet/lib/common.py", line 119, in onNotification
self.onNotificationAction(sender, method, json)
File "/storage/.xbmc/addons/service.pushbullet/service.py", line 245, in _onKodiNotification
if 'thumbnail' in result['item']:
UnboundLocalError: local variable 'result' referenced before assignment
-->End of Python script error report<--