mirror of https://xfnw.ttm.sh/git/radio.git
argv for more playlists
This commit is contained in:
parent
fea58d4996
commit
57dd10ba64
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/liquidsoap
|
||||
# Log dir
|
||||
set("log.file.path","/tmp/xfnw-basic-radio.log")
|
||||
|
||||
%include "passwords.liq"
|
||||
|
||||
radio = crossfade(normalize(random([playlist.once(argv(1),random=false)])))
|
||||
|
||||
output.icecast(%vorbis,
|
||||
host="radio.tildeverse.org",user="lickthecheese",port=8005,password=password,
|
||||
mount="/",
|
||||
on_blank(shutdown,radio),
|
||||
on_stop=shutdown,
|
||||
fallible=true
|
||||
)
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/liquidsoap
|
||||
# Log dir
|
||||
set("log.file.path","/tmp/xfnw-basic-radio.log")
|
||||
|
||||
%include "passwords.liq"
|
||||
|
||||
radio = crossfade(normalize(random([playlist.once(argv(1),random=true)])))
|
||||
|
||||
output.icecast(%vorbis,
|
||||
host="radio.tildeverse.org",user="lickthecheese",port=8005,password=password,
|
||||
mount="/",
|
||||
on_blank(shutdown,radio),
|
||||
on_stop=shutdown,
|
||||
fallible=true
|
||||
)
|
||||
|
|
@ -4,7 +4,7 @@ set("log.file.path","/tmp/xfnw-basic-radio.log")
|
|||
|
||||
%include "passwords.liq"
|
||||
|
||||
radio = crossfade(normalize(random([playlist.once("playlist.m3u",random=true)])))
|
||||
radio = crossfade(normalize(random([playlist.once(argv(1),random=true)])))
|
||||
|
||||
output.icecast(%vorbis,
|
||||
host="radio.tildeverse.org",user="lickthecheese",port=8015,password=password,
|
||||
|
|
Loading…
Reference in New Issue