mirror of https://xfnw.ttm.sh/git/radio.git
Compare commits
2 Commits
05161e8fb2
...
f9efd20d19
Author | SHA1 | Date |
---|---|---|
vulpine | f9efd20d19 | |
vulpine | f5108452be |
|
@ -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)])))
|
||||
|
||||
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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
)
|
||||
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue