#automation/webhook to run a script to convert a yt video to a podcast in haos

1 messages · Page 1 of 1 (latest)

exotic wadi
#

Hi,

i want to have an automation webook that will run a script that downloads a video using yt-dlp and saves it as an audio file. there is several parts to this

should I do this all in haos? if so, where do i store the bash script? how do i install yt-dlp on haos?

or should i do it on another server and somehow call that from haos?

peak bobcat
#

You can't just install something in the shell of HAOS, you have to add it via an integration or an add-on. But once you do then you can call whatever integration or add-on actions there are.

#

That said, yt-dlp is a requirement for the Media Extractor integration, at least the python library for it is. So you may be able to utilise that with the shell command integration.