Formatting of code : You can (and must) use [ tcl ] an [ /tcl ] tags (without spaces in tags) to format your TCL codes and have syntax coloration x


enlist radio tcl
#1
hi all, it's me once again. i hope all is well.


does anyone know a script to enlist radio station in both icecast & shoutcast?


example:

my radio is station is icecast, it requires the radio urlhttp://ip:port/stream  and the radio name is radio1
my other radio is station is shoutcast, it requires the radio urlhttp://ip:port/stream and the radio name is radio2


now what will i do in the script is to add their link;

RADIO1(icecast)

<user>!addradio radio1 http://ip:port/stream
<bot>Radio has been added to the list, type !radio1 for info.

<user>!radio1
[<bot>[Radio1] Now playing: Jim Croce - Time in a Bottle with 13 listeners


RADIO2 (shoutcast)
<user>!addradio radio2 http://ip:port/stream
<bot>Radio has been added to the list, type !radio2 for info.


<user>!radio2
<bot>[Radio2] Now playing: Jim Croce - Time in a Bottle with 13 listeners!




Now, if there are already more radios added or listed in the script, we can set a command by typing !radioinfo


<user>!radioinfo
<bot notice>Welcome to #RadioInfo ! Listed Radio Stations are as follows !
<bot notice>RadioInfo: !radio1 ( name of the radio station ) , !radio2 ( name of the radio station )





So, this script will be a service for all radio station who would like to be listed.







If anyone interested.. we can discuss it here..  :)
  Reply


Messages In This Thread
enlist radio tcl - by mabrook - 06/10/2021, 11:38
RE: enlist radio tcl - by CrazyCat - 06/10/2021, 11:47
RE: enlist radio tcl - by mabrook - 06/10/2021, 11:48
RE: enlist radio tcl - by CrazyCat - 06/10/2021, 12:01
RE: enlist radio tcl - by mabrook - 06/10/2021, 12:14
RE: enlist radio tcl - by CrazyCat - 06/10/2021, 12:41
RE: enlist radio tcl - by mabrook - 06/10/2021, 15:00
RE: enlist radio tcl - by CrazyCat - 12/10/2021, 11:08
RE: enlist radio tcl - by mabrook - 12/10/2021, 21:04

Forum Jump:


Users browsing this thread: 1 Guest(s)