When I run
`$ youtube-dl --get-title --get-filename --
"https://www.youtube.com/watch?v=rmCA3qQkqso"
`
the output is
```
Michael Jackson - Billie Jean (30th Anniversary Celebration) (Remastered
Widescreen)
Michael Jackson - Billie Jean (30th Anniversary Celebration) (Remastered
Widescreen)-rmCA3qQkqso.mp4
```
My script is
```
#!/home/radio/.opam/4.07.0/bin/liquidsoap
set("log.file.path", "/home/radio/liq.log")
set("log.file",true)
set("log.stdout",true)
set("log.level", 5)
s = single("youtube-dl:https://www.youtube.com/watch?v=rmCA3qQkqso")
output.icecast()
```
The log output
```
2019/03/13 02:35:37 [protocol.youtube-dl:4] Executing youtube-dl --get-title
--get-filename -- "https://www.youtube.com/watch?v=rmCA3qQkqso"
2019/03/13 02:35:37 [lang.run_process:4] Starting process
2019/03/13 02:35:37 [lang.run_process:4] Closing process's stdin
2019/03/13 02:35:37 [Demo_Stream_24kbps:3] Connection setup was successful.
2019/03/13 02:35:37 [threads:3] Created thread "wallclock_main" (2 total).
2019/03/13 02:35:37 [clock:4] Main phase starts.
2019/03/13 02:35:37 [clock.wallclock_main:3] Streaming loop starts,
synchronized with wallclock.
2019/03/13 02:35:37 [single_6316:5] Queue is empty!
2019/03/13 02:35:37 [single_6316:5] Failed to prepare track: no file.
2019/03/13 02:35:37 [single_6316:5] Queue is empty!
2019/03/13 02:35:37 [single_6316:5] Failed to prepare track: no file.
2019/03/13 02:35:37 [Demo_Stream_24kbps:3] Source failed (no more tracks)
stopping output...
2019/03/13 02:35:37 [Demo_Stream_24kbps:3] Closing connection...
2019/03/13 02:35:37 [single_6316:5] Queue is empty!
2019/03/13 02:35:37 [single_6316:5] Failed to prepare track: no file.
2019/03/13 02:35:38 [single_6316:5] Queue is empty!
2019/03/13 02:35:38 [single_6316:5] Failed to prepare track: no
```
--
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-472256930
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users