maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   [application] pyRadio (Pandora) (https://talk.maemo.org/showthread.php?t=56036)

gerycruz 2011-09-22 19:25

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by handaxe (Post 1094085)
anyone else having pandora auto-login failing?

its been happening since yesterday.

Djhunt 2011-09-23 14:35

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by handaxe (Post 1094085)
anyone else having pandora auto-login failing?

I am unable to log in. My days are noticeably longer, now.

Addison 2011-09-23 15:30

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by Addison (Post 1048550)
^ Also, it seems to only work if I log in incorrectly first before logging in with the right username and password.

Tested this like 5 times and it definitely seems like a pattern here.

Anyway, many thanks again. :)

This is how I log in.

You might want to give it a try. :)

Djhunt 2011-09-23 17:54

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by Addison (Post 1094589)
This is how I log in.

You might want to give it a try. :)

When I enter the correct credentials after the intentionally incorrect username and password, PyRadio shuts down.:confused:

Addison 2011-09-23 18:09

Re: [application] pyRadio (Pandora)
 
Can you run it from Xterm?

It should give a message to what is causing the problem.

Djhunt 2011-09-23 19:41

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by Addison (Post 1094685)
Can you run it from Xterm?

It should give a message to what is causing the problem.

I try to stay away from Xterm as much as possible for my own good...

I tried the following, assuming 'exec' is akin to 'run':

Code:

exec /opt/pyRadio/pyradio.py
The terminal closes and nothing happens.

jsharper 2011-09-23 20:33

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by Djhunt (Post 1094740)
I try to stay away from Xterm as much as possible for my own good...

I tried the following, assuming 'exec' is akin to 'run':

Code:

exec /opt/pyRadio/pyradio.py
The terminal closes and nothing happens.

good guess, but leave off the exec and just enter "/opt/pyRadio/pyRadio.py"

Pandora changed the protocol (version/keys/etc) again.
Code:

Error: org.apache.xmlrpc.XmlRpcException: 000.000.000.000|0|INCOMPATIBLE_VERSION|Pandora does not support your client version.
Code: 1


fatalsaint 2011-09-24 16:24

Re: [application] pyRadio (Pandora)
 
Yeah, sorry all. Im usually a bit faster than this.

I never finished the qml version yet so Ill have a versio increase of the old one up today sometime.

Thanks.

Addison 2011-09-24 19:10

Re: [application] pyRadio (Pandora)
 
Heya Saint!

I've reflashed and no longer have this anymore.

Is there anything that can be moved to /media/mmc2 so it doesn't take a full 63 megs if I install this again?

Kind regards. :)

fatalsaint 2011-09-24 20:35

Re: [application] pyRadio (Pandora)
 
Alright, 4.0 should be building. I've had to branch Diablo and Fremantle apart now. The Fremantle version uses PySide and Diablo is still stuck with PyQt4 because the Diablo PySide is still broken. It's a mess.

I was hoping the 4.0 version would be the new QML interface, but alas - didn't work out. So, to somewhat make up for it this is whats new:
1) Automatic version bumping. Hopefully won't have this issue every couple months now where the app stops working completely. With each version bump there's a chance a bug might appear (like the create stations a couple versions back) - but the majority of the app still works between API Versions. The only time we will require a new PyRadio push is when the crypto keys change.
2) Basic HTTP Proxy support in the settings. It looks pretty much exactly like what slvr32 showed in his screen shot. I am using the urllib2.install_opener function now to set the Proxy as the default for urllib2 if one is set.

This Proxy support is still very experimental.. It only supports HTTP proxies right now. I had good luck using these proxy's: http://www.xroxy.com/proxylist.php?p...ability=#table

The way I tested it was I put in a Proxy from China and tried it out and Pandora told me he wouldn't support me because of my country. I then put a US proxy in and it worked. That's the best testing I can do since I'm in the U.S. and Pandora doesn't deny me by default anyway.

Addison:
The biggest part of pyRadio is the dependencies. Specifically the PyQt4 dependencies for Diablo. Right now, this new version, the /usr/lib/python2.5 directory is 18.8MB on my Diablo. If you move that directory to your mmc2 card and symlink it you would save that space.

Code:

mv /usr/lib/python2.5 /media/mmc2
ln -s /media/mmc2/python2.5 /usr/lib/

That's the only way I can think to save space. Moving your /opt to your /media/mmc2 the same way will save some space if you've installed other optified packages like pyRadio.. but the pyRadio sources themselves are only 408K.


All times are GMT. The time now is 12:12.

vBulletin® Version 3.8.8