Kodi Community Forum
[OBSOLETE] Pandora Radio (Script) Music Addon - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Music Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=148)
+---- Thread: [OBSOLETE] Pandora Radio (Script) Music Addon (/showthread.php?tid=70471)



- tslayer - 2010-10-16

And when I mentioned xbox, it wasn't to you. It was Greg C whose log shows xbox. And all you replied was that you had the same issue.


- htpc guy - 2010-10-24

First off, I have to say thanks. This is an excellent script and it almost completes my HTPC.

To those that have issues with exiting the script....

I had the same issue with an MCE receiver and a Logitech Harmony remote.
I'm also using Ubuntu 10.4

I had the remote set up so that hitting menu would take me to the main menu. Sounds logical right? Well It didn't work with the Pandora script. I ran irw at the terminal to see what command I was sending. Turns out I was sending a command for Red, which takes you to the main menu. The Pandora script does not recognize that command. I changed the button to send the code for DVD Menu and it works perfectly.


- Kewlj1313 - 2010-10-24

Hello!

Thanks alot this script works great!

I am a subscriber to Pandora One and I know that I have access to higher quality music from Pandora. I was wondering what quality the quality of the music is streaming from this addon/script.

Pandora One High Quality is: 192K bits per second audio

Thx!!!


- spidertnt - 2010-10-28

tslayer Wrote:Okay.. I got it working.

3 things needed:

1) Upgrade the version to 28 as previously mentioned.
2) Copy in the newer crypt keys
3) Modify pianoparser.py and change line 28 from: b = a.split( "}, {" ) to b = a.split( "},{" ) Notice the removal of a space (due to removal of space in the new crypt keys).

Those three changes allows it to work again.

Enjoy.

I had this working a few weeks ago using the older version.

Just some questions about getting it to work now.

1) Upgrade the version to 28 as previously mentioned.

I downloaded the latest version from the first post....checked the pianparser.py it had already been modified.

2) Copy in the newer crypt keys

What are the name of the files exactly. The ones i tried are crypt_key_input.h
and crypt_key_output.h.

thks.


- tslayer - 2010-10-28

Those are the right filenames.


Site down??? - mstng_67 - 2010-11-02

I followed the links on the initial post to get the tarball. "503 Service Unavailable." Does anyone know when the download will be available again?


- isamu.dragon - 2010-11-02

mstng_67 Wrote:I followed the links on the initial post to get the tarball. "503 Service Unavailable." Does anyone know when the download will be available again?


Here is the latest working version of Pandora (From My Personal install).
http://www.mediafire.com/?5b1cpdck2n8qbg2
Just put in addons folder and it will work

no need for using the place in skins folder


- ghostelement - 2010-11-02

isamu.dragon Wrote:Here is the latest working version of Pandora (From My Personal install).
http://www.mediafire.com/?5b1cpdck2n8qbg2
Just put in addons folder and it will work

no need for using the place in skins folder

Thanks, this is working great for me. Is there any way to keep listening to music while doing other things in XBMC? If you exit away from the pandora add-on, the music stops. I'm guessing this is due to the way it accesses the web API?


Error 401: Unauthorized - cmball - 2010-11-03

Newbie to XBMC. Installed the latest version Darhma Beta 4 and followed the directions (or so I thought) for this script for Pandora. I get the following in my log file:

16:59:09 T:15596 M:1936470016 NOTICE: -->Python Interpreter Initialized<--
16:59:13 T:15596 M:1933627392 ERROR: Error Type: urllib2.HTTPError
16:59:13 T:15596 M:1933627392 ERROR: Error Contents: HTTP Error 401: Unauthorized
16:59:13 T:15596 M:1933578240 ERROR: Traceback (most recent call last):
File "S:\XBMC\addons\script.xbmc.pandora\default.py", line 146, in ?
panda = Panda()
File "S:\XBMC\addons\script.xbmc.pandora\default.py", line 41, in __init__
self.pandora.sync()
File "S:\XBMC\addons\script.xbmc.pandora\libpandora\pandora.py", line 35, in sync
u = urlopen( reqUrl, enc )
File "special://xbmc/system/python/Lib\urllib2.py", line 130, in urlopen
return _opener.open(url, data)
File "special://xbmc/system/python/Lib\urllib2.py", line 364, in open
response = meth(req, response)
File "special://xbmc/system/python/Lib\urllib2.py", line 471, in http_response
response = self.parent.error(
File "special://xbmc/system/python/Lib\urllib2.py", line 402, in error
return self._call_chain(*args)
File "special://xbmc/system/python/Lib\urllib2.py", line 337, in _call_chain
result = func(*args)
File "special://xbmc/system/python/Lib\urllib2.py", line 480, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 401: Unauthorized
16:59:23 T:7104 M:1991458816 WARNING: Failed to find previously selected audio sink
16:59:29 T:7104 M:2003439616 NOTICE: Enabled debug logging due to GUI setting. Level 2.

I am a Pandora One subscriber and verified I have entered my username / password correctly in the add on settings.

Thanks in advance for any advice.


- TrupaJay - 2010-11-03

S1naps1s Wrote:Ok, sorry about that, I was just reading the end of his log. I am getting this:
Code:
13:05:50 T:2839473008 M:1641517056  NOTICE:   File "/home/xbmc/.xbmc/plugins/music/SCRIPT.XBMC.PANDORA/default.py", line 6, in ?
13:05:50 T:2839473008 M:1641517056  NOTICE: import xbmcaddon
13:05:50 T:2839473008 M:1641517056  NOTICE: ImportError
13:05:50 T:2839473008 M:1641517056  NOTICE: :
13:05:50 T:2839473008 M:1641517056  NOTICE: No module named xbmcaddon
13:05:50 T:2839473008 M:1641517056   ERROR: Scriptresult: Error
13:05:50 T:3079358352 M:1641701376   ERROR: GetDirectory - Error getting plugin://music/SCRIPT.XBMC.PANDORA/
13:05:50 T:3079358352 M:1641701376   ERROR: CGUIMediaWindow::GetDirectory(plugin://music/SCRIPT.XBMC.PANDORA/) failed
I keep getting the "No module named xbmcaddon"

It is there, I don't know why it wont work....


I'm getting the same error. There is no addons folder, just a scripts folder in my XBMC directory. Running the latest version of XBMC and of the script. Any help would be appreciated.


- isamu.dragon - 2010-11-03

TrupaJay Wrote:I'm getting the same error. There is no addons folder, just a scripts folder in my XBMC directory. Running the latest version of XBMC and of the script. Any help would be appreciated.

Camalot or Dharma?


- TrupaJay - 2010-11-03

Dharma


- isamu.dragon - 2010-11-03

TrupaJay Wrote:Dharma

You update from Camalot before using Dharma?

if so, that's your problem


- Jopplehead - 2010-11-05

This plugin stopped working for me on the xbox tonight right after playing a song. I can no longer get it to authenticate again like before after rebooting and re-entering the correct user/pass. Is this plugin broke again or am I alone on this one?


- renfrja - 2010-11-06

Jopplehead Wrote:This plugin stopped working for me on the xbox tonight right after playing a song. I can no longer get it to authenticate again like before after rebooting and re-entering the correct user/pass. Is this plugin broke again or am I alone on this one?

Not alone - I'm getting the same error. The log is showing this message:

Code:
org.apache.xmlrpc.XmlRpcException: 000.000.000.000|0|INCOMPATIBLE_VERSION|Pandora does not support your client version

pandora.py has:
Code:
PROTOCOL_VERSION=28