![]() |
|
|||||||
| Plugin/Script (Python) Help and Support Python requests/suggestions, support, bugs, and everything python goes in here! Please, add platform prefix to threads that are not platform-independent!: Thread prefixes; "[LINUX]", "[LIVE]", "[MAC]", and "[WINDOWS]" |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Member
Join Date: Oct 2009
Posts: 53
![]() |
UPDATE (2010-08-03): As of commit 2d7edb1 the script has been updated to work with the new addons framework. Installations instructions have been updated. If you are still using 9.11 Camelot then stick with 4e4b37e and follow the instructions included in the README.
Song rating and info buttons don't do anything yet, but everything else should work. ![]() 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 - Get latest script source from gitorious repo (git clone, or click source tree -> download master as tar.gz) - Place the script folder in <xbmc profile>/addons/ and name it script.xbmc.pandora. - Go to the pianobar project's github page (link in credits above). - Under libpiano/src/ download both of the encryption key files. (Make sure you click RAW and download the actual file) - Place both files in the script.xbmc.pandora directory. Download: Gitorious project page Master branch latest revision (download on right (.tar.gz)) Commit 4e4b37e (If you're still on 9.11 Camelot stick with this) Outside the US? Please try the proxy branch and let me know if it works for you. (Set xbmc's http proxy and it will pull the settings from there.) Now go enjoy some music and give me feedback ![]() 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. Last edited by spbogie; 2010-08-04 at 04:13. |
|
|
|
|
|
#2 |
|
Member
Join Date: Oct 2009
Posts: 53
![]() |
I've taken the download down temporarily. Found some issues upon further testing.
I'm also starting to question whether I should actually release this considering the way it accesses Pandora using non-public api calls... I don't want to get sued... |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jan 2009
Posts: 230
![]() |
I really hope to see this... it looks great, and I would love to use it in XBMC
__________________
XBMC (Camelot), Mac Mini w/ 2 GHz processor w/ 4 GB of Ram & Harmony = HTPC Greatness |
|
|
|
|
|
#4 | |
|
Senior Member
Join Date: Nov 2008
Posts: 111
![]() |
Quote:
Plus, I don't think using non-public API calls is illegal, is it? Look at the whole Hulu/Boxee debacle a few months ago -- I don't think Hulu ever considered legal action, only technical barriers. I'm sure if they had a legal case, they would've pursued it. |
|
|
|
|
|
|
#5 |
|
Member
Join Date: Oct 2009
Posts: 53
![]() |
New download up
. I believe I've fixed the issues that were causing it to stop playing randomly (stupid mistake on my part )Installation has become slightly more involved, but it affords me a bit of piece of mind. Instructions in the first post (should be fairly self-explanatory.) |
|
|
|
|
|
#6 |
|
Skilled Python Coder
Join Date: Jun 2007
Posts: 553
![]() |
wow, thanks. Great work.
__________________
|
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Mar 2010
Posts: 3
![]() |
Thanks, will have to wait until I get home from work to try it out, but will report back asap
![]() Really excited about this... |
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Mar 2010
Posts: 2
![]() |
Hello,
Thank you for working on this! Having some issues with the latest SVN: Code:
10:54:21 T:2958064496 M:1606062080 INFO: -->Python script returned the following error<--
10:54:21 T:2958064496 M:1606062080 ERROR: Error Type: <type 'exceptions.TypeError'>
10:54:21 T:2958064496 M:1606062080 ERROR: Error Contents: Required argument 'uuid' (pos 1) not found
10:54:21 T:2958064496 M:1606062080 ERROR: Traceback (most recent call last):
File "/home/theater/.xbmc/scripts/Pandora/default.py", line 115, in <module>
panda = Panda()
File "/home/theater/.xbmc/scripts/Pandora/default.py", line 22, in __init__
self.settings = xbmc.Settings( path=scriptPath )
TypeError: Required argument 'uuid' (pos 1) not found
10:54:21 T:2958064496 M:1606062080 INFO: -->End of Python script error report<--
-keller999 |
|
|
|
|
|
#9 |
|
Member
Join Date: Oct 2009
Posts: 53
![]() |
keller999,
As the addon branch is merged into SVN, there are going to be a number of changes potentially breaking existing scripts. This script was written for the pre-merge xbmc python bindings. Once everything is settled with the merge and new python docs released, I will adjust it accordingly. |
|
|
|
|
|
#10 | |
|
Junior Member
Join Date: Mar 2010
Posts: 2
![]() |
Quote:
-keller999 |
|
|
|
|
![]() |
| Bookmarks |
| Tags |
| pandora |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|