Active Topics

 



Notices


Reply
Thread Tools
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#321
Originally Posted by AgogData View Post
the error is due to licence thing because of my country im not from usa
i guess ur pandora works great cause thats the only error but do u have any tips for my problem ?
If you have a working HTTP PROXY in the states you can try setting the http_proxy environment variable before running the app.

Code:
export http_proxy = 'myproxy:port'
/opt/pyRadio/pyRadio.py
I assume is how that would work. If you do manage to get it working I'd like to know and I can build it into the app.
__________________
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!
 
AgogData's Avatar
Posts: 870 | Thanked: 133 times | Joined on Aug 2010
#322
sorry i didn't get that line 'export http_proxy = 'myproxyort' ' it didn't work @ xterm, could u explain more ?

N.B. : don't mind the smily face its cuz of : p (p for proxy)
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#323
You need to have access to a US proxy.. they usually come in the form of an IP address and Port.

Type that in with the IP address and port in place of "myproxy" and "port" and then run pyRadio. "myproxy" and "port" aren't actually anything.. they are place fillers as an example of what to type.
__________________
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!
 
AgogData's Avatar
Posts: 870 | Thanked: 133 times | Joined on Aug 2010
#324
ok found a proxy and a port and thats wat happened @ xterm

~ $ export http_proxy = '68.109.178.52 :27977'
-sh: export: : bad variable name
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#325
remove all spaces except after "export".

Code:
export http_proxy='68.109.178.52:27977'
That was my fault.
__________________
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!
 
AgogData's Avatar
Posts: 870 | Thanked: 133 times | Joined on Aug 2010
#326
$ exporthttp_proxy='68.109.178.52 :27977'
~ $ /opt/pyRadio/pyRadio.py
Radio Started.
Auto rotation on
('found new MAFW renderer %s', 'Mafw-Gst-Renderer')
using MAFW Gst-Renderer
MAFW PROPERTY RECEIVED 4739104 volume 5483520 <ctypes.LP__GError object at 0x44cc4ad0>
volume 28
Error: com.savagebeast.radio.api.protocol.xmlrpc.RadioXml RpcException: Access not allowed due to licensing restrictions for your country (41.234.55.50)
Code: 12

i guess it didn't fall for it x(
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#327
You still seem to have a space after the 52 and no space after export..

It was just a thought because the python docs seem to suggest that python might obey those environment variables.
__________________
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!
 
AgogData's Avatar
Posts: 870 | Thanked: 133 times | Joined on Aug 2010
#328
~ $ export http_proxy='68.109.178.52:27977'
~ $ /opt/pyRadio/pyRadio.py
Radio Started.
Auto rotation on
('found new MAFW renderer %s', 'Mafw-Gst-Renderer')
using MAFW Gst-Renderer
MAFW PROPERTY RECEIVED 4739104 volume 5556976 <ctypes.LP__GError object at 0x44cc4ad0>
volume 28
~ $


i fixed the space-no space
it asked me for the user/pass 3 times before crashing without the licence thing
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#329
Oh, Also:

If I could get everyone that can use and test pyRadio to go vote for it in the testing repository it would be appreciated.

Since the API changes every few months I'd like to get the majority of people some Pandora for a while before it dies again and I need to update it. If I keep messing around too long it'll never make it past that testing phase . Plus, people are already commenting on pyPianobar in the extras that it's broke and I really don't want to maintain those apps anymore. So would like to get them a replacement.

Thanks!
__________________
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: 275 | Thanked: 46 times | Joined on Feb 2008 @ Raleigh, NC
#330
Is this latest version for Maemo 5 only? I'm not seeing it with diablo.
__________________
N800 and N810: Diablo MMC2 Boot
 

The Following User Says Thank You to mfortner For This Useful Post:
Reply

Tags
bad tags, good tags, pyradio


 
Forum Jump


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