Page 1 of 4

Pandora Script??

Posted: Sun Jul 08, 2012 9:31 pm
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?

Re: Pandora Script??

Posted: Mon Jul 09, 2012 3:47 am
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.

Re: Pandora Script??

Posted: Mon Jul 09, 2012 9:38 am
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

Re: Pandora Script??

Posted: Mon Jul 09, 2012 12:47 pm
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!

Re: Pandora Script??

Posted: Mon Jul 09, 2012 1:20 pm
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

Re: Pandora Script??

Posted: Tue Jul 10, 2012 4:07 am
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!

Re: Pandora Script??

Posted: Tue Jul 10, 2012 2:47 pm
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

Re: Pandora Script??

Posted: Tue Jul 10, 2012 7:20 pm
by harperhawk
thank you for working on this. if you all need any help let me know

Re: Pandora Script??

Posted: Wed Jul 11, 2012 1:24 am
by psychotron
Still no luck. Same error showing up "Unable to Authenticate listener".

http://pastebin.com/CSHLjqgb

Thanks.

Re: Pandora Script??

Posted: Wed Jul 11, 2012 8:54 am
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

Re: Pandora Script??

Posted: Thu Jul 12, 2012 12:01 am
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!

Re: Pandora Script??

Posted: Thu Jul 12, 2012 6:34 am
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

Re: Pandora Script??

Posted: Thu Jul 12, 2012 12:38 pm
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

Re: Pandora Script??

Posted: Fri Jul 13, 2012 12:13 am
by psychotron
Hi Jan,

The Pandora script works perfect in EDEN XBMC.

Re: Pandora Script??

Posted: Fri Jul 13, 2012 8:09 am
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

Re: Pandora Script??

Posted: Sat Jul 14, 2012 3:21 pm
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?

Re: Pandora Script??

Posted: Sun Jul 15, 2012 8:39 am
by skatulskijean
Hi Psychotron i wanted that you upload the script.Pandora Folder from UserData /addon_data from your xbmc on Linux install.

Re: Pandora Script??

Posted: Sun Jul 15, 2012 2:10 pm
by psychotron
OK. Will do shortly . :)

Re: Pandora Script??

Posted: Wed Jul 18, 2012 8:26 am
by skatulskijean
@psychotron

any news ? ;)

Re: Pandora Script??

Posted: Thu Jul 19, 2012 4:30 am
by psychotron