fallback as playlist

This commit is contained in:
Evert Prants 2019-01-11 15:17:02 +02:00
parent f7b9117013
commit 9fb536c064
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
3 changed files with 3 additions and 2 deletions

View File

@ -18,7 +18,7 @@ const defvals = {
port: 7004
},
liquidsoap: {
fallback: '',
fallback: 'fallback.pls',
entry: 'liq/view.liq',
output: {
bitrate: 2000,

1
liq/.gitignore vendored
View File

@ -1 +1,2 @@
/schedule.png
/fallback.pls

View File

@ -13,7 +13,7 @@ set("frame.video.height",confint("liquidsoap.output.height", 720))
set("frame.video.samplerate",confint("liquidsoap.output.samplerate", 25))
# Schedule image
video_no_queue = single(confstr("liquidsoap.fallback",""), conservative=true)
video_no_queue = mksafe(playlist(confstr("liquidsoap.fallback",""),conservative=true,reload_mode="watch"))
image_schedule = playlist("schedule.pls",reload_mode="watch")
image_schedule = mux_audio(audio=blank(),image_schedule)