diff --git a/README.md b/README.md new file mode 100644 index 0000000..754536a --- /dev/null +++ b/README.md @@ -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 + + diff --git a/tr-play.liq b/tr-play.liq index 4f05d6d..313e130 100755 --- a/tr-play.liq +++ b/tr-play.liq @@ -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, diff --git a/tr-random.liq b/tr-random.liq index 042e89a..db8ad0c 100755 --- a/tr-random.liq +++ b/tr-random.liq @@ -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, diff --git a/tr-test-random.liq b/tr-test-random.liq index 3045b8c..c0fee98 100755 --- a/tr-test-random.liq +++ b/tr-test-random.liq @@ -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, diff --git a/tr-test.liq b/tr-test.liq index b349249..75186dc 100755 --- a/tr-test.liq +++ b/tr-test.liq @@ -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,