View Single Post
YoDude's Avatar
Posts: 2,869 | Thanked: 1,784 times | Joined on Feb 2007 @ Po' Bo'. PA
#16
This works for me to open the VOA hourly news podcast:

Code:
Exec=dbus-send --print-reply --dest=com.nokia.mediaplayer /com/nokia/mediaplayer com.nokia.mediaplayer.mime_open string:"http://www.voanews.com/mp3/voa/english/nnow/NNOW_HEADLINES.mp3"
Try changing the string to your playlist location and running it right frm the dang .desktop file.

I use qoles FM-Boost and add a preset frequency by tweaking his file...

Code:
#!/bin/sh
/bin/echo 118 > /sys/class/i2c-adapter/i2c-2/2-0063/power_level
/usr/share/lfocus/v4l2-ctl -d /dev/radio0 -f 87.9
exit 0
Then I run Pekka & Juha Rönkkö's FMTX desktop widget v0.5.0 on my desktop with FM-Boost enabled.

So I hit the FMTX button then the Media Player script button and I'm rockin'
My only wish would be for Pekka & Juha to make an actual app button that toggles their FMTX package on and off so I can put it in b0unc3's most excellent Quick Launch and reach it without diving back down to the desktop when I'm using the screen for another app like Sygic or E-mail.

...And speaking about tweakin' files and most excellent efforts... check out thp's Superfly.fm. He's done what you're trying to do with this gem.

BTW, thp and qwerty12 without a doubt, are some of the best resources available...
Just cue up their posts for some good reading one night.

EDIT: I'm also thinkin' you may have to many forward slashes after file:
This file:///home instead of file:////home

EDIT EDIT dude: example attached

Unpack the 2 files and Read Me in the attached zip

Put [yodude.desktop] >> N900:\usr\share\applications\hildon

Put [yodude.png] >> N900:\usr\share\icons\hicolor\64x64

Close up your file manager and now check your apps list and you should now have yodude. It will open Media player to a very good radio station.

Check out the code and adapt it to your needs dude.
Attached Files
File Type: zip yodude.zip (6.4 KB, 130 views)
__________________

SLN member # 009

Last edited by YoDude; 2010-04-20 at 04:40. Reason: you're for your
 

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