After a total raspbmc failure, I reinstalled the latest.
Added iplayer 2.18. This works EXCEPT for live streams which all produce a script error:
Code:
14:59:51 T:2903815232 NOTICE: Traceback (most recent call last):
14:59:51 T:2903815232 NOTICE: File "/home/pi/.xbmc/addons/plugin.video.iplayer/default.py", line 1100, in <module>
14:59:51 T:2903815232 NOTICE: live_tv.play_stream(label, bitrate, showDialog)
14:59:51 T:2903815232 NOTICE: File "/home/pi/.xbmc/addons/plugin.video.iplayer/lib/live_tv.py", line 120, in play_stream
14:59:51 T:2903815232 NOTICE: url = fetch_stream_info(channel, bitrate, provider)
14:59:51 T:2903815232 NOTICE: File "/home/pi/.xbmc/addons/plugin.video.iplayer/lib/live_tv.py", line 43, in fetch_stream_info
14:59:51 T:2903815232 NOTICE: if quality == 1: quality_attr = 'pc_stream_audio_video_simulcast_uk_v_lm_p004'
14:59:51 T:2903815232 NOTICE: UnboundLocalError: local variable 'quality' referenced before assignment
14:59:51 T:2903815232 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 'quality' referenced before assignment
Traceback (most recent call last):
File "/home/pi/.xbmc/addons/plugin.video.iplayer/default.py", line 1100, in <module>
live_tv.play_stream(label, bitrate, showDialog)
File "/home/pi/.xbmc/addons/plugin.video.iplayer/lib/live_tv.py", line 120, in play_stream
url = fetch_stream_info(channel, bitrate, provider)
File "/home/pi/.xbmc/addons/plugin.video.iplayer/lib/live_tv.py", line 43, in fetch_stream_info
if quality == 1: quality_attr = 'pc_stream_audio_video_simulcast_uk_v_lm_p004'
UnboundLocalError: local variable 'quality' referenced before assignment
-->End of Python script error report<--
Hmm ... this addon worked okay before the crash.
Any ideas? I get the same script error with the original default.py and the 'alternative' linked elsewhere in the thread.
ps: hope the code is acceptable given it's apparently a specific python error