you also need `youtube-dl` installed on your system for the script to work.
Also, if you have on `output.icecast()` `on_stop=shutdown` you need to remove
it because it will not work and will shutdown your script.
Maybe this is something for the **devs** to work on.
Here is my log when using `gstreamer.hls()` that triggers inadvertally the
`output.icecast()` `on_stop` parameter:
```
2019/04/19 19:04:10 >>> LOG START
2019/04/19 19:04:05 [main:3] Liquidsoap 1.3.7
2019/04/19 19:04:05 [main:3] Using: bytes=[distributed with OCaml 4.02 or
above] pcre=7.4.1 dtools=0.4.1 duppy=0.8.0 cry=0.6.2 mm=0.4.0 ogg=0.5.2
vorbis=0.7.1 opus=0.1.2 mad=0.4.5 flac=0.1.4 flac.ogg=0.1.4
dynlink=[distributed with Ocaml] lame=0.3.3 gstreamer=0.3.0 fdkaac=0.2.1
ffmpeg=0.2.1 samplerate=0.1.4 taglib=0.3.3 ssl=0.5.7 camomile=1.0.1 inotify=2.3
faad=0.4.0 pulseaudio=0.1.3
2019/04/19 19:04:06 [gstreamer.loader:3] Loaded GStreamer 1.14.4 0
2019/04/19 19:04:10 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.
2019/04/19 19:04:10 [frame:3] Frame size must be a multiple of 1764 ticks =
1764 audio samples = 1 video samples.
2019/04/19 19:04:10 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio
samples = 1764 ticks.
2019/04/19 19:04:10 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video
samples = 1764 ticks.
2019/04/19 19:04:10 [threads:3] Created thread "gstreamer_main_loop" (1 total).
2019/04/19 19:04:10 [threads:3] Created thread "generic queue #1".
2019/04/19 19:04:10 [threads:3] Created thread "generic queue #2".
2019/04/19 19:04:10 [threads:3] Created thread "non-blocking queue #1".
2019/04/19 19:04:10 [threads:3] Created thread "non-blocking queue #2".
2019/04/19 19:04:10 [main:3] Connecting mount stream.ogg for source@localhost...
2019/04/19 19:04:10 [main:3] Connection setup was successful.
2019/04/19 19:04:10 [threads:3] Created thread "wallclock_main" (2 total).
2019/04/19 19:04:10 [clock.wallclock_main:3] Streaming loop starts,
synchronized with wallclock.
2019/04/19 19:04:10 [main:3] Source failed (no more tracks) stopping output...
2019/04/19 19:04:10 [main:3] Closing connection...
2019/04/19 19:04:12 [main:3] Connecting mount stream.ogg for source@localhost...
2019/04/19 19:04:12 [main:3] Connection setup was successful.
```
Note the `Source failed (no more tracks) stopping output...` although it works
after another liquidsoap internal attempt.
This happens everytime I run [my
script](https://github.com/savonet/liquidsoap/issues/757#issuecomment-484666284)
altought I get it sound in the end. This is triggering the `on_stop` of
`output.icecast`, and in my case the `on_stop` had a `shutdown` so with it I
could not get my script to work.
--
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-484975352
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users