[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
Chon_Lee Offline
Junior Member
Posts: 2
Joined: Apr 2010
Reputation: 0
Post: #41
Code:
02:02:18 M: 37687296  NOTICE: -->Python Initialized<--
02:02:21 M: 33914880   ERROR: Error Type: exceptions.AttributeError
02:02:21 M: 33914880   ERROR: Error Contents: 'NoneType' object has no attribute 'group'
02:02:21 M: 33914880   ERROR: Traceback (most recent call last):
                                              File "Q:\scripts\Pandora\default.py", line 3, in ?
                                                from libpandora.pandora import Pandora
                                              File "Q:\scripts\Pandora\libpandora\pandora.py", line 5, in ?
                                                import crypt
                                              File "Q:\scripts\Pandora\libpandora\crypt.py", line 2, in ?
                                                import keys
                                              File "Q:\scripts\Pandora\libpandora\keys.py", line 14, in ?
                                                key_out = KeyFile( "crypt_key_output.h" )
                                              File "Q:\scripts\Pandora\libpandora\keys.py", line 6, in __init__
                                                ( n, p, s ) = pianoparser.parse_file( fname )
                                              File "Q:\scripts\Pandora\libpandora\pianoparser.py", line 20, in parse_file
                                                n = int( re.search( "_key_n = (\d*)", i ).group(1) )
                                            AttributeError: 'NoneType' object has no attribute 'group'

Throwing this error for me on the xbox... using the latest T3CH SVN build "T3CH XBMC 2010-03-10 SVN rev28472"
find quote
mlrtime3 Offline
Junior Member
Posts: 22
Joined: May 2007
Reputation: 0
Post: #42
Started up quick for me...

You have to download crypt*.h files from

http://github.com/PromyLOPh/pianobar/tre...piano/src/

You can use wget, but you have to click the 'raw' link at the top right.
find quote
Necromancyr Offline
Senior Member
Posts: 209
Joined: Jan 2009
Reputation: 0
Post: #43
mlrtime3, I did that as well - seems it might be an xbox related issue is occuring.
find quote
kidprimo. Offline
Junior Member
Posts: 24
Joined: Apr 2010
Reputation: 0
Post: #44
So Pandora is region sensitive (ie. non-accessible outside of the US). As I fall in the sensitive region category of things, you guys think this script'll work for me?

thanks,
find quote
bac522 Offline
Member
Posts: 84
Joined: Mar 2010
Reputation: 0
Post: #45
kidprimo. Wrote:So Pandora is region sensitive (ie. non-accessible outside of the US). As I fall in the sensitive region category of things, you guys think this script'll work for me?

thanks,

No and right now the script doesn't support a proxy (which would have to be US based).
find quote
spbogie Offline
Skilled Python Coder
Posts: 124
Joined: Oct 2009
Reputation: 5
Post: #46
I've created a gitorious project for this script at http://gitorious.org/xbmc-pandora. Everyone can grab the latest reversion from there packed up as as a tar.gz file so I won't have to pack up a new zip every time I fix something any more.

I've pushed fixes for the album art and crashing on second start, and added a few dialogs to be a little more verbose.
find quote
kidprimo. Offline
Junior Member
Posts: 24
Joined: Apr 2010
Reputation: 0
Post: #47
bac522 Wrote:No and right now the script doesn't support a proxy (which would have to be US based).

I also know that CartoonNetwork is another one that's region sensitive, but via Navi-x the stream is a-okay. Thoughts?
find quote
Chon_Lee Offline
Junior Member
Posts: 2
Joined: Apr 2010
Reputation: 0
Post: #48
Sweet... Updated to the latest version from the repo, then like everyone else realized that the crypt files must be copied and pasted... when direct downloaded they include a bunch of html crap that shouldn't be in the file... like...
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="chrome=1">
        <title>libpiano/src/crypt_key_input.h at master from PromyLOPh's pianobar - GitHub</title>
    <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub" />
    <link rel="fluid-icon" href="http://github.com/fluidicon.png" title="GitHub" />

    <link href="http://assets0.github.com/stylesheets/bundle_common.css?501ce6bf650b95b753c6fc4e0bf761c1e07d1a1c" media="screen" rel="stylesheet" type="text/css" />
<link href="http://assets3.github.com/stylesheets/bundle_github.css?501ce6bf650b95b753c6fc4e0bf761c1e07d1a1c" media="screen" rel="stylesheet" type="text/css" />

    <script type="text/javascript" charset="utf-8">
      var GitHub = {}
      var github_user = null
      
    </script>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
    <script src="http://assets2.github.com/javascripts/bundle_common.js?501ce6bf650b95b753c6fc4e0bf761c1e07d1a1c" type="text/javascript"></script>
<script src="http://assets2.github.com/javascripts/bundle_github.js?501ce6bf650b95b753c6fc4e0bf761c1e07d1a1c" type="text/javascript"></script>

        <script type="text/javascript" charset="utf-8">
      GitHub.spy({
        repo: "PromyLOPh/pianobar"
      })
    </script>

So click through the file and copy and paste the actual text from the raw into files named as such.

Once I had all that squared away the script worked superb! :thumbsup:
(This post was last modified: 2010-04-11 11:29 by Chon_Lee.)
find quote
spbogie Offline
Skilled Python Coder
Posts: 124
Joined: Oct 2009
Reputation: 5
Post: #49
You have to use the "raw" link when downloading to get the actual file.
find quote
Swwethip1 Offline
Senior Member
Posts: 106
Joined: Sep 2008
Reputation: 0
Post: #50
is there away to place the pandora icon on the home page, rather then going into scripts\Pandora.

Im using the Rapier skin
find quote
Post Reply