2012-08-09, 00:58
Hi,
You can't paste it anywhere.
Here the full code: http://pastebin.com/Htwvz7xz
Basically, replace:
For:
When programming Python, indentation is important.
Please, make a copy of you rdioxbmc.py file if you try to modify it but you are not sure what are you doing. If you are not sure, maybe you would like to wait a new version if this hack works for everyone.
Regards.
You can't paste it anywhere.
Here the full code: http://pastebin.com/Htwvz7xz
Basically, replace:
Code:
def resolve_playback_url(self, key):
svc = RemotingService(self._AMF_ENDPOINT)
rdio_svc = svc.getService('rdio')
For:
Code:
def resolve_playback_url(self, key):
svc = RemotingService(self._AMF_ENDPOINT)
svc.addHTTPHeader('Cookie', 'r=YOUR-R-COOKIE-VALUE')
svc.addHTTPHeader('Host', 'www.rdio.com')
rdio_svc = svc.getService('rdio')
When programming Python, indentation is important.
Please, make a copy of you rdioxbmc.py file if you try to modify it but you are not sure what are you doing. If you are not sure, maybe you would like to wait a new version if this hack works for everyone.
Regards.