View Single Post
Posts: 1,283 | Thanked: 370 times | Joined on Sep 2009 @ South Florida
#19
Originally Posted by cardiff-blues View Post
>>>
When you click on your new icon / shortcut a xterm window will appear for a second before media player starts playing your webradio...
<<<

I don't get it to play anyway so shouldn't it play regardless of whether I create that script or not?
Well, you were mentioning you didn't want the xterm launch. You're going to get that the way you are doing it.

Post your code, if you want help on it.

Here's mine:

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=TurboNET
Comment=TurboNET Radio
Exec=sh /home/user/turbonet_radio.sh
Icon=shoutcast
Terminal=false
Name=TurboNET
Type=Application
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable

See how simple it is.

#!/bin/bash
/usr/bin/dbus-send --print-reply --dest=com.nokia.mediaplayer /com/nokia/mediaplayer com.nokia.mediaplayer.mime_open string:"http://xxxxxx.com:8000/listen.pls"
exit 0

Last edited by les_garten; 2010-02-04 at 18:40.