Commit 41c9a4d8 authored by totalreset's avatar totalreset

added script and updated README

parent 73dd7669
# Phreakuency Radio
Online radio material. https://phreakuency.tk/
\ No newline at end of file
Free underground Online internet radio. https://phreakuency.tk/
## Here are some scripts and stuff
Liquidsoap scripts and website stuff should be found here.
Changelog will come soon.
phreakuencyradioV2.liq is the actual radio script.
#!/usr/bin/liquidsoap
# Put the log file in some directory where
# you have permission to write.
set("log.file.path","/tmp/<script>.log")
# Print log messages to the console,
# can also be done by passing the -v option to liquidsoap.
set("log.stdout", true)
# A bunch of files and playlists,
# supposedly all located in the same base dir.
security = single("~/phreakuencyradiodata/error/error23.ogg")
day = playlist("~/phreakuencyradiodata/tracks/day.pls")
night = playlist("~/phreakuencyradiodata/sets/night.pls")
jingles = playlist("~/phreakuencyradiodata/jingles/jingles.m3u")
# Play user requests if there are any,
# otherwise one of our playlists,
# and the default file if anything goes wrong.
radio = fallback([ request.queue(id="request"),
switch([({ 6h-22h }, day),
({ 22h-6h }, night)]),
security])
# Add the normal jingles
radio = random(weights=[1,3],[ jingles, radio ])
# Add the ability to relay live shows
full =
fallback(track_sensitive=false,
[input.http("http://putyoururl.com/mount.ogg"),
radio])
# Output the full stream in OGG and MP3
output.icecast(%mp3,
host="totalreset.tk",port=8099,password="xxxxxxxxxxx",name="Phreakuency Radio", description="Underground Internet Music Radio.",
mount="phreakuency.mp3",full)
output.icecast(%vorbis,
host="totalreset.tk",port=8099,password="xxxxxxxxxxx",name="Phreakuency Radio", description="Underground Internet Music Radio.",
mount="phreakuency.ogg",full)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment