-
Notifications
You must be signed in to change notification settings - Fork 0
/
amoporto
executable file
·42 lines (23 loc) · 976 Bytes
/
amoporto
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/.liquidsoap.pid")
# Settings #
enable_replaygain_metadata()
icehost = "shaincast.caster.fm"
iceport = 48045
pass = "bomdiaporto1985"
mountpoint = "listen.mp3"
icename = "Radio Amo Porto"
icegenre = "Chillhop"
descr = "Having today, with some chillhopping"
url = "http://www.brighterdan.com/radio/"
# Sources #
collection = playlist(mode='randomize', reload=1, reload_mode="rounds", "/home/daniel/Música/radio/")
radio = fallback([collection])
radio = mksafe(radio)
# Output #
output.icecast(%mp3(samplerate=44100, stereo=true, id3v2=true, bitrate=128), id="main", name=icename, host=icehost, port=iceport, password=pass, mount=mountpoint, genre=icegenre, icy_metadata="true", description=descr, url=url, public=true, radio)