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

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
User avatar
pp4mnklinux
Posts: 1139
Joined: Wed Aug 19, 2020 5:43 pm
Has thanked: 637 times
Been thanked: 285 times

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

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

Attachments
radios.png
radios.png (74.11 KiB) Viewed 714 times
GTKRADIO.png
GTKRADIO.png (393.84 KiB) Viewed 775 times
Last edited by pp4mnklinux on Sun Jun 16, 2024 10:53 am, edited 4 times in total.

PP4MNK

User avatar
amethyst
Posts: 2420
Joined: Tue Dec 22, 2020 6:35 am
Has thanked: 57 times
Been thanked: 506 times

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

Post by amethyst »

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

User avatar
fredx181
Posts: 3100
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 377 times
Been thanked: 1323 times
Contact:

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

Post by fredx181 »

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

nik120s
Posts: 3
Joined: Mon Aug 05, 2024 2:50 pm

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

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

Return to “Users”