Notices


Reply
Thread Tools
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#941
Did this just start today? Is it a new problem?
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Posts: 73 | Thanked: 0 times | Joined on Jun 2011
#942
I was running as user, not root.

I'll do it again and see what happens
 
cddiede's Avatar
Posts: 1,034 | Thanked: 784 times | Joined on Dec 2007 @ Annapolis, MD
#943
Originally Posted by fatalsaint View Post
Did this just start today? Is it a new problem?
Well today was the first day I tried the other fixes so I can't say for sure since my pyRadio hasn't worked for a few weeks.


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???
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#944
Originally Posted by cddiede View Post
Well today was the first day I tried the other fixes so I can't say for sure since my pyRadio hasn't worked for a few weeks.


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???
Pandora is a closed API. They probably have some method of pushing to their official versions for android and iphone updates. And obviously, they probably release updates to their apps before actually updating site code.

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.)
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 

The Following 2 Users Say Thank You to fatalsaint For This Useful Post:
Posts: 73 | Thanked: 0 times | Joined on Jun 2011
#945
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.
 
Posts: 10 | Thanked: 2 times | Joined on Jun 2011 @ Texas
#946
i ran my pyradio from root and got this

Code:
 home/user # /opt/pyRadio/pyRadio.py
Maemo applications must be run with the run-standalone.sh script!
QGtkStyle was unable to detect the current GTK+ theme.
RX-51
process 17390: arguments to dbus_connection_send_with_reply_and_block() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 3298.
This is normally a bug in some application using the D-Bus library.
process 17390: arguments to dbus_connection_add_filter() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5257.
This is normally a bug in some application using the D-Bus library.
process 17390: arguments to dbus_connection_unref() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 2657.
This is normally a bug in some application using the D-Bus library.
GError occured Discovery initialization failed: error
PANDORA: Loading key from file "/opt/pyRadio/libpiano/key_in"
PANDORA: Loading key from file "/opt/pyRadio/libpiano/key_out"
Error calling slot "auth" 
Traceback (most recent call last):
  File "/opt/pyRadio/pyRadio.py", line 211, in auth
    authenticated = self.player.auth( self.c.user, self.c.password )
  File "/opt/pyRadio/radioplayer.py", line 87, in auth
    self.pandora.sync()
AttributeError: 'NoneType' object has no attribute 'sync'
Radio Started.
Segmentation fault
does this mean anything to anybody?
 
Posts: 68 | Thanked: 26 times | Joined on Nov 2011
#947
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?
 
cddiede's Avatar
Posts: 1,034 | Thanked: 784 times | Joined on Dec 2007 @ Annapolis, MD
#948
Originally Posted by fatalsaint View Post
When you say 'all the other pandora apps' what are you talking about?
I was actually referring to the official Android, WebOS, and iPhone apps which do not appear to update very frequently at all.

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.
 

The Following 2 Users Say Thank You to cddiede For This Useful Post:
cddiede's Avatar
Posts: 1,034 | Thanked: 784 times | Joined on Dec 2007 @ Annapolis, MD
#949
Originally Posted by blitzlee06 View Post

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?

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.
 

The Following User Says Thank You to cddiede For This Useful Post:
Posts: 68 | Thanked: 26 times | Joined on Nov 2011
#950
too bad..i guess its bye2 time to pandora :'(
 
Reply

Tags
bad tags, good tags, pyradio


 
Forum Jump


All times are GMT. The time now is 14:24.