Board index   FAQ   Search  
  Login

PLEASE VISIT OUR NEW FORUMS FOR FUTURE POSTING. THIS FORUM REMAINS ONLINE FOR ARCHIVE PURPOSES ONLY.

Board index MUSIC ADD-ONS

Pandora Radio

All Music Add-Ons. Click here to peruse our content in alphabetical order. If you like the work, make sure you ask the developer about donating.

Pandora Radio

Postby umOuch[INKMD] » Thu Jan 05, 2012 3:45 am

[RELEASE] [*]Pandora Radio (Script) Music Addon


Credits:

Code:
- TWC Supplemental by Nuka1195
Used extensively as a reference for building the GUI.
Borrowed a few images for initial testing release.

- pianobar
Copyright (c) 2008-2010 Lars-Dominik Braun <PromyLOPh@lavabit.com>
http://github.com/PromyLOPh/pianobar | http://6xq.net/html/00/17.html
Uses as early reference for parts of the pandora protocol.

- jurmb84
Modified existing script to work with new xbmc addon framework.

- smorloc
Modified script to include like/dislike/tired functionality; additional
addon settings;layout changes

- htpc_guy
Android-like skin

Download:

(MediaFire)

Now go enjoy some music and give me feedback

Please use a pastebin service when posting logs to reduce clutter in the thread. Thank you. (Plenty to choose from, take your pick)

P.S. Please remember that Pandora needs to pay royalties for the music they play, and it's the ads which they show on their site that allow them to do so. If you intend to use this script extensively please consider upgrading to a Pandora One account to support them and keep the music flowing. You may also wish to use a separate account for this script just in case they decide to start disabling accounts or something, don't want to loose all your stations and such.
umOuch[INKMD]
Site Admin
 
Posts: 821
Joined: Tue Jan 03, 2012 10:41 pm

Re: Pandora Radio

Postby bg762 » Sat Jan 21, 2012 12:31 pm

Is the 1.2.9 plugin down as of 1/21/2012 or is it just me.

Was working this morning then stopped.
Rebooted and still won't allow for me to select a channel.

Yet another update?
bg762
 
Posts: 5
Joined: Sat Jan 21, 2012 12:27 pm

Re: Pandora Radio version 1.2.9 not working

Postby bg762 » Sun Jan 22, 2012 2:11 pm

OK I posted wondering if it was down.

Interesting problem, I am running 1.2.9 however line 112 of the pandora.py file looks reverted back to the older version that created problems with https.

Edited the line manually and everything works again.
Strange....
bg762
 
Posts: 5
Joined: Sat Jan 21, 2012 12:27 pm

Re: Pandora Radio

Postby umOuch[INKMD] » Sun Jan 22, 2012 5:06 pm

Want to post e exact fix for me?
umOuch[INKMD]
Site Admin
 
Posts: 821
Joined: Tue Jan 03, 2012 10:41 pm

Re: Pandora Radio

Postby bg762 » Sun Jan 22, 2012 11:20 pm

I have posted my pandora.py up on 2shared.
It has the edited line 112 already in it.
Replace your pandora.py located in:

C:\Users\??????\AppData\Roaming\XBMC\addons\script.xbmc.pandora\libpandora

This should solve it.
What is strange is that it was working and then stopped like the plugin updated it's self and reverted back some how on it's own...

http://www.2shared.com/file/Gaq097e_/pandora.html
bg762
 
Posts: 5
Joined: Sat Jan 21, 2012 12:27 pm

Re: Pandora Radio

Postby bg762 » Thu Jan 26, 2012 12:38 am

To patch the 1.2.9 version to make it work again.

Use a text editor such as jedit to edit your pandora.py located in:

C:/Users/????/AppData/Roaming/XBMC/addons/script.xbmc.pandora/libpandora/pandora.py

When in jedit click on view and turn on numbering so it's easier to find the line.

On line 112 you will see:

reqUrl = BASE_URL_LID %( self.rid, self.lid, "getFragment" )

This needs to be:

reqUrl = BASE_URL_LID.replace("https", "http") %( self.rid, self.lid, "getFragment" )

Highlight and paste the updated text and save updated pandora.py file.

This should work.
Still not sure how mine got changed back to the old line 112 text after a few days of using.

Using Eden 11.0 beta - Windows 7
bg762
 
Posts: 5
Joined: Sat Jan 21, 2012 12:27 pm

Re: Pandora Radio

Postby bg762 » Mon Jan 30, 2012 11:21 am

I have a question about the current plugin and how it is dealing with Invalid auth token.
It looks like the system needs to be re authenticated after a number of hours of playing.

It's not like this is a huge problem as the fix is just to exit the plugin and restart the plugin.
However in the Pianobar plugin there has been a fix implemented where if the system sees invalid auth token it re authenticates it's self.

An example of the Pianobar fix is here:

https://github.com/PromyLOPh/pianobar/c ... b12492e284

I'm not sure who wrote the last version of the plugin but it may be worth adding in this fix to the plugin.
bg762
 
Posts: 5
Joined: Sat Jan 21, 2012 12:27 pm

Re: Pandora Radio

Postby umOuch[INKMD] » Tue Jan 31, 2012 3:21 pm

Hopefully one of our great devs will see this and give it a look.
umOuch[INKMD]
Site Admin
 
Posts: 821
Joined: Tue Jan 03, 2012 10:41 pm

Re: Pandora Radio

Postby bg762 » Mon Mar 26, 2012 2:06 pm

Update...

A new version (V1.2.10) of the script has been posted to:

http://www.mediafire.com/?ms6n3hmy5f7652k

This update does not need any modifying to work just your acct info.

Enjoy
bg762
 
Posts: 5
Joined: Sat Jan 21, 2012 12:27 pm

Re: Pandora Radio Question

Postby kopterdr » Tue Apr 17, 2012 5:23 pm

Working good now, I really like it with convergenace running the slide show automaticly!

Thanks for all the good work !

Now the purpose of my post. Sorry for not digging around the posts on this and other sites, but I am wondering if there has been or is any thoughts for adding Multiple account features to this add in? I.e. selecting which account to start when starting the add on?

Thanks again for everyones hard work on this and all addons!
kopterdr
 
Posts: 6
Joined: Wed Feb 29, 2012 8:48 pm

Next

Return to MUSIC ADD-ONS



Who is online

Users browsing this forum: No registered users and 0 guests