Ok, I've got it working.

Here is the script:
```
#!/usr/bin/liquidsoap

ytv = argv(1)
url = get_process_output("youtube-dl -f 93 -g 
https://www.youtube.com/watch?v=#{ytv}";)
video_source = gstreamer.hls(url)
audio_only_source = drop_video(video_source)

output.icecast(id="main", %vorbis, fallible=true, host="localhost", port=9876, 
password="mysecretpass", mount="live.ogg", audio_only_source)
```
Thank you @chrispolley for the inspiration

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

Reply via email to