![]() |
Re: [application] pyRadio (Pandora)
Did this just start today? Is it a new problem?
|
Re: [application] pyRadio (Pandora)
I was running as user, not root.
I'll do it again and see what happens |
Re: [application] pyRadio (Pandora)
Quote:
But seriously, how frakkin' often does Pandora change it's login protocols? How the heck can all of the other Pandora apps keep working without constantly pushing updated login API compliant code to peoples devices??? |
Re: [application] pyRadio (Pandora)
Quote:
The rest of us have to figure it out after the fact. When you say 'all the other pandora apps' what are you talking about? The only ones I can think are the 'official' apps and thats because Pandora can fix them before they break them. Every single problem I've faced was also faced by pianobar and spbogie's XBMC modules. Pandora changes something which breaks us, and one of us (almost always pianobar's author) will reverse engineer the problem from pandora's own flash sources and put them into his code and the rest of wait until thats updated and fix our stuff. Now.. I don't follow pianobar's source code every day even when I was maintaining this properly. So i waited until either my app stopped working, or one of you reported a bug, before going to pianobar and looking to see what he's changed/fixed and updating that one problem. But I don't comb through the whole source tree to see *all* changes (that's how things like thumbs up/down get broken sometimes because I missed it.) |
Re: [application] pyRadio (Pandora)
If I run pyRadio as user in the terminal this is what I see in the terminal:
~ $ /opt/pyRadio/pyRadio.py ~ $ The program opens and I can see my stations, but, nothing plays. If I run as root here is what is displayed on the terminal: BusyBox v1.6.1 (2008-09-18 09:43:17 EEST) Built-in shell (ash) Enter 'help' for a list of built-in commands. Nokia-N810-43-7:~# /opt/pyRadio/pyRadio.py RX-44 PANDORA: Loading key from file "/opt/pyRadio/libpiano/key_in" could not autorotate on PANDORA: Downloading key from url "https://raw.github.com/PromyLOPh/pianobar/master/src/libpiano/crypt_key_input.h" PANDORA: Loading key from file "/opt/pyRadio/libpiano/key_out" PANDORA: Downloading key from url "https://raw.github.com/PromyLOPh/pianobar/master/src/libpiano/crypt_key_output.h" PANDORA: Saving keys PANDORA: dataDir = "/opt/pyRadio/libpiano/" PANDORA: dataDir.isDir? TrueRadio Started. INCOMPATIBLE VERSION DETECTED, BUMPING. INCOMPATIBLE VERSION DETECTED, BUMPING. Before the program is opened I get prompts for my username and password. The program then opens and I can see my stations but nothing plays. I have an n810 with pyRadio version 4.7 and I can't remember if it came from the extras or the extras devel repository right now but the behavior is the same (except once after a long long time after I had quit trying to use it and doing something else it did play one time. I know that time it was the file from devel. |
Re: [application] pyRadio (Pandora)
i ran my pyradio from root and got this
Code:
home/user # /opt/pyRadio/pyRadio.py |
Re: [application] pyRadio (Pandora)
i try it again and i got this
Nokia-N900:~# /opt/pyRadio/pyRadio.py RX-51 PANDORA: Loading key from file "/opt/pyRadio/libpiano/key_in" PANDORA: Loading key from file "/opt/pyRadio/libpiano/key_out" Radio Started. ('found new MAFW renderer %s', 'Mafw-Gst-Renderer') using MAFW Gst-Renderer MAFW PROPERTY RECEIVED 8352704 volume 9851176 <ctypes.LP__GError object at 0x8fd3a0> volume 28 Error: com.savagebeast.radio.api.protocol.xmlrpc.RadioXml RpcException: Access not allowed due to licensing restrictions for your country (203.87.162.71) Code: 12 Error calling slot "playStation" Traceback (most recent call last): File "/opt/pyRadio/pyRadio.py", line 228, in playStation self.player.getMoreSongs( self.curStation, self.c.format ) File "/opt/pyRadio/radioplayer.py", line 121, in getMoreSongs fragment = self.pandora.getFragment( station, format ) File "/opt/pyRadio/libpiano/pandora.py", line 316, in getFragment url = parsed[i]["audioURL"] TypeError: string indices must be integers MAFW PROPERTY CHANGED error-policy 0 <type 'long'> i see "access not allowed due to licensing restrictions in our country" do you think this is the problem? how can i solve this? do i need to use us proxy? |
Re: [application] pyRadio (Pandora)
Quote:
Didn't realize that the API is closed and that all of the above apps are developed and release by Pandora themselves. This makes what you've accomplished with pyRadio all the more impressive. |
Re: [application] pyRadio (Pandora)
Quote:
Yeah, that's a well documented problem for people connecting from IP addresses outside of the United States. Using a proxy connection will alleviate that... but you'll still probably end up hitting the same out_of_sync problem that many of the rest of us have. |
Re: [application] pyRadio (Pandora)
too bad..i guess its bye2 time to pandora :'(
|
All times are GMT. The time now is 06:46. |
vBulletin® Version 3.8.8