2012-05-03, 18:42
had it working for a few days... broken again. bummer
(2012-05-03, 07:26)vericgar Wrote: pianobar has moved to using the JSON interface, instead of the XMLRPC interface, which is why the crypt files are gone. The new ones you tried to use aren't the right format for libpandora.py. The previous ones can be found at the URL https://raw.github.com/PromyLOPh/pianoba.../libpiano/ (change this at the top of keys.py)
When I use these old keys though, I get an invalid client error from Pandora. It was working for me before, so I suspect Pandora has specifically blocked the client ID used by the previous version of pianobar now.
I suspect libpandora.py is going to need to be moved to the JSON interface as well.
(2012-05-03, 20:30)jdowens01 Wrote: Found the correct link.
https://raw.github.com/PromyLOPh/pianoba...ey_input.h
https://raw.github.com/PromyLOPh/pianoba...y_output.h
This allows the program to not error out but I am not sure why by my login isnt working. This may be the reason behind the change to JSON.
BASE_KEY_URL = "https://raw.github.com/PromyLOPh/pianobar/master/src/libpiano/"
BASE_KEY_URL = "https://raw.github.com/PromyLOPh/pianobar/json/src/libpiano/"
req = xmlrpclib.dumps( ( self._timestamp(), "00000000000000000000000000000000", user, pwd, "html5tuner", "", "", "HTML5", True ), \
"listener.authenticateListener" )
req = xmlrpclib.dumps( ( self._timestamp(), "", user, pwd, "html5tuner", "", "", "HTML5", True ), \
"listener.authenticateListener" )
(2012-05-03, 21:29)newatv2user Wrote:(2012-05-03, 20:30)jdowens01 Wrote: Found the correct link.
https://raw.github.com/PromyLOPh/pianoba...ey_input.h
https://raw.github.com/PromyLOPh/pianoba...y_output.h
This allows the program to not error out but I am not sure why by my login isnt working. This may be the reason behind the change to JSON.
Ok another quick hack:
In keys.py change
toCode:BASE_KEY_URL = "https://raw.github.com/PromyLOPh/pianobar/master/src/libpiano/"
Code:BASE_KEY_URL = "https://raw.github.com/PromyLOPh/pianobar/json/src/libpiano/"
In pandora.py change
toCode:req = xmlrpclib.dumps( ( self._timestamp(), "00000000000000000000000000000000", user, pwd, "html5tuner", "", "", "HTML5", True ), \
"listener.authenticateListener" )
Code:req = xmlrpclib.dumps( ( self._timestamp(), "", user, pwd, "html5tuner", "", "", "HTML5", True ), \
"listener.authenticateListener" )
(2012-05-03, 21:29)newatv2user Wrote: In keys.py change
toCode:BASE_KEY_URL = "https://raw.github.com/PromyLOPh/pianobar/master/src/libpiano/"
Code:BASE_KEY_URL = "https://raw.github.com/PromyLOPh/pianobar/json/src/libpiano/"
In pandora.py change
toCode:req = xmlrpclib.dumps( ( self._timestamp(), "00000000000000000000000000000000", user, pwd, "html5tuner", "", "", "HTML5", True ), \
"listener.authenticateListener" )
Code:req = xmlrpclib.dumps( ( self._timestamp(), "", user, pwd, "html5tuner", "", "", "HTML5", True ), \
"listener.authenticateListener" )
(2012-05-03, 23:45)Dixon Butz Wrote: Updated zip with latest fixes:
http://www.box.com/s/f18b9263cd43b5101ecb
(2012-05-04, 06:16)nerdstalker Wrote: Nevermind I figured it out as dose88 states above step 6 is to rename the zip file but Note the change is Very subtle.
From "script.xbmc.pandora.zip"
To "scripts.xbmc.pandora.zip"
See the difference? was pulling my hair out trying to figure that one out sheesh, oh and Thanks for the fix all!