commit fea58d4996b35e753b1dc37f5941304ff59efcca Author: xfnw Date: Mon Jul 6 20:17:38 2020 +0000 init diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cfe1600 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +passwords.liq +Music/ +Music/* +testing/* +testing +*.m3u +*.pls +*.mp3 + diff --git a/genplaylist b/genplaylist new file mode 100755 index 0000000..175c38a --- /dev/null +++ b/genplaylist @@ -0,0 +1,12 @@ +#!/bin/bash + +echo "#EXTM3U" + +while [[ 1 ]]; do + read -p 'continue (^c to cancel)?' + SELSONG=$(fzf -q Music) + printf "#EXTINF:," + echo "$SELSONG" | sed 's+Music/++'|sed ' s/_/ /'|sed 's/....$//' + echo "$SELSONG" + +done diff --git a/tr-test.liq b/tr-test.liq new file mode 100755 index 0000000..76e789d --- /dev/null +++ b/tr-test.liq @@ -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("playlist.m3u",random=true)]))) + +output.icecast(%vorbis, +host="radio.tildeverse.org",user="lickthecheese",port=8015,password=password, +mount="/", +on_blank(shutdown,radio), +on_stop=shutdown, +fallible=true +) +