Notices


Reply
Thread Tools
Posts: 23 | Thanked: 14 times | Joined on Feb 2010 @ Paris, France
#931
For getting help you need to launch pyRadio through the terminal and put here what you get from the screen. Do you know how to do it ?
 

The Following User Says Thank You to Hec For This Useful Post:
Posts: 73 | Thanked: 0 times | Joined on Jun 2011
#932
N my N810 I've tried changing line 295 to:

reqUrl = self.base_url_lid.replace("https","http") %( self.rid, self.lid, "getFragment" )

but the program still only opens, authenticates (because I can see my stations) but doesn't play.

I've tried starting it in the command line with /opt/pyRadio/pyRadio.py to see what sort of messages I might get but it simply opened pyRadio and the terminal went back to the command prompt without any messages.

Should I be using the version in extras or devel?
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#933
Originally Posted by muttleytm View Post

Should I be using the version in extras or devel?
they are the same

I've tried starting it in the command line with /opt/pyRadio/pyRadio.py to see what sort of messages I might get but it simply opened pyRadio and the terminal went back to the command prompt without any messages.
This doesn't make sense. There should at least be some terminal output.

did you run as the user, or root, or what exactly did you do?
__________________
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: 68 | Thanked: 26 times | Joined on Nov 2011
#934
heres what i get from xterm

Nokia-N900:~# /opt/pyRadio/pyRadio.py
RX-51
PANDORA: Loading key from file "/opt/pyRadio/libpiano/key_in"
PANDORA: Downloading key from url "https://raw.github.com/PromyLOPh/pianobar/master/src/libpiano/crypt_key_input.h"
('found new MAFW renderer %s', 'Mafw-Gst-Renderer')
using MAFW Gst-Renderer
PANDORA: Loading key from file "/opt/pyRadio/libpiano/key_out"
MAFW PROPERTY RECEIVED 7669184 volume 8446712 <ctypes.LP__GError object at 0x636e90>
volume 28
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? True
Radio Started.
INCOMPATIBLE VERSION DETECTED, BUMPING.
INCOMPATIBLE VERSION DETECTED, BUMPING.

anyone help? :'(
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#935
Blitzle - I don't see a problem there.. it all looks normal.

What are your symptoms?
__________________
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: 68 | Thanked: 26 times | Joined on Nov 2011
#936
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: Downloading key from url "https://raw.github.com/PromyLOPh/pianobar/master/src/libpiano/crypt_key_input.h"
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'
('found new MAFW renderer %s', 'Mafw-Gst-Renderer')
using MAFW Gst-Renderer
MAFW PROPERTY RECEIVED 7687104 volume 9723976 <ctypes.LP__GError object at 0x637e90>
volume 28
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? True
Radio Started.
Error: com.savagebeast.radio.api.protocol.xmlrpc.RadioXml RpcException: 192.168.160.88|1327421608400|OUT_OF_SYNC|You have no chance to survive make your time.
Code: 1
Error calling slot "playNextSong"
Traceback (most recent call last):
File "/opt/pyRadio/pyRadio.py", line 276, in playNextSong
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
Error: com.savagebeast.radio.api.protocol.xmlrpc.RadioXml RpcException: 192.168.162.56|1327421611147|OUT_OF_SYNC|You have no chance to survive make your time.
Code: 1
Error calling slot "playNextSong"
Traceback (most recent call last):
File "/opt/pyRadio/pyRadio.py", line 276, in playNextSong
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
Error: com.savagebeast.radio.api.protocol.xmlrpc.RadioXml RpcException: 192.168.160.235|1327421613751|OUT_OF_SYNC|You have no chance to survive make your time.
Code: 1
Error calling slot "playNextSong"
Traceback (most recent call last):
File "/opt/pyRadio/pyRadio.py", line 276, in playNextSong
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
Error calling slot "doLove"
Traceback (most recent call last):
File "/opt/pyRadio/pyRadio.py", line 166, in doLove
self.song[1]["rating"] = 1
TypeError: 'int' object is unsubscriptable

the problem is i got no audio,album cover is stuck with authenticating to pandora as (email)..got only few station on the list.
 

The Following User Says Thank You to blitzlee06 For This Useful Post:
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#937
What version do you have?

The OUT_OF_SYNC problem means that your N900 time is different than pandora's. Pandora changed they way they did time and was modified in the newer pyRadio's. Make sure you've downloaded 4.7 and then make Slimjim's changes. Also make sure your time is correct.
__________________
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 User Says Thank You to fatalsaint For This Useful Post:
Posts: 68 | Thanked: 26 times | Joined on Nov 2011
#938
its 4.7..by the way my time is +8 GMT because im from philippines should i change this to .. -6 GMT? i already did slimjim's steps.
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#939
I guess you can try.. there is code in the application that should alter the timestamp based on your local timezone setting but maybe it's not working in all timezones.
__________________
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!
 
cddiede's Avatar
Posts: 1,034 | Thanked: 784 times | Joined on Dec 2007 @ Annapolis, MD
#940
I think I have the same problem as blitzlee06 on my N9.

I've edited line 295 of the pandora.py file to read:
reqUrl = self.base_url_lid.replace("https","http") %( self.rid, self.lid,
"getFragment" )

and I've edited line 33 of the radioplayer.py file to read:
self.pandora = Pandora( self.format, self.protocol_version )

But still I log in, see my stations, but get no album art nor audio.
I see the OUT OF SYNC message in my output but my time is correct and I'm in the USA so I would think that I match Pandora's time.

Although the message "INCOMPATIBLE VERSION DETECTED, BUMPING." does not give me the warm fuzzies....

Terminal output follows:

pt/pyRadio/pyRadio.py

Using the meego graphics system

loaded the Generic plugin

loaded the grue plugin

Loaded the MeeGo sensor plugin

Setting data rate 0 Hz (interval 0 ms) for "meego.orientationsensor"

?

PANDORA: Loading key from file "/opt/pyRadio/libpiano/key_in"

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? True

PANDORA: Loading key from file "/opt/pyRadio/libpiano/key_in"

Found SGX/MBX driver, enabling FullClearOnEveryFrame

Found v1.4 driver, enabling brokenTexSubImage

could not autorotate on PANDORA: Downloading key from url "https://raw.github.com/PromyLOPh/pianobar/master/src/libpiano/crypt_key_input.h"

hijackWindow() context created for Panda(0x628e78, name = "pyRadio") 1

Found SGX/MBX driver, enabling FullClearOnEveryFrame

Found v1.4 driver, enabling brokenTexSubImage

QGLWindowSurface: Using plain widget as window surface QGLWindowSurface(0x825ed8)

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? True

INCOMPATIBLE VERSION DETECTED, BUMPING.

Radio Started.

INCOMPATIBLE VERSION DETECTED, BUMPING.

Error: com.savagebeast.radio.api.protocol.xmlrpc.RadioXml RpcException: 192.168.161.24|1327426305542|OUT_OF_SYNC|You have no chance to survive make your time.

Code: 1

hijackWindow() context created for QInputDialog(0xaeab19c8) 1

Found SGX/MBX driver, enabling FullClearOnEveryFrame

Found v1.4 driver, enabling brokenTexSubImage

QGLWindowSurface: Using plain widget as window surface QGLWindowSurface(0x826608)

hijackWindow() context created for QInputDialog(0xaeab19c8) 1

Found SGX/MBX driver, enabling FullClearOnEveryFrame

Found v1.4 driver, enabling brokenTexSubImage

QGLWindowSurface: Using plain widget as window surface QGLWindowSurface(0x6a2218)
 
Reply

Tags
bad tags, good tags, pyradio


 
Forum Jump


All times are GMT. The time now is 09:31.