readme and make configuration more portable

This commit is contained in:
vulpine 2020-07-06 21:02:48 +00:00
parent f5108452be
commit f9efd20d19
5 changed files with 32 additions and 4 deletions

28
README.md Normal file
View File

@ -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

View File

@ -7,7 +7,7 @@ set("log.file.path","/tmp/xfnw-basic-radio.log")
radio = crossfade(normalize(random([playlist.once(argv(1),random=false)])))
output.icecast(%vorbis,
host="radio.tildeverse.org",user="lickthecheese",port=8005,password=password,
host="radio.tildeverse.org",user=user,port=8005,password=password,
mount="/",
on_blank(shutdown,radio),
on_stop=shutdown,

View File

@ -7,7 +7,7 @@ set("log.file.path","/tmp/xfnw-basic-radio.log")
radio = crossfade(normalize(random([playlist.once(argv(1),random=true)])))
output.icecast(%vorbis,
host="radio.tildeverse.org",user="lickthecheese",port=8005,password=password,
host="radio.tildeverse.org",user=user,port=8005,password=password,
mount="/",
on_blank(shutdown,radio),
on_stop=shutdown,

View File

@ -7,7 +7,7 @@ set("log.file.path","/tmp/xfnw-basic-radio.log")
radio = crossfade(normalize(random([playlist.once(argv(1),random=true)])))
output.icecast(%vorbis,
host="radio.tildeverse.org",user="lickthecheese",port=8015,password=password,
host="radio.tildeverse.org",user=user,port=8015,password=password,
mount="/",
on_blank(shutdown,radio),
on_stop=shutdown,

View File

@ -7,7 +7,7 @@ set("log.file.path","/tmp/xfnw-basic-radio.log")
radio = crossfade(normalize(random([playlist.once(argv(1),random=false)])))
output.icecast(%vorbis,
host="radio.tildeverse.org",user="lickthecheese",port=8015,password=password,
host="radio.tildeverse.org",user=user,port=8015,password=password,
mount="/",
on_blank(shutdown,radio),
on_stop=shutdown,