-
Notifications
You must be signed in to change notification settings - Fork 0
/
ana-stream
executable file
·42 lines (23 loc) · 915 Bytes
/
ana-stream
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/home/daniel/.opam/bin/liquidsoap
# Standard settings
set("log.file.path", "/var/log/liquidsoap/liquidsoap.log")
set("init.daemon", true)
set("log.stdout", true)
set("log.file", true)
set("init.daemon.pidfile.path", "/home/daniel/.config/.liquidsoap.pid")
# Settings #
enable_replaygain_metadata()
icehost = "localhost"
iceport = 8555
pass = "danielsantos"
mountpoint = "listen.ogg"
icename = "Radio Then"
icegenre = "Chillhop"
descr = "Having now, with some chillhopping :)"
url = "//www.brighterdan.com/"
# Sources #
collection = playlist(mode='randomize', reload=1, reload_mode="rounds", "/home/daniel/Música/radio/_playlist.m3u")
radio = fallback([collection])
radio = mksafe(radio)
# Output #
output.icecast(%vorbis, id="main", name=icename, host=icehost, port=iceport, password=pass, mount=mountpoint, genre=icegenre, icy_metadata="true", description=descr, url=url, public=true, radio)