Simple GTK Radio v0.1.18

Audio editors, music players, video players, burning software, etc.
Message
Author
User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

Simple GTK Radio v0.1.18

#1 Post 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
Attachments
simplegtkradio-0.1.18.pet
(30.88 KiB) Downloaded 1507 times
simplegtkradio-0.1.17.pet
(32.57 KiB) Downloaded 883 times
Changelog.txt.gz
Remove fake .gz
(5.32 KiB) Downloaded 790 times
simplegtkradio-older-versions.tar
(170 KiB) Downloaded 683 times
simplegtkradio-0.1.16.pet
(29.02 KiB) Downloaded 896 times
Last edited by dejan555 on Wed 12 Feb 2014, 23:34, edited 29 times in total.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
ally
Posts: 1957
Joined: Sat 19 May 2012, 19:29
Location: lincoln, uk
Contact:

#2 Post by ally »

nice!

thanks

:)

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#3 Post 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

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#4 Post 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.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#5 Post 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

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#6 Post 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.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#7 Post 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

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#8 Post by dejan555 »

Added new slightly different version - see changelog and attached pet in first post
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#9 Post by dejan555 »

Changed slightly again, new pet added
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#10 Post by dejan555 »

More buttons! :D
Uninstall previous pet before installing this one (moved scripts from /usr/bin to own directory)
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#11 Post 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.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#12 Post by dejan555 »

Auto-changer script fixed and converted Xdialog/gtkdialog-splash scripts to gtkdialog4
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
Spaccafumo
Posts: 33
Joined: Thu 15 Jan 2009, 11:06
Location: Sulmona - Italy

Url

#13 Post by Spaccafumo »

How to translate this url in Simple GTK Radio?
http://www.radio1.rai.it/dl/portaleRadi ... o.html?v=1
Thanks

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#14 Post by dejan555 »

puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#15 Post 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

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#16 Post by dejan555 »

Thanks Mike, seems like they list a lot of stations guess I'll find something good
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

keniv
Posts: 583
Joined: Tue 06 Oct 2009, 21:00
Location: Scotland

#17 Post 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.

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#18 Post 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

keniv
Posts: 583
Joined: Tue 06 Oct 2009, 21:00
Location: Scotland

#19 Post 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.

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#20 Post 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.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

Post Reply