Compare commits

...

2 Commits

Author SHA1 Message Date
vulpine f9efd20d19 readme and make configuration more portable 2020-07-06 21:02:48 +00:00
vulpine f5108452be allow in-order testing 2020-07-06 20:50:08 +00:00
5 changed files with 48 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,

16
tr-test-random.liq Executable file
View File

@ -0,0 +1,16 @@
#!/usr/bin/liquidsoap
# Log dir
set("log.file.path","/tmp/xfnw-basic-radio.log")
%include "passwords.liq"
radio = crossfade(normalize(random([playlist.once(argv(1),random=true)])))
output.icecast(%vorbis,
host="radio.tildeverse.org",user=user,port=8015,password=password,
mount="/",
on_blank(shutdown,radio),
on_stop=shutdown,
fallible=true
)

View File

@ -4,10 +4,10 @@ set("log.file.path","/tmp/xfnw-basic-radio.log")
%include "passwords.liq"
radio = crossfade(normalize(random([playlist.once(argv(1),random=true)])))
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,