With the following script

```
play = playlist.safe("youtube-dl:https://www.youtube.com/watch?v=rmCA3qQkqso";)
s = fallback(track_sensitive=true,[(play)])
output.icecast(%mp3

```
I get following Log which shows connection timeout clearly

```
2019/03/01 16:12:43 >>> LOG START
2019/03/01 16:12:43 [main:3] Liquidsoap 1.3.6
2019/03/01 16:12:43 [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 mad=0.4.5 dynlink=[distributed with Ocaml] lame=0.3.3 
gstreamer=0.3.0 fdkaac=0.2.1 samplerate=0.1.4 taglib=0.3.3 camomile=1.0.1
2019/03/01 16:12:43 [gstreamer.loader:3] Loaded GStreamer 1.8.3 0
2019/03/01 16:12:43 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.
2019/03/01 16:12:43 [frame:3] Frame size must be a multiple of 1764 ticks = 
1764 audio samples = 1 video samples.
2019/03/01 16:12:43 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio 
samples = 1764 ticks.
2019/03/01 16:12:43 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video 
samples = 1764 ticks.
2019/03/01 16:12:43 [video.converter:4] Couldn't find preferred video 
converter: gavl.
2019/03/01 16:12:43 [threads:3] Created thread "gstreamer_main_loop" (1 total).
2019/03/01 16:12:43 [audio.converter:4] Using preferred samplerate converter: 
libsamplerate.
2019/03/01 16:12:43 [threads:3] Created thread "generic queue #1".
2019/03/01 16:12:43 [threads:3] Created thread "generic queue #2".
2019/03/01 16:12:43 [threads:3] Created thread "non-blocking queue #1".
2019/03/01 16:12:43 [threads:3] Created thread "non-blocking queue #2".
2019/03/01 16:12:43 [clock:4] Currently 1 clocks allocated.
2019/03/01 16:12:43 [clock.wallclock_main:4] Starting 1 sources...
2019/03/01 16:12:43 [source:4] Source output.icecast_6321 gets up.
2019/03/01 16:12:43 [source:4] Source fallback_6319 gets up.
2019/03/01 16:12:43 [source:4] Source playlist.safe_6317 gets up.
2019/03/01 16:12:43 [watch?v=rmCA3qQkqso:3] Loading playlist...
2019/03/01 16:12:43 [protocol.youtube-dl:4] Executing youtube-dl --get-title 
--get-filename -- "https://www.youtube.com/watch?v=rmCA3qQkqso";
2019/03/01 16:12:43 [lang.run_process:4] Starting process
2019/03/01 16:12:43 [lang.run_process:4] Closing process's stdin
**2019/03/01 16:12:53 [watch?v=rmCA3qQkqso:2] Timeout when resolving playlist 
URI "youtube-dl:https://www.youtube.com/watch?v=rmCA3qQkqso"!**
2019/03/01 16:12:53 [clock.wallclock_main:2] Error when starting 
Demo_Stream_24kbps: File "sources/playlist.ml", line 246, characters 8-14: 
Assertion failed!
2019/03/01 16:12:53 [clock.wallclock_main:3] Raised at file 
"sources/playlist.ml", line 246, characters 8-64
2019/03/01 16:12:53 [clock.wallclock_main:3] Called from file 
"sources/playlist.ml", line 510, characters 4-32
2019/03/01 16:12:53 [clock.wallclock_main:3] Called from file 
"sources/playlist.ml", line 493, characters 4-23
2019/03/01 16:12:53 [clock.wallclock_main:3] Called from file "source.ml", line 
388, characters 6-18
2019/03/01 16:12:53 [clock.wallclock_main:3] Called from file 
"sources/playlist.ml", line 521, characters 4-31
2019/03/01 16:12:53 [clock.wallclock_main:3] Called from file 
"operators/switch.ml", line 105, characters 9-20
2019/03/01 16:12:53 [clock.wallclock_main:3] Called from file "list.ml", line 
106, characters 12-15
2019/03/01 16:12:53 [clock.wallclock_main:3] Called from file "source.ml", line 
388, characters 6-18
2019/03/01 16:12:53 [clock.wallclock_main:3] Called from file 
"outputs/output.ml", line 130, characters 4-20
2019/03/01 16:12:53 [clock.wallclock_main:3] Called from file "source.ml", line 
388, characters 6-18
2019/03/01 16:12:53 [clock.wallclock_main:3] Called from file "clock.ml", line 
221, characters 15-26
2019/03/01 16:12:53 [Demo_Stream_24kbps:1] Got ill-balanced activations (from 
Demo_Stream_24kbps)!
2019/03/01 16:12:53 [clock:2] Error when leaving output Demo_Stream_24kbps: 
File "source.ml", line 414, characters 10-16: Assertion failed!
2019/03/01 16:12:53 [clock:3] Raised at file "source.ml", line 414, characters 
10-22
2019/03/01 16:12:53 [clock:3] Called from file "source.ml", line 421, 
characters 30-58
2019/03/01 16:12:53 [clock:3] Called from file "clock.ml", line 79, characters 
6-13
2019/03/01 16:12:53 [clock:4] Main phase starts.
2019/03/01 16:12:53 [main:3] Shutdown started!
2019/03/01 16:12:53 [main:3] Waiting for threads to terminate...
2019/03/01 16:12:53 [threads:3] Shuting down thread gstreamer_main_loop
2019/03/01 16:12:53 [threads:3] Thread "gstreamer_main_loop" terminated (0 
remaining).
2019/03/01 16:12:53 [main:3] Threads terminated.
2019/03/01 16:12:53 [threads:3] Shutting down scheduler...
2019/03/01 16:12:53 [threads:3] Scheduler shut down.
2019/03/01 16:12:53 [threads:3] Shutting down queues...
2019/03/01 16:12:53 [threads:3] Thread "generic queue #1" terminated.
2019/03/01 16:12:53 [threads:3] Thread "generic queue #2" terminated.
2019/03/01 16:12:53 [threads:3] Thread "non-blocking queue #1" terminated.
2019/03/01 16:12:53 [threads:3] Thread "non-blocking queue #2" terminated.
2019/03/01 16:12:53 [threads:3] Queues shut down
2019/03/01 16:12:53 [main:3] Cleaning downloaded files...
2019/03/01 16:12:53 [main:3] Freeing memory...
```

-- 
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/726#issuecomment-468720935
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to