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)

MrCarney 2010-12-17 14:50

Re: [application] pyRadio (Pandora)
 
@fatalstaint Thanks for your help. I found and installed ntpdate from the maemo-extras repo, my time sync'ed up, and Pandora is now working!

I have one more question. The screenshots I have seen of pyRadio show a slick black UI (like in your post #1), but mine is all white (like post #282). Can I get the black UI?

witit 2010-12-17 14:56

Re: [application] pyRadio (Pandora)
 
I typed:
export http_proxy="204.45.121.18:9001" /opt/pyRadio/pyRadio.py

got error:
sh: export: /opt/pyRadio/pyRadio.py: bad variable name

Did I miss something?

fatalsaint 2010-12-17 15:03

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by MrCarney (Post 898772)
@fatalstaint Thanks for your help. I found and installed ntpdate from the maemo-extras repo, my time sync'ed up, and Pandora is now working!

I have one more question. The screenshots I have seen of pyRadio show a slick black UI (like in your post #1), but mine is all white (like post #282). Can I get the black UI?

The black is the N900 layout. The white is the N8x0 layout. The system does those colors.

It's changeable, but you'd have to modify the colors directly in the code. Not sure if you want to do that.. there should be somewhere in this thread that I showed someone how to do something similar.

Quote:

Originally Posted by witit (Post 898774)
I typed:
export http_proxy="204.45.121.18:9001" /opt/pyRadio/pyRadio.py

got error:
sh: export: /opt/pyRadio/pyRadio.py: bad variable name

Did I miss something?

The /opt/pyRadio/pyRadio.py is on a seperate line.

I didn't have much luck with the ones with the 9001 ports.. the ones I found with the 80 port in the DirPort were more successful.

witit 2010-12-17 17:19

Re: [application] pyRadio (Pandora)
 
Whichever I tried, never got pass the authen. May be something with the xterminal still not quite right. So, here's the screenshort:
http://media.share.ovi.com/m1/lt/264...854ed69739.jpg

fatalsaint 2010-12-17 17:23

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by witit (Post 898843)
Whichever I tried, never got pass the authen. May be something with the xterminal still not quite right. So, here's the screenshort:
http://share.ovi.com/media/switit.MyN900/switit.10003

Instead of ":443" at the end try the ":80". You've got the commands right, just gotta find a proxy that works.

The one in your screenshot should work, but use the :80 port instead.

witit 2010-12-18 01:06

Re: [application] pyRadio (Pandora)
 
Tried port 80, no luck. I know from using Zig Zag Joe client that this proxy (204.8.156.142) works. I think ZZJ client use socks proxy so I tried:
export socks_proxy="204.8.156.142:80"
and
export socks_proxy="204.8.156.142:443"
No good either. Any more suggestion?

fatalsaint 2010-12-18 01:22

Re: [application] pyRadio (Pandora)
 
:( Guess not. Was hoping it would work since mine would fail if I set that to a bad proxy. The only two variables that I know of that should work are http_proxy and ftp_proxy. I don't think a socks proxy works that way.

There's a python way to do it in the code itself but unfortunately it'll be a while before I can get to it.

TiagoTiago 2010-12-19 03:30

Re: [application] pyRadio (Pandora)
 
Can you make it use a VPN while the rest of the programs use whatever they would normally use?

fatalsaint 2010-12-19 08:14

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by TiagoTiago (Post 899749)
Can you make it use a VPN while the rest of the programs use whatever they would normally use?

That would be significantly more difficult. Establishing a VPN isn't easy.

There is a way to set a proxy for urllib2 in python, it just needs to be coded to handle it.

TiagoTiago 2010-12-20 07:00

Re: [application] pyRadio (Pandora)
 
Btw, i've just hit the MB limit for this month and got my connection speed downgraded till January, now pyRadio keeps pausing, how can i increase the buffer size so it will play ininterruptly even when under a slow connection?

Also, could you make it use more than one connection at time so while one song is playing it will already be downloading the next random song to not pause much between songs please?


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

vBulletin® Version 3.8.8