2016-02-03, 23:01
(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
Will this all work on a FREE account?