mirror of https://xfnw.ttm.sh/git/radio.git
readme and make configuration more portable
This commit is contained in:
parent
f5108452be
commit
f9efd20d19
|
@ -0,0 +1,28 @@
|
||||||
|
# radio
|
||||||
|
My janky liquidsoap scripts
|
||||||
|
|
||||||
|
## basic use
|
||||||
|
setup your passwords file
|
||||||
|
|
||||||
|
```
|
||||||
|
# passwords.liq
|
||||||
|
|
||||||
|
user="lickthecheese"
|
||||||
|
password="hackme"
|
||||||
|
```
|
||||||
|
|
||||||
|
make a playlist in m3u or just use genplaylist
|
||||||
|
|
||||||
|
```
|
||||||
|
./genplaylist > spooky.m3u
|
||||||
|
```
|
||||||
|
|
||||||
|
it will then use fuzzy finder to find your music lol.
|
||||||
|
|
||||||
|
Your moosic probably should follow Music/Artist\_-\_This\_is\_a\_song.mp3
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
now just run the liquidsoap you want lol
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ set("log.file.path","/tmp/xfnw-basic-radio.log")
|
||||||
radio = crossfade(normalize(random([playlist.once(argv(1),random=false)])))
|
radio = crossfade(normalize(random([playlist.once(argv(1),random=false)])))
|
||||||
|
|
||||||
output.icecast(%vorbis,
|
output.icecast(%vorbis,
|
||||||
host="radio.tildeverse.org",user="lickthecheese",port=8005,password=password,
|
host="radio.tildeverse.org",user=user,port=8005,password=password,
|
||||||
mount="/",
|
mount="/",
|
||||||
on_blank(shutdown,radio),
|
on_blank(shutdown,radio),
|
||||||
on_stop=shutdown,
|
on_stop=shutdown,
|
||||||
|
|
|
@ -7,7 +7,7 @@ set("log.file.path","/tmp/xfnw-basic-radio.log")
|
||||||
radio = crossfade(normalize(random([playlist.once(argv(1),random=true)])))
|
radio = crossfade(normalize(random([playlist.once(argv(1),random=true)])))
|
||||||
|
|
||||||
output.icecast(%vorbis,
|
output.icecast(%vorbis,
|
||||||
host="radio.tildeverse.org",user="lickthecheese",port=8005,password=password,
|
host="radio.tildeverse.org",user=user,port=8005,password=password,
|
||||||
mount="/",
|
mount="/",
|
||||||
on_blank(shutdown,radio),
|
on_blank(shutdown,radio),
|
||||||
on_stop=shutdown,
|
on_stop=shutdown,
|
||||||
|
|
|
@ -7,7 +7,7 @@ set("log.file.path","/tmp/xfnw-basic-radio.log")
|
||||||
radio = crossfade(normalize(random([playlist.once(argv(1),random=true)])))
|
radio = crossfade(normalize(random([playlist.once(argv(1),random=true)])))
|
||||||
|
|
||||||
output.icecast(%vorbis,
|
output.icecast(%vorbis,
|
||||||
host="radio.tildeverse.org",user="lickthecheese",port=8015,password=password,
|
host="radio.tildeverse.org",user=user,port=8015,password=password,
|
||||||
mount="/",
|
mount="/",
|
||||||
on_blank(shutdown,radio),
|
on_blank(shutdown,radio),
|
||||||
on_stop=shutdown,
|
on_stop=shutdown,
|
||||||
|
|
|
@ -7,7 +7,7 @@ set("log.file.path","/tmp/xfnw-basic-radio.log")
|
||||||
radio = crossfade(normalize(random([playlist.once(argv(1),random=false)])))
|
radio = crossfade(normalize(random([playlist.once(argv(1),random=false)])))
|
||||||
|
|
||||||
output.icecast(%vorbis,
|
output.icecast(%vorbis,
|
||||||
host="radio.tildeverse.org",user="lickthecheese",port=8015,password=password,
|
host="radio.tildeverse.org",user=user,port=8015,password=password,
|
||||||
mount="/",
|
mount="/",
|
||||||
on_blank(shutdown,radio),
|
on_blank(shutdown,radio),
|
||||||
on_stop=shutdown,
|
on_stop=shutdown,
|
||||||
|
|
Loading…
Reference in New Issue