Good morning,

When attempting to use an http-protocol link in a script, Liquidsoap calls
curl as expected, but the success of the curl process seems undetected by
the calling program.

I have debugged by altering protocols.liq to change the curl command line
to dump curl's errors into a file (there are no errors); I have watched the
curl process on the console. I have straced it, and it exits without error
(returns 0 to the calling process).

Curl works: the file appears in the filesystem as planned, but the error is:

2018/12/29 11:47:08 [protocol.process:4] Processing mp3,/usr/bin/curl -sL
"http$(colon)//johnwarburton.net/myfile.mp3" -o $(output)
2018/12/29 11:47:08 [protocol.process:4] Executing /usr/bin/curl -sL "
http://johnwarburton.net/myfile.mp3"; -o "/tmp/liq-process819d71.mp3"
2018/12/29 11:47:08 [lang.run_process:4] Starting process
2018/12/29 11:47:08 [lang.run_process:4] Closing process's stdin
2018/12/29 11:47:28 [lang.run_process:4] Cleaning up process
2018/12/29 11:47:28 [protocol.process:3] Failed to execute /usr/bin/curl
-sL "http://johnwarburton.net/myfile.mp3
<http://video.news.sky.com/snr/news/snrnews.mp3>" -o
"/tmp/liq-process819d71.mp3": ("timeout","19.8803100586")
2018/12/29 11:47:28 [request:4] Failed to resolve
"process:mp3,/usr/bin/curl -sL \"http$(colon)//johnwarburton.net/myfile.mp3\
<http://johnwarburton.net/myfile.mp3%5C>" -o $(output)"! For more info, see
server command 'trace 17'.

Any ideas?

with best wishes,
John
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to