Active Topics

 



Notices


Reply
Thread Tools
Posts: 36 | Thanked: 17 times | Joined on Dec 2011 @ USA
#871
Originally Posted by fatalsaint View Post
4.7 is up. (or, well, its going there..)
Works great. Thanks.
 

The Following User Says Thank You to gawga_boy For This Useful Post:
Posts: 36 | Thanked: 17 times | Joined on Dec 2011 @ USA
#872
Originally Posted by AgentZ View Post
Have the same things so that's not it, the website hasn't worked for me in months though...

Funny thing is mine stopped working this afternoon after I'd been listening all day.
 
Posts: 7 | Thanked: 2 times | Joined on Dec 2007 @ CHINA
#873
OK, I did my homework, it's a https issue, I took the liberty and changed all https links in
Code:
 /pyRadio/libpiano/pandora.py
to http links, now pyRadio successfully connect to my proxy server. Only find pandora does not support my client version.
Code:
File "/usr/lib/python2.5/xmlrpclib.py", line 1132, in loads
    return u.close(), u.getmethodname()
  File "/usr/lib/python2.5/xmlrpclib.py", line 787, in close
    raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 1: 'org.apache.xmlrpc.XmlRpcException: 000.000.000.000|0|INCOMPATIBLE_VERSION|Pandora does not support your client version.'>
Now that's easy, isn't it

Originally Posted by fatalsaint View Post
wwweagle:
from your output it appears PyRadio is having trouble talking to your proxy:
urllib2.URLError: <urlopen error (110, 'Connection timed out')>

I would double check your URL and your Port. If you use 8080 in pyradio then the proxy needs to be listening on that port as well.
 

The Following User Says Thank You to wwweagle For This Useful Post:
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#874
Originally Posted by wwweagle View Post
OK, I did my homework, it's a https issue, I took the liberty and changed all https links in
Code:
 /pyRadio/libpiano/pandora.py
to http links, now pyRadio successfully connect to my proxy server. Only find pandora does not support my client version.
Code:
File "/usr/lib/python2.5/xmlrpclib.py", line 1132, in loads
    return u.close(), u.getmethodname()
  File "/usr/lib/python2.5/xmlrpclib.py", line 787, in close
    raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 1: 'org.apache.xmlrpc.XmlRpcException: 000.000.000.000|0|INCOMPATIBLE_VERSION|Pandora does not support your client version.'>
Now that's easy, isn't it
The new 4.7 should fix that. You'll have to replace the https again though.
__________________
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:
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#875
Can you help me to unpack the Diablo version so I can have this again Saint?

I only have like a stupid 20 megs left on my internal flash.
 
Posts: 7 | Thanked: 2 times | Joined on Dec 2007 @ CHINA
#876
I've got one better than that.
http://pypi.python.org/pypi/httpsproxy_urllib2
I found this patch to overcome https_proxy issues and now with the new version 47 I can successfully login and view cover art and see the song titles etc...


but then I've got this...

Code:
PANDORA: Loading key from file "/opt/pyRadio/libpiano/key_in"
PANDORA: Loading key from file "/opt/pyRadio/libpiano/key_out"
Radio Started.
Concerti À Cinque (12), For 3 Violins, Viola, Cello & Continuo, Op. 10 (T. 10) by Albinoni, Tomaso
Partita For Solo Violin No. 3 In E Major, Bwv 1006 by Bach, Johann Sebastian
Sonatas (10), 6 For Violin & Bass, 4 For 2 Violins & Bass, Op. 8 by Locatelli, Pietro Antonio
Cello Concerto In B Flat Major, G. 482 by Boccherini, Luigi
Getting next song..
('found new MAFW renderer %s', 'Mafw-Gst-Renderer')
using MAFW Gst-Renderer
PLAY
MAFW PROPERTY RECEIVED 5905440 volume 6227344 <ctypes.LP__GError object at 0x459c2b20>
volume 28
MAFW STATE CHANGED 3
MAFW PROPERTY CHANGED transport-actions  <type 'str'>
MAFW PLAYBACK 5905440 None <ctypes.LP__GError object at 0x459c2b20>
MAFW POSITION 0
MAFW POSITION 0
MAFW POSITION 0
MAFW POSITION 0
And the MAFW POSITION 0 thing goes forever...And I never hear a sound. My Media Player works fine. Other 3rd party media player like panucci also works fine. Doesn't seem to me like a hardware problem. Got any idea?

OK I see it's a MAFW issue and other people get this after 20 songs or so... I only wish I got 20 songs first...

Originally Posted by fatalsaint View Post
The new 4.7 should fix that. You'll have to replace the https again though.

Last edited by wwweagle; 2011-12-17 at 06:55.
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#877
fatalsaint,

Is there some place online I can see the source code changes you made for the most recent Freemantle build to fix the "INCOMPATIBLE_VERSION" issue (like github)? I would like to try to merge it in to the 4.5 Diablo build.

==Edit==
I may have found what I needed here:
https://github.com/PromyLOPh/pianoba...fe288a41568634

==Edit 2==
Yup, found it there. Updated libpiano/crypt_key_input.h with the new keys and libpiano/pandora.py with the new PIANO_PROTOCOL_VERSION and all is working on Diablo!

Last edited by MrCarney; 2011-12-17 at 15:24.
 
Posts: 30 | Thanked: 7 times | Joined on Nov 2010 @ Rhode Island
#878
Hello,

I find that my install only authenticates if I delete my config file and re-enter my credentials. the next time I open it I get this, and it hangs on "Authenticating as...":

RX-51
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'
('found new MAFW renderer %s', 'Mafw-Gst-Renderer')
using MAFW Gst-Renderer
Radio Started.
MAFW PROPERTY RECEIVED 6092320 volume 6803688 <ctypes.LP__GError object at 0x447c5e90>
volume 28

anyone else see this?

Last edited by DrKlaw; 2011-12-18 at 06:39. Reason: typo and clarity
 
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#879
Originally Posted by Addison View Post
Can you help me to unpack the Diablo version so I can have this again Saint?

I only have like a stupid 20 megs left on my internal flash.
Sorry, I wrote all that crap out wrong.

I meant to ask for an outside way so I can put whatever that can be placed onto my SD card to install this again.

I can't install it directly anymore because there's just no room.

Hence the weird request to unpack it somehow outside of the flash memory.

Why must I be so difficult to deal with?
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#880
Originally Posted by MrCarney View Post
fatalsaint,

Is there some place online I can see the source code changes you made for the most recent Freemantle build to fix the "INCOMPATIBLE_VERSION" issue (like github)? I would like to try to merge it in to the 4.5 Diablo build.

==Edit==
I may have found what I needed here:
https://github.com/PromyLOPh/pianoba...fe288a41568634

==Edit 2==
Yup, found it there. Updated libpiano/crypt_key_input.h with the new keys and libpiano/pandora.py with the new PIANO_PROTOCOL_VERSION and all is working on Diablo!
You confuse me.. what's wrong with the official 4.7 diablo version in the repo's? Pyradio now automatically downloads and updates the crypto keys and the version number whenever necessary. Why are you patching an old version?




Addison:
You can download the deb and run:
ar -x pyradio_4.7_all.deb

That will extract a tar file and the debian control files. However, you have plenty of space for pyRadio itself with 20 megs free. If you don't space its because you don't have space for one of the *dependencies*.. and extracting pyradio liek the above when you try to run it will just fail when it tries to load a dependency. So you'll have to extract all the PyQt4 stuff and then find a way to include them from a non-standard location. Or symlink their install locations like /usr/lib to your external SD card but that might cause problems if the SD isn't mounted before the libraries are needed on startup.

Have you ever thought of booting the N8x0 to your SD card? Theres a boot-to-sd thing floating around.. I think it was even in the application manager and was a simple process last I ran 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!

Last edited by fatalsaint; 2011-12-19 at 00:05.
 

The Following 3 Users Say Thank You to fatalsaint For This Useful Post:
Reply

Tags
bad tags, good tags, pyradio


 
Forum Jump


All times are GMT. The time now is 06:18.