0
我就从http://player.radiopilatus.ch喜欢解释,并在IRC歌曲annouce实时当改变乐曲的新annouceTcl的HTML单选annouce
我已经testet这一点,但不幸的是我没有问题
set radio_url "http://player.radiopilatus.ch"
bind pub - !radio radio_get
proc radio_get { nick uhost handle channel text } {
global radio_url
set file [open "|lynx -source $radio_url" r]
set html "[gets $file]"
regsub -all "<br>" $html " " html
regsub -all "<\[^b]{0,1}b{0,1}>" $html "" html
regsub "text1=" $html "" html
regsub "NOW PLAYING:" $html "Now on http://player.radiopilatus.ch playing \002" html
putnow "PRIVMSG $channel :$html";
}
在我想是这样结尾:
!song Interpret Song Unixtimestamp !song MARLON_ROUDETTE NEW_AGE 1483293195