mirror of https://xfnw.ttm.sh/git/radio.git
init
commit
fea58d4996
|
@ -0,0 +1,9 @@
|
|||
passwords.liq
|
||||
Music/
|
||||
Music/*
|
||||
testing/*
|
||||
testing
|
||||
*.m3u
|
||||
*.pls
|
||||
*.mp3
|
||||
|
|
@ -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
|
|
@ -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
|
||||
)
|
||||
|
Loading…
Reference in New Issue