Pandora Script??

Requests, suggestions, support, and everything else python / plugin related.
dgg
Posts: 3
Joined: Sun Jul 08, 2012 9:24 pm

Pandora Script??

Post by dgg »

I was just wondering if anyone knows of a working Pandora Script for XBMC? I know there was one at one point, but it was broken by a pandora update a few years back and doesn't seem to have ever been fixed. Anybody have a working version?
psychotron
Posts: 82
Joined: Fri Jul 06, 2012 5:43 am
Has thanked: 10 times
Been thanked: 1 time

Re: Pandora Script??

Post by psychotron »

We had someone trying to fix this on the other board,... but to my knowledge no one has fixed this for the XBOX. I am hoping it gets fixed also... but since I don't know python I am at the mercy of those that do. Hopefully this will get fixed as I enjoy it also. If there was a Slacker radio plugin or Lastfm Plugin these would be good replacements.
skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Re: Pandora Script??

Post by skatulskijean »

Ok !
Have download the last Pandora script from git and have all errors fixed what i can fix without account!
please test !
https://dl.dropbox.com/u/83714583/Pandora.zip
unzip and ftp it to q /scripts/ and make your settings
When it works is fine when not give a debug log
http://www.xbmc4xbox.org.uk/forum/viewtopic.php?f=4&t=8
look here , why and for XBMC Log Uploader for easy upload

without log i can not help

alternate you can use the radio addon from sphere from xbmcswiftfork!

Regards Jan
psychotron
Posts: 82
Joined: Fri Jul 06, 2012 5:43 am
Has thanked: 10 times
Been thanked: 1 time

Re: Pandora Script??

Post by psychotron »

Jan,

Thanks so much for the help and working on this :)

I just tried the script. Unfortun\enately it is not logging in. Here is my log file:

http://pastebin.com/WNFjjdFa

Thanks again!
skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Re: Pandora Script??

Post by skatulskijean »

@psychotron

please delete on q/scripts/pandora/pandora/ pandora.py and copy the new here
https://dl.dropbox.com/u/83714583/pandora.py

And run it again
will it not works give me a new debug log

changes what i make for the old changed changed pandora.py from me to new pandora.py from me:
import socket
and change to response = self.opener.open(req,socket.setdefaulttimeout(30))
req,timeout on python 2.4 will not work and with socket.setdefaulttimeout(30) have we the same result!



Regards Jan
psychotron
Posts: 82
Joined: Fri Jul 06, 2012 5:43 am
Has thanked: 10 times
Been thanked: 1 time

Re: Pandora Script??

Post by psychotron »

Maybe getting closer. This time I actually get "Unable to authenticate listener" error. No script error but not accepting my login. Pasetbin below:

http://pastebin.com/maj9QbuE

Thanks!
skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Re: Pandora Script??

Post by skatulskijean »

Round 3

please unzip and copy my adapted scriptmodule.mechanize to q/scripts/.modules/
https://dl.dropbox.com/u/83714583/scrip ... hanize.zip

please delete on q/scripts/pandora/pandora/ pandora.py and copy the new here
https://dl.dropbox.com/u/83714583/pandora.py

please look again

and give a debug log


Regards Jan
harperhawk
Posts: 4
Joined: Tue Jul 10, 2012 7:14 pm

Re: Pandora Script??

Post by harperhawk »

thank you for working on this. if you all need any help let me know
psychotron
Posts: 82
Joined: Fri Jul 06, 2012 5:43 am
Has thanked: 10 times
Been thanked: 1 time

Re: Pandora Script??

Post by psychotron »

Still no luck. Same error showing up "Unable to Authenticate listener".

http://pastebin.com/CSHLjqgb

Thanks.
skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Re: Pandora Script??

Post by skatulskijean »

psychotron wrote:Still no luck. Same error showing up "Unable to Authenticate listener".

http://pastebin.com/CSHLjqgb

Thanks.
Psychotron have you PC?
When yes, please install main XBMC on it (Eden)
http://xbmc.org/download/

you must have a internet on Pc!
https://dl.dropbox.com/u/83714583/xbmc- ... pithos.zip
Than install this Pandora script on your XBMC on Pc go to system /settings /addons and install from zip andinstall the downloadet script
Is install Finish go to Musik / musik addons and make the settings (you login)
And run it
Say works or not!


Regards Jan
psychotron
Posts: 82
Joined: Fri Jul 06, 2012 5:43 am
Has thanked: 10 times
Been thanked: 1 time

Re: Pandora Script??

Post by psychotron »

Will this work on Linux PC?

I am currently running Linux Mint. If this must be a windows PC It will be a while before I get back to you. Thanks!
skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Re: Pandora Script??

Post by skatulskijean »

I have main XBMC(Eden) on Linux installed , you must look for a package for your linux distro.
I test all Addons What i adapt first Time on This and when it works i adapt it for XBMC4XBOX!
Many Addons can i not test on Germany and when anywhere will that have is better he looks on main xbmc and can say it works or not!

Here is a link for install main xbmc on Linux Mint Lisa , i hope this help!
http://www.noobslab.com/2012/03/install ... -lisa.html
psychotron
Posts: 82
Joined: Fri Jul 06, 2012 5:43 am
Has thanked: 10 times
Been thanked: 1 time

Re: Pandora Script??

Post by psychotron »

Thank you :)

I am a noob on linux so this was a real treat giveing me the install terminal commands. I actually installed using the same commands in linux 13 xcfe. I am very surprised how very well it runs in linux compared to windows. VERY fast!

Please give me tonight after work to give pandora a go and I will keep you posted on the results of the run.

Thanks again for all your help. :D
psychotron
Posts: 82
Joined: Fri Jul 06, 2012 5:43 am
Has thanked: 10 times
Been thanked: 1 time

Re: Pandora Script??

Post by psychotron »

Hi Jan,

The Pandora script works perfect in EDEN XBMC.
skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Re: Pandora Script??

Post by skatulskijean »

Ok ,Fine!
Please Give me a debug Log from the working XBMC Eden Version!
Best is to install The XBMC Log Uploader on XBMC Eden.
Go To System- Settings - Addons - Get - Add -ons - XBMC.org addons - Program Add-ons - XBMC Log Uploader( is that what i have adapted for xbox to) - and install it.
Make the settings on XBMC Log Uploader for you Email account and post the debug log .ok.
when you interessted the log on xbmc Eden on Linux is on home /Name from your linux account (with what you Login)/.xbmc / temp.!
Go to home//Name from your linux account (is the name with what you Login on Linux)/.xbmc /userdata/addon_data/ and look for
script.pandora Folder and FtP it to Q/userdata/addon_data/ before you this do rename the Folder what is on xbox to script.pandora0.
restart the xbox and look it works .
when not , post the debug log from the xbox and the debug log from working xbmc eden addon without your account settings.
zip the main xbmc userdata/adon_data/script.pandora upload and give me a private downloadlink and i look again why is on xbmc4xbox not work!

When you on main xbmx see a addon or script what you think is nice to have it on xbox to Post the name of the addon or script on this thread http://www.xbmc4xbox.org.uk/forum/viewt ... p?f=7&t=53 and i look i can it adapt!
This is what i have make with all the addons on Jan'sEnglish and German XBMC4XBOX

Regards Jan :D
psychotron
Posts: 82
Joined: Fri Jul 06, 2012 5:43 am
Has thanked: 10 times
Been thanked: 1 time

Re: Pandora Script??

Post by psychotron »

OK. Here is the log:

http://xbmclogs.com/show.php?id=4969

Thanks!

I am not sure what uploads you want now. Do you want my zipped Pandora XBMC4XBOX script uploaded from the xbox or the "settings.xml" file that was inside the user data folder?
skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Re: Pandora Script??

Post by skatulskijean »

Hi Psychotron i wanted that you upload the script.Pandora Folder from UserData /addon_data from your xbmc on Linux install.
psychotron
Posts: 82
Joined: Fri Jul 06, 2012 5:43 am
Has thanked: 10 times
Been thanked: 1 time

Re: Pandora Script??

Post by psychotron »

OK. Will do shortly . :)
skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Re: Pandora Script??

Post by skatulskijean »

@psychotron

any news ? ;)
psychotron
Posts: 82
Joined: Fri Jul 06, 2012 5:43 am
Has thanked: 10 times
Been thanked: 1 time

Re: Pandora Script??

Post by psychotron »

Post Reply