Page 1 of 6

Simple GTK Radio v0.1.18

Posted: Wed 18 Dec 2013, 23:38
by dejan555
Simple GTK Radio is small frontend for playing online streams with mplayer

Screenshot

Version 0.1.18
Radio stations format is changed and when you install this pet pinstall.sh script is included which will ask you to convert your playlists into new format.
Stations are not shown in menu anymore, but in window which is also used for search results and playlists can be loaded without restarting application.
gtkdialog's edit widget is used for editing stations, but external editor can be also specified.
There is option in preferences to specify which audio channel is controled by volume bar.
Some hints for window managers are added - main window can be undecorated or not shown in taskbar.

Version 0.1.17
Playlist chooser on startup is replaced with submenu with list of playlists in stations menu
Added option to save search results as playlist.
Now you can have station name displayed
Options to enable/disable station name, now playing also added to preferences dialog, only toolbar that you can't hide is the top one with menu and butons
smokey01 made a .pdf help file which can be installed as separate pet
simplegtkradio-help.pet 267 KB

Version 0.1.16
Added option in preferences to download list of stations for search
Changed "S" label to icon - tooltip text shows which playlist is loaded
I have also added lists posted in this thread to /usr/local/simplegtkradio/config but you'll need to copy them manually to your config dir, only default one is copied if not found, just thought I would archive them because they're not big
Search is now sorted alphabetically
Here's the latest RadioSure database converted if you want to add manually, just unpack it in playlists dir (don't add playlist prefix, leave filename same) RadioSure-30_01_2014.tar.bz2

Posted: Thu 19 Dec 2013, 00:22
by ally
nice!

thanks

:)

Posted: Thu 19 Dec 2013, 16:12
by mikeb
Just a question that's always bugged me so don't take this the wrong way but you might shed some light on this, but the gmplayer gui/skins interface has significantly less dependencies then gtkdialog4 (and gnome-mplayer) and as such would provide a lighter alternative...so why is this option of mplayer rarely used on puppy? A recent build I did only added 400k to 8.5MB uncompressed.

mike

Posted: Thu 19 Dec 2013, 16:36
by dejan555
You're probably right, don't know I guess it's a matter of personal preference, I have amarok installed on my puppy too that can play streams just fine and show pretty OSD on song change but this was a fun project with mplayer as backend and all of these dependencies are now incorporated in new puppies anyway.

It all started actually as a fluxbox menu - I liked the idea of having Radio submenu just there in fluxbox right click for easy access and play with mplayer in background and I didn't even use gtkdialog or show any info on-screen. Script would generate fluxbox submenu from stations stored in a text file.

Things just added up from there and then I converted whole script to gtkdialog for general puppy use non wm-specific (puppy already has pupradio which also uses gtkdialog/mplayer and can stream radio and TV streams but hey like I said someone might like this and use)

Also when I play movies I do it with either mplayer or cvlc without any GUIs.

Posted: Thu 19 Dec 2013, 18:25
by mikeb
yes...was not really a comment on your project here... just I noticed over the years the inclusion of mplayer without gmplayer. Last time I saw it was tempestuous' 2.02 regression.

I like buttons :) ... so gui's are something I like around...I actually have one skin for mplayer that looks exactly like xmms.... just to confuse the unwary :D

Ok I will leave you glowing in the comfort that you get more replies than I do.... ;)

mike

Posted: Thu 19 Dec 2013, 18:29
by dejan555
Well I recall gmplayer being buggy in puppy and would freeze if not launched from icon on desktop or something like that, I doubt Barry would include gnome-mplayer gui if he had a good lighter alternative. gmplayer has nice skins support though.

Posted: Thu 19 Dec 2013, 18:36
by mikeb
Ah yes there was a puppy cock up.... you have a good memory... perhaps that's the reason. Fortunately tempestuous got it right and I have used it ever since :)

mike

ps gnome-mplayer...think that's for the browser embedding though I found the older implementation slicker.....gerko media player

Posted: Mon 06 Jan 2014, 22:37
by dejan555
Added new slightly different version - see changelog and attached pet in first post

Posted: Tue 07 Jan 2014, 20:59
by dejan555
Changed slightly again, new pet added

Posted: Wed 08 Jan 2014, 22:25
by dejan555
More buttons! :D
Uninstall previous pet before installing this one (moved scripts from /usr/bin to own directory)

Posted: Wed 08 Jan 2014, 22:33
by dejan555
Hey, sorry if someone already downloaded 0.1.3 pet, fixed a little bug and reuploaded (my bad!)
EDIT: Ugh, reuploaded again, I'll have to thinker more for auto changer script to work and exit properly, you'll have to hit button to kill process even you do hit "stop" for now.

Posted: Thu 09 Jan 2014, 23:33
by dejan555
Auto-changer script fixed and converted Xdialog/gtkdialog-splash scripts to gtkdialog4

Url

Posted: Fri 10 Jan 2014, 08:38
by Spaccafumo
How to translate this url in Simple GTK Radio?
http://www.radio1.rai.it/dl/portaleRadi ... o.html?v=1
Thanks

Posted: Fri 10 Jan 2014, 17:16
by dejan555

Posted: Thu 16 Jan 2014, 08:48
by mikeb
I believe you want to collect streams... this might be of interest...

http://www.surfmusic.de/internetradio/europe.html

work in any player I have tried but you probably want the standalone player links.

mike

Posted: Thu 16 Jan 2014, 21:10
by dejan555
Thanks Mike, seems like they list a lot of stations guess I'll find something good

Posted: Fri 17 Jan 2014, 13:47
by keniv
I've just started to use simple gtk radio. I like it. However, I added the following url. It is the url for BBC Radio 4 in the UK.

http://bbc.co.uk/radio/listen/live/r4.asx

It works in pupradio. I've included the last line of my radio stations file.

Code: Select all

http://bbc.co.uk/radio/listen/live/r4.asx        #BBC Radio 4
Any ideas as to how to fix this.

Regards,

Ken.

Posted: Fri 17 Jan 2014, 15:23
by vovchik
Dear keniv

just preface your URL line with "-playlist ", i.e.:

Code: Select all

-playlist http://bbc.co.uk/radio/listen/live/r4.asx        #BBC Radio 4
I think that Dejan can change the code to parse for m3u and asx and preface those URLs with a "-playlist " before sending to mplayer. But my method works without changing the current parsing code.

With kind regards,
vovchik

Posted: Fri 17 Jan 2014, 18:22
by keniv
Hello vovchik,

Thanks very much for that. Have just tried it and it works. This is very useful to me as all the urls I have for the various BBC stations all end in .asx.

Thanks again,

Ken.

Posted: Sat 18 Jan 2014, 08:42
by dejan555
vovchik, thanks for answering and for introducing me to this mplayer command option, I've found that .pls / .m3u links work as long as there's only one url specified in it but not if there are multiple server urls, never loaded an .asx though

I'll see what I can do with this, maybe scan if link has .pls/.m3u/.asx /whatever other extension in it and tell player to use -playlist option instead

Also, any contributions to code are welcome :)
For now what you used is a quick fix.

In next version I'll also remove --center option from gtkdialog because window jumps to center if song title resizes it in case you moved it somewhere.