Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Custom Icon e.g. Starting Favorite Webradio

    Reply
    Page 2 of 5 | Prev |   1   2   3     4   | Next | Last
    Reflektorfalke | # 11 | 2010-02-03, 23:16 | Report

    Originally Posted by cardiff-blues View Post
    OK it wouldn't show up in app manager so I have followed your tip here. Now how do I put the content into my webradio.desktop file that I have just created?
    Use a editor of your choice to edit the file...e.g. vi or leafpad
    I suggest leafpad as its way easier!

    For editing with leafpad enter in Xterm:

    leafpad webradio.desktop

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Reflektorfalke For This Useful Post:
    cardiff-blues

     
    cardiff-blues | # 12 | 2010-02-03, 23:36 | Report

    does this look ok?

    [Desktop Entry]
    Encoding=UTF-8
    Version=0.1
    Type=Application
    Terminal=true
    Name=KVMV
    Exec=/usr/bin/osso-xterm '/usr/bin/dbus-send --print-reply --dest=com.nokia.mediaplayer
    /com/nokia/mediaplayer com.nokia.mediaplayer.mime_open string:"
    http://kvmv.streamon.fm/player/player.php?username=KVMV&stream=64k&type=1"'
    Icon=X-HildonDesk-ShowInToolbar=true
    X-Osso-Type=application/x-executable

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Reflektorfalke | # 13 | 2010-02-03, 23:46 | Report

    Originally Posted by cardiff-blues View Post
    does this look ok?

    [Desktop Entry]
    Encoding=UTF-8
    Version=0.1
    Type=Application
    Terminal=true
    Name=KVMV
    Exec=/usr/bin/osso-xterm '/usr/bin/dbus-send --print-reply --dest=com.nokia.mediaplayer
    /com/nokia/mediaplayer com.nokia.mediaplayer.mime_open string:"http://kvmv.streamon.fm/player/player.php?username=KVMV&stream=64k&type=1"'
    Icon=X-HildonDesk-ShowInToolbar=true
    X-Osso-Type=application/x-executable

    Looks like there is a blank before http.. ("_http).
    Remove this blank and make sure that the Exec command is in one line without break.
    Then it should work!


    EDIT: Sorry, just noted that your link goes to a webradio player...
    But you need to use a link to a media stream...

    EDIT2: Check the source of the link you used. There you find this link: http://kvmv.streamon.fm/play/KVMV-64k-168-1.html
    And there you find several media streaming links that should work!

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Reflektorfalke; 2010-02-04 at 00:03.

     
    les_garten | # 14 | 2010-02-04, 03:07 | Report

    OK, got this working. Very Kewl!

    My Favorite shoutcast server is the one streaming FOX Business channel off Directv in my house!

    Here's the Icon I used, looks pretty kewl to me at least.

    The Icon is 48x48 and looks great.

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Images
     

     
    Grant | # 15 | 2010-02-04, 04:20 | Report

    Thanks for this guys, it was just what I was looking for. Any way to make it so that media player opens in the background, or make it so you end up back at the desktop? This way, if you setup multiple shortcuts to different stations, you could just quickly switch between all of them right from the desktop.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    cardiff-blues | # 16 | 2010-02-04, 09:25 | Report

    Originally Posted by Reflektorfalke View Post
    EDIT2: Check the source of the link you used. There you find this link: http://kvmv.streamon.fm/play/KVMV-64k-168-1.html
    And there you find several media streaming links that should work!
    I can now see the icon but when I click on it xterm pops up for a brief moment then disappears but nothing happens. Is this likely to be a problem with the stream url.

    Can you try this url in your file to see if it will work
    http://kvmv.streamon.fm/stream/KVMV-64k.mp3

    Edit | Forward | Quote | Quick Reply | Thanks

     
    les_garten | # 17 | 2010-02-04, 17:53 | Report

    Originally Posted by cardiff-blues View Post
    I can now see the icon but when I click on it xterm pops up for a brief moment then disappears but nothing happens. Is this likely to be a problem with the stream url.

    Can you try this url in your file to see if it will work
    http://kvmv.streamon.fm/stream/KVMV-64k.mp3
    You need to pay attention to the post that suggested making a simple shell script as the exec line. I did that and there is no xterm POP up. Just opens the stream in the media player.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    cardiff-blues | # 18 | 2010-02-04, 17:59 | Report

    Originally Posted by les_garten View Post
    You need to pay attention to the post that suggested making a simple shell script as the exec line. I did that and there is no xterm POP up. Just opens the stream in the media player.
    >>>
    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?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    les_garten | # 19 | 2010-02-04, 18:37 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

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

     
    Reflektorfalke | # 20 | 2010-02-04, 19:46 | Report

    Originally Posted by cardiff-blues View Post
    I can now see the icon but when I click on it xterm pops up for a brief moment then disappears but nothing happens. Is this likely to be a problem with the stream url.

    Can you try this url in your file to see if it will work
    http://kvmv.streamon.fm/stream/KVMV-64k.mp3
    Hi Cardiff-blues,

    tested your link and it works!

    Attached you will find the .desktop file as well as the shell script.

    Put
    kvmv.desktop into /usr/share/applications/hildon
    and
    KVMV.sh into /home/user/MyDocs/.documents/Scripts

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Files
    File Type: zip kvmv.zip (526 Bytes, 163 views)
    The Following User Says Thank You to Reflektorfalke For This Useful Post:
    cardiff-blues

     
    Page 2 of 5 | Prev |   1   2   3     4   | Next | Last
vBulletin® Version 3.8.8
Normal Logout