> I'm glad that it is working. One problem to address in this script is the
> expiration of the .m3u8 link that youtube—dl gives. Ideally we would refresh
> this link without cutting the stream. Maybe with some buffering. Does anyone
> know how to accomplish this?
>
This issue not only in this script, in many situations liquidsoap terminates or
outputs blank sometime or moves to next source if the main source failed. It
will be very useful if we are able to detect blank output and restart the
script.
or
```
emergency = single("/home/radio/media/silent/5-minutes.mp3")
url = get_process_output("youtube-dl -f 93 -g
https://www.youtube.com/watch?v=#")
video_source = gstreamer.hls(url)
audio_only_source = drop_video(video_source)
s = add(normalize=true,[audio_only_source,emergency])
```
we should write a script to restart the whole script if the emergency source
called in above example.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/savonet/liquidsoap/issues/757#issuecomment-485066717
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users