2016-01-12, 15:34
having the same issue. RadioTunes says you can now only stream via their website, is there a workaround?
streamUrl = playlistStreams[randrange(len(playlistStreams))][0]
streamUrl = playlistStreams[randrange(len(playlistStreams))][0] + '|User-Agent=' + agent + '&Referer=' + referer
agent = pluginConfig.get('plugin', 'agent')
referer = pluginConfig.get('urls', 'frontpage')
('Referer', 'http://www.radiotunes.com/')
agent = Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36
public = http://listen.radiotunes.com/appleapp_low
public = http://listen.radiotunes.com/appleapp_high
(2016-02-02, 14:00)ksiva777 Wrote: As a workaround to get a working addon, you can try this quick hack (Thanks to Uukrul and bitcrusher01):
Delete \userdata\addon_data\plugin.audio.radiotunes.com\cacheChannels.json.
Edit addons\plugin.audio.radiotunes.com\default.py and change line 286 from:
Code:streamUrl = playlistStreams[randrange(len(playlistStreams))][0]
to
Code:streamUrl = playlistStreams[randrange(len(playlistStreams))][0] + '|User-Agent=' + agent + '&Referer=' + referer
insert after line 271:
Code:agent = pluginConfig.get('plugin', 'agent')
referer = pluginConfig.get('urls', 'frontpage')
edit addons\plugin.audio.radiotunes.com\httpcomm.py and insert after line 33:
Code:('Referer', 'http://www.radiotunes.com/')
edit addons\plugin.audio.radiotunes.com\config.ini and insert after line 5:
Code:agent = Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36
After all to get a 64k AAC-HE streams, you can try this:
edit addons\plugin.audio.radiotunes.com\config.ini and change line 19 from:
Code:public = http://listen.radiotunes.com/appleapp_low
to
Code:public = http://listen.radiotunes.com/appleapp_high
ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndentationError'>
Error Contents: ('unexpected indent', ('C:\\Users\\P\\AppData\\Roaming\\Kodi\\addons\\Radiotunes-XBMC-plugin-master\\default.py', 272, 2, "\t\tagent = pluginConfig.get('plugin', 'agent')\n"))
IndentationError: ('unexpected indent', ('C:\\Users\\P\\AppData\\Roaming\\Kodi\\addons\\Radiotunes-XBMC-plugin-master\\default.py', 272, 2, "\t\tagent = pluginConfig.get('plugin', 'agent')\n"))
-->End of Python script error report<--
(2016-02-04, 08:45)pemartins Wrote: I tried this fix but I get this error when running the addon:
Code:ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndentationError'>
Error Contents: ('unexpected indent', ('C:\\Users\\P\\AppData\\Roaming\\Kodi\\addons\\Radiotunes-XBMC-plugin-master\\default.py', 272, 2, "\t\tagent = pluginConfig.get('plugin', 'agent')\n"))
IndentationError: ('unexpected indent', ('C:\\Users\\P\\AppData\\Roaming\\Kodi\\addons\\Radiotunes-XBMC-plugin-master\\default.py', 272, 2, "\t\tagent = pluginConfig.get('plugin', 'agent')\n"))
-->End of Python script error report<--
(2016-02-04, 13:12)ksiva777 Wrote: The patched version of addon is here: http://www.megafileupload.com/aeM9/plugi...es.com.zip
(2016-02-05, 21:51)PantsOnFire Wrote: I posted this over at OSMC forums as well, but posting here first:
Using OSMC mediaPi 15.2
I've uninstalled the add-on using 'ADDONS' menu on settings. Then installed the new one. It still doesn't work properly. So I figure... There is lingering data left over from previous install of the add-on.
I've had a fairly good look through the Linux filesystem used by OSMC but I can't find what I'm looking for.
On Windows for example, the directory would be:
C:\ users\ user \ app data\ roaming\ xbmc\USERDATA\ addons\ (roughly speaking).
The OSMC wiki page didn't help.
Can anyone advise? Would be sweet to get this working again.
(2016-02-04, 13:13)ksiva777 Wrote:(2016-02-03, 23:01)PantsOnFire Wrote: Will this all work on a FREE account?
Yes