![]() |
[How-To] play web radio streams using native Music Suite on N9/N950
Dear community,
I was playing with the web radio stream stuff, because a friend of mine started to think that do we really need a radio app as more likely the music suite is just using playbin2, so the solution would be just the desktop file which would open the music suite with the url, and I then ended up on investigating mime-types and associated applications. So here is the smallest possible thing what you need to do, in order to use the native music-suite application to play web radio streams and to have a kewl shortcut on your home screen. No need for 3rd party internet radio apps. For now you will need to have a developer mode enabled for transferring the desktop file. 1) create a radiorock.desktop file on your desktop machine with following content: Code:
[Desktop Entry] Now you will have a desktop shortcut on home screen which will open the web stream defined in X-Maemo-Fixed-Args field inside the desktop file. Cheers, Juhapekka Piiroinen |
Re: [How-To] play web radio streams using native Music Suite on N9/N950
This works at least with the PR1.1 which was released for N950 developer device.
|
Re: [How-To] play web radio streams using native Music Suite on N9/N950
I created an application for creating these desktop files and published the source code as well as a testing deb package. The source code is licensed under GPLv2. The package will be published also in Ovi Store.
Source code is available @ https://gitorious.org/qad-shortcut-c...hortcutcreator And prebuilt binary for testing is @ http://qad.jpii.fi/ Screenshot https://gitorious.org/qad-shortcut-c...screenshot.png I will prepare the application for ovi store release. |
Re: [How-To] play web radio streams using native Music Suite on N9/N950
Any way to specify an icon for the shortcut?
|
Shoutcast.com
Playing music from internet streams is quid best to download dirrectly .pls file from shoutcast.com. After download open it. And it opens in Harmattan native music player.
I found this is the simpliest way. |
Re: [How-To] play web radio streams using native Music Suite on N9/N950
Quote:
|
Re: Shoutcast.com
Quote:
|
Re: [How-To] play web radio streams using native Music Suite on N9/N950
feel free to improve the source code and just request merge, after which i will just push it to thru the release process etc.
Version 0.0.1 has been sent to ovi store publish service. |
Re: [How-To] play web radio streams using native Music Suite on N9/N950
Nice idea !
BTW, what about support for shortcuts that launch apps/utilities/scripts? That would IMHO be really useful! :) It would just have to generate a .desktop file similar to this one: Code:
[Desktop Entry] Code:
[Desktop Entry] |
Re: [How-To] play web radio streams using native Music Suite on N9/N950
Some applications in the home screen have "red icon" to delete them. Do you know how to add that to created icons ?
|
Re: [How-To] play web radio streams using native Music Suite on N9/N950
Quote:
|
Re: [How-To] play web radio streams using native Music Suite on N9/N950
In the next version you should be able to:
- define an image file which is used as an icon, or to resize it to icon - define other kind of shortcuts, like shortcuts to scripts etc. If somebody has the time to do those, feel free to checkout the code from https://gitorious.org/qad-shortcut-creator and then ask for a merge, as for now I am busy for the next 1 to 2 weeks |
Re: [How-To] play web radio streams using native Music Suite on N9/N950
Is it possible to open and play an album or playlist with this method?
|
All times are GMT. The time now is 14:56. |
vBulletin® Version 3.8.8