i have a question concerning plugin.audio.radio_de . it seems everytime i use this addon to stream music (dual audio to connected speaker) after a period of time (1 hour, sometimes 2 hours) the rpi stops playing and i get a network error. the only way to get fuctionality back is to reboot the rpi. anyone else experience this? i am using this on my wifi enabled pi. thanks
Code:
.
11:27:03 967.072388 T:2684142656 NOTICE: -->Python Interpreter Initialized<--
11:27:05 968.906738 T:2684142656 NOTICE: [xbmcswift2] Request for "/station/5839" matches rule for function "get_stream_url"
11:27:05 968.909790 T:2684142656 NOTICE: [plugin.audio.radio_de] get_station_by_station_id started with station_id=5839
11:27:05 968.913574 T:2684142656 NOTICE: [plugin.audio.radio_de] __api_call started with path=broadcast/getbroadcastembedded, param={'broadcast': '5839'}
11:27:05 968.915649 T:2684142656 NOTICE: [plugin.audio.radio_de] __urlopen opening url=http://rad.io/info/broadcast/getbroadcastembedded?broadcast=5839
11:27:15 979.783020 T:2684142656 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'socket.timeout'>
Error Contents: timed out
Traceback (most recent call last):
File "/home/pi/.xbmc/addons/plugin.audio.radio_de/addon.py", line 278, in <module>
plugin.run()
File "/home/pi/.xbmc/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 332, in run
items = self._dispatch(self.request.path)
File "/home/pi/.xbmc/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 306, in _dispatch
listitems = view_func(**items)
File "/home/pi/.xbmc/addons/plugin.audio.radio_de/addon.py", line 183, in get_stream_url
station = radio_api.get_station_by_station_id(station_id)
File "/home/pi/.xbmc/addons/plugin.audio.radio_de/resources/lib/api.py", line 118, in get_station_by_station_id
station = self.__api_call(path, param)
File "/home/pi/.xbmc/addons/plugin.audio.radio_de/resources/lib/api.py", line 141, in __api_call
response = self.__urlopen(url)
File "/home/pi/.xbmc/addons/plugin.audio.radio_de/resources/lib/api.py", line 188, in __urlopen
response = urlopen(req).read()
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 401, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 419, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1211, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open
r = h.getresponse(buffering=True)
File "/usr/lib/python2.7/httplib.py", line 1034, in getresponse
response.begin()
File "/usr/lib/python2.7/httplib.py", line 407, in begin
version, status, reason = self._read_status()
File "/usr/lib/python2.7/httplib.py", line 365, in _read_status
line = self.fp.readline()
File "/usr/lib/python2.7/socket.py", line 447, in readline
data = self._sock.recv(self._rbufsize)
timeout: timed out
-->End of Python script error report<--
11:27:16 980.038879 T:3037180704 ERROR: Playlist Player: skipping unplayable item: 1, path [plugin://plugin.audio.radio_de/station/5839]
11:27:16 980.043091 T:2684142656 NOTICE: Thread LanguageInvoker start, auto delete: false
11:27:16 980.234070 T:2684142656 NOTICE: -->Python Interpreter Initialized<--
11:27:18 981.929199 T:2684142656 NOTICE: [xbmcswift2] Request for "/station/7948" matches rule for function "get_stream_url"
11:27:18 981.938904 T:2684142656 NOTICE: [plugin.audio.radio_de] get_station_by_station_id started with station_id=7948
11:27:18 981.947937 T:2684142656 NOTICE: [plugin.audio.radio_de] __api_call started with path=broadcast/getbroadcastembedded, param={'broadcast': '7948'}
11:27:18 981.950073 T:2684142656 NOTICE: [plugin.audio.radio_de] __urlopen opening url=http://rad.io/info/broadcast/getbroadcastembedded?broadcast=7948
11:27:28 992.002686 T:2684142656 NOTICE: [plugin.audio.radio_de] __urlopen URLError: <urlopen error timed out>
11:27:28 992.004333 T:2684142656 NOTICE: [plugin.audio.radio_de] String is missing: network_error
11:27:28 992.217224 T:3037180704 ERROR: Playlist Player: skipping unplayable item: 2, path [plugin://plugin.audio.radio_de/station/7948]
11:27:28 992.222473 T:3037180704 WARNING: CreateFile, successfuly opened </home/pi/.xbmc/addons/skin.sio2/1080i/DialogOk.xml> instead of </home/pi/.xbmc/addons/skin.sio2/1080i/DialogOK.xml>
11:27:31 995.630432 T:3037180704 NOTICE: COMXPlayer: finished waiting
11:27:32 996.175842 T:3035075648 NOTICE: Previous line repeats 1 times.
11:27:32 996.175842 T:3035075648 NOTICE: Found 1 Lists of Devices
11:27:32 996.190857 T:3035075648 NOTICE: Enumerated PI devices:
11:27:32 996.191162 T:3035075648 NOTICE: Device 1
11:27:32 996.222778 T:3035075648 NOTICE: m_deviceName : HDMI
11:27:32 996.223145 T:3035075648 NOTICE: m_displayName : HDMI
11:27:32 996.223450 T:3035075648 NOTICE: m_displayNameExtra:
11:27:32 996.223633 T:3035075648 NOTICE: m_deviceType : AE_DEVTYPE_HDMI
11:27:32 996.223877 T:3035075648 NOTICE: m_channels : FL,FR
11:27:32 996.224060 T:3035075648 NOTICE: m_sampleRates : 8000,11025,16000,22050,24000,32000,41400,48000,88200,96000,176400,192000
11:27:32 996.224304 T:3035075648 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_AC3,AE_FMT_DTS,AE_FMT_EAC3
11:27:32 996.224548 T:3035075648 NOTICE: Device 2
11:27:32 996.224976 T:3035075648 NOTICE: m_deviceName : Analogue
11:27:32 996.225220 T:3035075648 NOTICE: m_displayName : Analogue
11:27:32 996.225464 T:3035075648 NOTICE: m_displayNameExtra:
11:27:32 996.225647 T:3035075648 NOTICE: m_deviceType : AE_DEVTYPE_PCM
11:27:32 996.225952 T:3035075648 NOTICE: m_channels : FL,FR
11:27:32 996.226135 T:3035075648 NOTICE: m_sampleRates : 48000
11:27:32 996.226379 T:3035075648 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE