maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Internet Radio Widget (https://talk.maemo.org/showthread.php?t=70894)

gionni88 2011-03-10 12:06

[Announce] Internet Radio Widget
 
Internet Radio Widget is a desktop Widget to easily start and stop your favourite streaming radio with just a push.

It's possible to show a banner whenever the title metadata of the chosen radio changes. Songs can be recorded in a log file put in /home/user/MyDocs/InternetRadioWidgetLog.txt.

Icon can be swapped: right now there are 2 icons inside the deb, and they all are stored in /opt/internetradiowidget folder. User can change the icons in the custom subfolder to personalize it and pick it in the settings dialog.

Background transparency can be set within the settings dialog aswell.

This widget is NOT a featured internet radio player, it just stores one radio url and doesn't show any other info other that the current title playing.


http://img695.imageshack.us/img695/9...1031012432.png
http://img26.imageshack.us/img26/130...1031012434.png
http://img854.imageshack.us/img854/1...1031012440.png

datjomp 2011-03-10 12:17

Re: [Announce] Internet Radio Widget
 
Looks cool!
It would be nice if it was possible to browse from saved stations within the settings.

gazza_d 2011-03-10 12:24

Re: [Announce] Internet Radio Widget
 
That is great - the ability to browse and populate the URL from the media player would be good. but to be fair I only listen to one station as a rule.

one thing I would really like to see is some sort of title or description that we could set to the station name.

I have always missed the radio applet in maemo4. I shall install this as soon as it appears in the repos.

gionni88 2011-03-11 10:32

Re: [Announce] Internet Radio Widget
 
@datjomp: I'd rather avoid it, radio bookmarks are stored in a sqlite3 db and I'd have to add sql module for qt to do it, increasing binary file and since home widgets are kept loaded in memory is not so good not to keep the widget as small as possible.

@gazza_d: I don't get it, do you mean a sort of label to see which radio is currently set with the url?

Package is in extras-devel by now.

handaxe 2011-03-12 14:40

Re: [Announce] Internet Radio Widget
 
Quote:

Originally Posted by gionni88 (Post 965643)
@datjomp: I'd rather avoid it, radio bookmarks are stored in a sqlite3 db and I'd have to add sql module for qt to do it, increasing binary file and since home widgets are kept loaded in memory is not so good not to keep the widget as small as possible.

Useful app - like it! One could of course, not use the mediaplayer radio stations and allow a simple drop down list of a few saved stations loaded from a text *.ini type file. Not so memory intensive?

thanks for the app...

gionni88 2011-03-12 15:27

Re: [Announce] Internet Radio Widget
 
Quote:

Originally Posted by handaxe (Post 966324)
One could of course, not use the mediaplayer radio stations and allow a simple drop down list of a few saved stations loaded from a text *.ini type file. Not so memory intensive?

That's a smart idea.

gazza_d 2011-03-12 15:28

Re: [Announce] Internet Radio Widget
 
Been using this today, and I do really like it. This will be staying on my device. the stream seems to be more stable than when listening with Media Player as well.

Gionni88 - yea I was meaning have a box so the station name could be manually entered and then displayed in or next to the widget.

bioman 2011-03-14 10:21

Re: [Announce] Internet Radio Widget
 
Works very well: I like it!

nathaneous 2011-03-14 16:03

Re: [Announce] Internet Radio Widget
 
* Is it possible to enable the sound when my profile is set to 'silent'?
Basically i can't listen to the radio on loudspeaker when my profile is set to silent?
* Will there be option to re-size the widget in next updates?

Good stuff btw...

gionni88 2011-03-14 18:52

Re: [Announce] Internet Radio Widget
 
Quote:

Originally Posted by nathaneous (Post 967572)
* Is it possible to enable the sound when my profile is set to 'silent'?
Basically i can't listen to the radio on loudspeaker when my profile is set to silent?
* Will there be option to re-size the widget in next updates?

Good stuff btw...

I don't know how to force audio when in silent profile, but I'd rather avoid doing it. When silent I'd want my phone to shut up at all, but adding an option in settings won't cost anything.

Widget can already be resized, it dinamically takes the size of the image files in /opt/internetradiowidget/DIRECTORYOFICON. There is a "custom" directory where to put your chosen image of your chosen size.

Version 0.1.0:
Widget can now show a label above the button.
A list of quickpick stations can be loaded from MyDocs/.documents

EDIT: In next version I'll put the ability to set the current playing title as the custom label text, since I often miss the banner and I start and stop just to see what's playing on.

0rphu 2011-04-11 07:48

Re: [Announce] Internet Radio Widget
 
Nice widget, works rather well. Just the volume rocker doesn't seem to work when the phone is locked. Plus the widget seems to consume some small amounts of CPU time (1 - 3%) even when not listening to a radio.

jprobichaud 2011-04-12 12:54

Re: [Announce] Internet Radio Widget
 
Quick question: it seems that since the last CSSU, the widget dies as soon as you start listening to the radio. The last CSSU updated the QT libs to 4.7.2, could that be the issue?

gionni88 2011-04-12 13:52

Re: [Announce] Internet Radio Widget
 
Quote:

Originally Posted by jprobichaud (Post 986437)
Quick question: it seems that since the last CSSU, the widget dies as soon as you start listening to the radio. The last CSSU updated the QT libs to 4.7.2, could that be the issue?

Ye, it should be. I have already asked that in the CSSU thread and I'm waiting for an answer.

@ 0rphu: I get 0% cpu usage when not listening to radio checking with top, be sure the icon shown is the disabled radio one; if the radio stops while widget is active (internet goes off, radio server goes off etc) than cpu gets used instead.

handaxe 2011-04-29 22:55

Re: [Announce] Internet Radio Widget
 
Quote:

Originally Posted by gionni88 (Post 986474)
Ye, it should be. I have already asked that in the CSSU thread and I'm waiting for an answer.

@ 0rphu: I get 0% cpu usage when not listening to radio checking with top, be sure the icon shown is the disabled radio one; if the radio stops while widget is active (internet goes off, radio server goes off etc) than cpu gets used instead.

Are we waiting on the CSSU to fix the QT install (I thought MAG was producing a quick update for that, or some such...) or what is the state of play here?

Miss the app I guess :(

kakao 2011-05-09 22:31

Re: [Announce] Internet Radio Widget
 
Quote:

Originally Posted by handaxe (Post 997628)
Are we waiting on the CSSU to fix the QT install (I thought MAG was producing a quick update for that, or some such...) or what is the state of play here?

Miss the app I guess :(

i miss it too...
Any news?

gionni88 2011-05-10 06:56

Re: [Announce] Internet Radio Widget
 
No news, CSSU Qt 4.7.2 still in conflict with QMediaPlayer 1.0.2. Right now I'm busy, in a few days I'll make a "temp" version using Phonon instead of QtMobility.

gionni88 2011-05-21 11:34

Re: [Announce] Internet Radio Widget
 
Temp fix for who has CSSU installed. Get the package 2 posts below.

It needs qtmobility 1.1, so
Code:

apt-get install libqtm-11
in case.

handaxe 2011-05-22 22:33

Re: [Announce] Internet Radio Widget
 
works again. thanks.

gionni88 2011-05-23 10:40

Re: [Announce] Internet Radio Widget
 
1 Attachment(s)
@handaxe: you're welcome.

Version 0.2.0 attached.

Changelog:
Code:

internetradiowidget (0.2.0) unstable; urgency=low

  * Widget now fully support multyistances/settings. A big thanks to user mardy for it.
  * Maemo touchscreen sound is disabled when the button state is active.
  * Using QtMobility 1.1fn lib to avoid conflict with CSSU.

 -- Grammatico Giovanni <ggiovanni88@yahoo.it>  Mon, 23 May 2011 10:20:30 +0100

internetradiowidget (0.1.0) unstable; urgency=low

  * Widget can now shows a label above the button.
  * A list of quickpick stations can be loaded from MyDocs/.documents

 -- Grammatico Giovanni <ggiovanni88@yahoo.it>  Mon, 14 Mar 2011 19:20:30 +0000
 
 internetradiowidget (0.0.1) unstable; urgency=low

  * Initial Release.

 -- unknown <>  Thu, 10 Mar 2011 11:24:36 +0000

Description:
Code:

Widget to start a chosen streaming radio with a push.
 InternetRadioWidget can read from a list txt file located in /home/user/MyDocs/.documents to fast switch radio url. Multiple istances and settings are supported to have several stations available: you can even listen to more than one at once.
  Log of title metadata can be saved and is located in /home/user/MyDocs/.documents aswell. Also, widget can show hildon banners when title metadata changes.
  When the button is pressed and its state is put to active, maemo touchscreen sound is disabled till button is pressed again or widget removed (with the normal exit, if process is killed than touchscreen sound must be enabled manually from xterminal with the command "maemo-xinput-sounds").
  There is the option to use a custom image, check /opt/internetradiowidget/custom if interested. Widget opacity can be set and a custom label text can be shown if desidered.


handaxe 2011-06-02 11:29

Re: [Announce] Internet Radio Widget
 
I seem to have picked up trouble since the last CSSU update. Anyone else - no sound tho widget shows as if playing? May be my n900 issue as I have trouble with an app using qtm-12 (yes I know IRW uses qtm-11).

gionni88 2011-06-02 11:45

Re: [Announce] Internet Radio Widget
 
I have not updated to last CSSU yet. Version on repos still uses standard mobility libs, 0.2.0 attached above 1.1.
Try running app from terminal with "/opt/internetradiowidget/internetradiowidget" to get eventual error messages.

handaxe 2011-06-02 19:52

Re: [Announce] Internet Radio Widget
 
My mistake - it works. I had deleted my stations file and recreated it by copying urls from mediaplayer. IRW does not like .pls in the url ie. "http://ancientfm.com:7066/listen.pls" will not play but "http://ancientfm.com:7066" will. Problem is that the icon responds as if playing but no sound.

datjomp 2011-06-02 20:10

Re: [Announce] Internet Radio Widget
 
I really like this application. I think it would be nice if this could develop into a bigger app with the possible to change channels from the app. Like the FM transmitter application. Maybe feeds within the app with information about artist and song.

Yeah,that'd be great :)

gionni88 2011-06-02 20:38

Re: [Announce] Internet Radio Widget
 
Quote:

Originally Posted by handaxe (Post 1021218)
Problem is that the icon responds as if playing but no sound.

There is no check about the correct streaming playback start, I'll put it into todos.

@ datjomp: I had already tought about an internet radio player, with all metadata readings, lyrics of the current Song etc.
I'll keep this just a simple widget anyway.

handaxe 2011-06-02 21:59

Re: [Announce] Internet Radio Widget
 
IRW is quite similar in philosophy to a minimal tray app for Gnome (Gnu-linux) called radiotray. The only functionality I miss is easier station selection. But the current Desktop Menu method is ok.

I am stupid: how does one get multiple desktop icons for those station you want there? ie. the multi settings.....

tnx

PS It took a while but after a reboot the entry reappeared in the widget selection list so now I can place multiple copies of IRW on the desktoo.

rajil.s 2011-06-03 17:09

Re: [Announce] Internet Radio Widget
 
Nice work. It works quite well. The big icon is excellent to control in the car.

The only thing i miss is 'headphone daemon' which will automatically stop the audio when headphone is plugged out.

don_falcone 2012-11-08 16:19

Re: [Announce] Internet Radio Widget
 
FYI: The widget crashes if InternetRadioWidgetStations.txt contains empty lines inbetween items.
Also, the use of '-' as a delimiter is not advisable, as people can't then use them in descriptions.

Do you intent to upload 0.2.0 to the repository at all?

gionni88 2012-11-09 09:06

Re: [Announce] Internet Radio Widget
 
Thanks for the reports. Right now I have no time at all, and my list of maemo/meego todos keeps growing...

I won't upload 0.2.0 to the repository, I have problems with latest QtCreator managing projects to send to autobuilder.

I also tried building this project yesterday after your pm but I kept getting errors.


All times are GMT. The time now is 10:35.

vBulletin® Version 3.8.8