[RELEASE] Pandora Radio (Script) Music Addon (Updated 2011-11-13 : V1.2.8)

  Thread Rating:
  • 10 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
m_lopez_h Offline
Member
Posts: 63
Joined: Jul 2004
Reputation: 0
Post: #11
Script works great! One question, how do you exit from the script? I haven't been able to exit with the script with the remote control (I'm using an AppleTV).
find quote
viking2003 Offline
Junior Member
Posts: 5
Joined: Aug 2009
Reputation: 0
Post: #12
Hi:

I followed the direction to copy the 2 key_input.h and key_output.h files. But the script starts with prompting for a username / password when I press Yes to enter the username and passworh the script fails with following error log - Any help

Thanks

14:06:26 T:2496 M:2595434496 NOTICE: load default skin:[Confluence]
14:06:28 T:2496 M:2586779648 NOTICE: initialize done
14:06:28 T:2496 M:2586779648 NOTICE: Running the application...
14:06:28 T:2496 M:2586759168 NOTICE: ES: Starting event server
14:06:28 T:2776 M:2586734592 NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
14:06:28 T:2776 M:2586681344 NOTICE: UDP: Listening on port 9777
14:06:34 T:2792 M:2560634880 NOTICE: -->Python Interpreter Initialized<--
14:06:39 T:2792 M:2557767680 ERROR: Error Type: exceptions.AttributeError
14:06:39 T:2792 M:2557767680 ERROR: Error Contents: Panda instance has no attribute 'gui'
14:06:39 T:2792 M:2557767680 ERROR: Traceback (most recent call last):
File "C:\Documents and Settings\xxx\Application Data\XBMC\scripts\Pandora\default.py", line 115, in ?
panda = Panda()
find quote
spbogie Offline
Skilled Python Coder
Posts: 124
Joined: Oct 2009
Reputation: 5
Post: #13
@m_lopez_h,
It should currently exit with either the Back button, or with the Esc key. What button do you typically go back with?

@viking2003
Sorry about that, thought I fixed that one already. New download up.
(This post was last modified: 2010-03-26 00:13 by spbogie.)
find quote
m_lopez_h Offline
Member
Posts: 63
Joined: Jul 2004
Reputation: 0
Post: #14
If I run XBMC on my PC then yes...I can exit with the <esc> key or <back> button. However, when running on the AppleTV all I have is the remote control (so no access to esc or back keys). All other scripts exit with the <menu> key.

Is it possible to add <menu> keypress to exit the script?

BTW, very cool script!
find quote
spbogie Offline
Skilled Python Coder
Posts: 124
Joined: Oct 2009
Reputation: 5
Post: #15
Ok, try that.

I really need to come up with a better way to handle this than repacking a new zip for every change. Will probably set up a repo on github tomorrow or something.
find quote
m_lopez_h Offline
Member
Posts: 63
Joined: Jul 2004
Reputation: 0
Post: #16
Just tested out the Beta4 version. I am now able to exit the script with the <menu> key. Thanks for making the change...
find quote
soundisgood Offline
Junior Member
Posts: 4
Joined: Mar 2010
Reputation: 0
Post: #17
Thanks for your work on this script and I'm really looking forward to using it. Problem is I'm getting an error on launch. The log file reads:

21:02:56 T:2272 M:520278016 NOTICE: -->Python Interpreter Initialized<--
21:02:57 T:2272 M:517238784 NOTICE: Traceback (most recent call last):
21:02:57 T:2272 M:517238784 NOTICE: File "C:\Documents and Settings\Revo Inc\Application Data\XBMC\scripts\Pandora\default.py", line 3, in ?
21:02:57 T:2272 M:517238784 NOTICE: from libpandora.pandora import Pandora
21:02:57 T:2272 M:517238784 NOTICE: File "C:\Documents and Settings\Revo Inc\Application Data\XBMC\scripts\Pandora\libpandora\pandora.py", line 5, in ?
21:02:57 T:2272 M:517234688 NOTICE: import crypt
21:02:57 T:2272 M:517234688 NOTICE: File "C:\Documents and Settings\Revo Inc\Application Data\XBMC\scripts\Pandora\libpandora\crypt.py", line 2, in ?
21:02:57 T:2272 M:517230592 NOTICE: import keys
21:02:57 T:2272 M:517230592 NOTICE: File "C:\Documents and Settings\Revo Inc\Application Data\XBMC\scripts\Pandora\libpandora\keys.py", line 14, in ?
21:02:57 T:2272 M:517226496 NOTICE: key_out = KeyFile( "crypt_key_output.h" )
21:02:57 T:2272 M:517226496 NOTICE: File "C:\Documents and Settings\Revo Inc\Application Data\XBMC\scripts\Pandora\libpandora\keys.py", line 6, in __init__
21:02:57 T:2272 M:517226496 NOTICE: ( n, p, s ) = pianoparser.parse_file( fname )
21:02:57 T:2272 M:517226496 NOTICE: File "C:\Documents and Settings\Revo Inc\Application Data\XBMC\scripts\Pandora\libpandora\pianoparser.py", line 20, in parse_file
21:02:57 T:2272 M:517222400 NOTICE: n = int( re.search( "_key_n = (\d*)", i ).group(1) )
21:02:57 T:2272 M:517222400 NOTICE: AttributeError
21:02:57 T:2272 M:517222400 NOTICE: :
21:02:57 T:2272 M:517222400 NOTICE: 'NoneType' object has no attribute 'group'
21:02:57 T:2272 M:517222400 ERROR: Scriptresult: Error


I look forward to any help you might be able to provide. I have tried it with two computers and had no luck on either PC.

Thanks.
find quote
jqpublic13 Offline
Junior Member
Posts: 6
Joined: Mar 2010
Reputation: 0
Post: #18
I love the script; it's great to merge Pandora with XBMC.

Is there a way to minimize the Pandora window while it's playing so I can keep full-screen visualizations? When I run this on my computer (and not just my LCD TV), I'm a bit worried about burn-in on the screen...

Thanks again!
find quote
spbogie Offline
Skilled Python Coder
Posts: 124
Joined: Oct 2009
Reputation: 5
Post: #19
soundisgood,
Looks like it's having trouble parsing the key files. Try re-downloading them (actually download, not copy/paste). If that doesn't help, you should be able to catch me idling in irc, send me a pm and we'll see if we can't fix it.

jqpublic13,
Just sparked a very interesting idea for that. I'll play with it and see what I can come up with.
find quote
bcre3306 Offline
Junior Member
Posts: 3
Joined: Mar 2010
Reputation: 0
Post: #20
I'm loving this! This was my missed feature for XBMC. My only problem I am having with this is when I exit the script then try to go back in it will crash XBMC on my ATV. Anyone else having this issue?

Thanks!!!
find quote
Post Reply