45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
|
#!/usr/bin/liquidsoap
|
||
|
# Log dir
|
||
|
log.file.path.set("/tmp/basic-radio.log")
|
||
|
|
||
|
# Music
|
||
|
#myplaylist = playlist("~/radio/music.m3u")
|
||
|
# Some jingles
|
||
|
#jingles = playlist("~/radio/jingles.m3u")
|
||
|
# If something goes wrong, we'll play this
|
||
|
#security = single("~/radio/sounds/default.ogg")
|
||
|
|
||
|
# Start building the feed with music
|
||
|
#radio = myplaylist
|
||
|
# Now add some jingles
|
||
|
#radio = random(weights = [1, 4],[jingles, radio])
|
||
|
# And finally the security
|
||
|
#radio = fallback(track_sensitive = false, [radio, security])
|
||
|
|
||
|
radio = input.jack();
|
||
|
|
||
|
# Stream it out
|
||
|
output.icecast(%vorbis,
|
||
|
host = "rizom.si", port = 8000,
|
||
|
password = "hackmeheklab", mount = "whistling_in_the_wind.ogg",
|
||
|
genre= "Ambient",
|
||
|
url= "https://kons-platforma.org/" ,
|
||
|
description = "Sound Installation / Data Sonification",
|
||
|
id="WITW",
|
||
|
name="Whistling in the Wind",
|
||
|
|
||
|
radio)
|
||
|
|
||
|
output.icecast(%mp3(bitrate=256),
|
||
|
host = "rizom.si", port = 8000,
|
||
|
password = "hackmeheklab", mount = "whistling_in_the_wind.mp3",
|
||
|
genre= "Ambient",
|
||
|
url= "https://kons-platforma.org/" ,
|
||
|
description = "Sound Installation / Data Sonification",
|
||
|
id="WITW",
|
||
|
name="Whistling in the Wind",
|
||
|
radio)
|
||
|
|
||
|
|
||
|
|