Active Topics

 



Notices


Reply
Thread Tools
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#621
Originally Posted by jsharper View Post
Code:
echo -n IM WATCHING YOU > /sys/class/i2c-adapter/i2c-2/2-0063/rds_radio_text
I'll try this out. Would be an easy enough code.
__________________
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:
rm_you's Avatar
Posts: 98 | Thanked: 189 times | Joined on Jul 2007 @ San Antonio, TX
#622
Originally Posted by fatalsaint View Post
I'll try this out. Would be an easy enough code.
Well, there's a little more to it... You'll want it to do some intelligent things, like scroll text that doesn't fit (some set amount of times, then stop scrolling) which requires you to rotate your string manually and continually send it with delays, IIRC. You'll want to write a whole class to handle all the RDS stuff. I would help if I still had a radio with RDS support (for some reason my 2011 car doesn't have RDS).
 

The Following 2 Users Say Thank You to rm_you For This Useful Post:
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#623
One small request Saint.

Perhaps have an option for the backlight to remain lit, much like Mplayer when using this.


Something like:

gconftool-2 --type int --set /apps/osso/applet/osso-applet-display/turn_off_display 6000000
gconftool-2 --type int --set /apps/osso/applet/osso-applet-display/brightness_period 6000000
gconftool-2 --type int --set /system/osso/dsm/display/display_dim_timeout 6000000
gconftool-2 --type int --set /system/osso/dsm/display/display_blank_timeout 6000000

Peace.
 

The Following User Says Thank You to Addison For This Useful Post:
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#624
Okay. Well, this is and was pretty much everything that I was able to find on the net, Saint.

http://www.iconspedia.com/pack/the-spherical-2230/
http://dryicons.com/free-icons/previ...ssy-icons-set/
http://www.psdgraphics.com/buttons/m...ntrol-buttons/
http://icons.mysitemyway.com/amber-g...e-icons-media/
http://www.freevectors.org/catalog/b...r-buttons.html

None of them would really stand out against a black background though.

All of the good stuff seems to be copyrighted.

Anyway, the only other thing that I can think of is if you wanted to go completely abstract with the icons and then explain what each of those graphics mean to us stupid idgits with your new super release.

Rainbows.
 

The Following User Says Thank You to Addison For This Useful Post:
rm_you's Avatar
Posts: 98 | Thanked: 189 times | Joined on Jul 2007 @ San Antonio, TX
#625
Poke wazd on IRC and see if he'd make some quick buttons for you.
I'll ask him if I see him around.
 
Posts: 18 | Thanked: 9 times | Joined on Aug 2010
#626
Is there any plan to add support for proxies, especially SOCKS proxies, to this application?
 
slvr32's Avatar
Posts: 168 | Thanked: 104 times | Joined on Feb 2008 @ California, USA
#627
Originally Posted by singpolyma View Post
Is there any plan to add support for proxies, especially SOCKS proxies, to this application?
FYI, I have nothing to do with pyRadio development, and I have next to zero python experience, but I was just looking at some of the pyRadio source @ /opt/pyRadio, and noticed (I think) that 'urllib2' is being used for the http requests, rather than something like QNetworkManager (or QNetworkAccessManager???).

And I don't want to pollute this thread with off-topic tangents, but I've done just a bit of Qt/C++ development lately, which is just loosely related because my current code is using QUrl, QHttp, signals, slots, etc... and I just discovered QNetworkManager by accident, when I was looking into Diablo SDK network issues.

In any case, I just have the vaguest idea that QNetworkManager exposes some amount of proxy information, or that you might be able to check for a proxy, but I haven't gotten around to rewriting any of my http/network code (working fine on several platforms w/Qt 4.5 - 4.7, so the Diablo SDK tangent was mostly a red herring at the moment), so I can't say I'm familiar with implementation firsthand (yet).

I think that the urllib2 library is sort of a convenience for avoiding some of the typical signals/slots stuff with some of the other Qt network classes, but I'm guessing that fatalsaint may have more input on the topic.

Edit: Looks like urllib2 (depending on version?) may have proxy support...

http://www.velocityreviews.com/forum...and-https.html

http://tech.groups.yahoo.com/group/l...g/message/4208

Last edited by slvr32; 2011-08-25 at 15:44.
 
Posts: 139 | Thanked: 20 times | Joined on Apr 2010 @ Planet Earth for now!
#628
would it be possible to pull/scrape some artist info from a double tap on the cover art? Meaning, a small history of the artist or song your listening to? If that makes any sense.
 
slvr32's Avatar
Posts: 168 | Thanked: 104 times | Joined on Feb 2008 @ California, USA
#629
Please excuse the noise if this contribution looks/sounds annoying, but I was just playing around with adding (just cosmetics, for now) a proxy option

I'm not sure I accounted for everything, and I noticed that this compresses the current horizontal layouts in the 'vbox' (QVBoxLayout) a bit, but I'm not sure that can be avoided with the QDialog for settings.

And the following page looks interesting, but I'm not sure how I might go about *testing* any proxy handling code if I were to attempt to add real proxy handling.

http://docs.python.org/release/2.4.4...-examples.html
Attached Images
 
Attached Files
File Type: txt pyRadio-3.7-proxysettings.patch.txt (2.4 KB, 81 views)
 

The Following User Says Thank You to slvr32 For This Useful Post:
Posts: 1,378 | Thanked: 1,604 times | Joined on Jun 2010 @ Göteborg, Sweden
#630
anyone else having pandora auto-login failing?
 
Reply

Tags
bad tags, good tags, pyradio


 
Forum Jump


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