-
Notifications
You must be signed in to change notification settings - Fork 0
/
noagenda.liq
54 lines (45 loc) · 1.51 KB
/
noagenda.liq
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
43
44
45
46
47
48
49
50
51
52
53
54
# vim: ft=liq ts=4 sw=4 sts=2 et ai fdm=marker
# % -- noagenda.liq -- %
# Log dir
set("log.file.path","/stor/nastream/logs/noagenda.log")
set("init.concurrent",true)
set("request.metadata_decoders.override",true)
set("tag.encodings",["UTF-8","ISO-8859-1"])
# Reset output if latency becomes >30s
set("root.max_latency",30.)
# Telnet settings
set("server.telnet", true)
set("server.telnet.bind_addr", "0.0.0.0")
set("server.telnet.port", 2300)
# Incoming stream's settings
set("harbor.bind_addr","0.0.0.0")
# Stream public info
streamname = "No Agenda Stream"
streamdesc = "All talk, no commercials. No Agenda."
streamgenre = "Talk radio"
streamurl = "http://www.noagendastream.com/"
# The actual funky stuff happens
# via these included files
%include "include/secrets.liq"
%include "include/library.liq"
%include "include/radio.liq"
def pushit(h, i)
output.icecast(%mp3.vbr(id3v2=true, internal_quality=4),
id = i,
host = h,
port = 80,
encoding = "UTF-8",
password = streampass,
name = streamname,
description = streamdesc,
genre = streamgenre,
url = streamurl,
mount = streammount,
icy_metadata = "true",
stream)
end
pushit(nastream1, "huxley")
pushit(nastream2, "orwell")
pushit(nastream3, "quentin")
pushit(nastream4, "kubrick")
pushit(nastream5, "sundance")