Page 1 of 1

GTK RADIO (Do you know how to add radios?) (SOLVED)

Posted: Sun Jun 16, 2024 6:01 am
by pp4mnklinux

Hello everybody:

My GTK Radio List has been changed and most of my favorites dissapeared.

Do you know how can I obtain an updated list of radios?

n.b.- Ready List or urls to be added to my actual list

Thanks a lot in advance


______EDITED_____

Solved, hundreds of radios added and new lists created depending on the genre.

As easy as use the included search and then save lists, stations... whatever you want.


Re: GTK RADIO (Do you know how to add radios?)

Posted: Sun Jun 16, 2024 9:19 am
by amethyst

Easiest solution would be to use Fred's YRadio instead or to source playlists from YRadio.


Re: GTK RADIO (Do you know how to add radios?) (SOLVED)

Posted: Sun Jun 16, 2024 3:54 pm
by fredx181

Simple Gtk Radio isn't really maintained anymore, I think.
See for YRadio here: viewtopic.php?t=8273


Re: GTK RADIO (Do you know how to add radios?) (SOLVED)

Posted: Wed Aug 21, 2024 4:54 pm
by nik120s

optional
after
[ -f $SGRTMP/changer ] && CHANGER=`cat $SGRTMP/changer`
insert

Code: Select all

         echo '<window decorated="false" type-hint="6" skip-taskbar-hint="true">
 <vbox> <hbox height-request="22"><hbox> 
 <button relief="2" tooltip-text=" '$(gettext 'Play')' ">
    <input file stock="gtk-media-play"></input>
    <action>$SGRBIN play &</action>
 </button>
 <button relief="2" tooltip-text=" '$(gettext 'Stop radio')' ">
    <input file stock="gtk-media-stop"></input>
    <action>$SGRBIN stop &</action>
 </button>
 <button relief="2" tooltip-text=" '$(gettext 'Play previous station')' ">
    <input file stock="gtk-media-previous"></input>
    <action>$SGRBIN prev &</action>
 </button>
 <button relief="2" tooltip-text=" '$(gettext 'Play next station')' ">
    <input file stock="gtk-media-next"></input>
    <action>$SGRBIN next &</action>
 </button></hbox><hbox width-request="300" homogeneous="true">
  <text auto-refresh="true" height-request="20" max-width-chars="30">
    <input file>"/tmp/sgr.root/station"</input>
 </text></hbox></hbox> 
 <hbox homogeneous="true"><text auto-refresh="true" selectable="true" height-request="20" max-width-chars="40" wrap="false" use-markup="true">
    <input file>"/tmp/sgr.root/NP"</input>
 </text></hbox>
  </vbox>
</window>' | gtkdialog -sG 450x50+1460+980 &

and after
$SGRBIN stop &

Code: Select all

kill $(ps -eo pid,cmd | grep -v grep | grep -e "gtkdialog -sG" | awk '{ print $1 }') 2> /dev/null