• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

EN what is the 'yt-stream' equivalent in api calls?

valux

Member
Hey there,

I have written some code for operating sinusbot from within homeassistant.
I am already successful in controling playback and playing urls or track-ids.
But last but not least I wanted to implement playing an url with the use of youtube-dl / yt-dlp.

The API docs include a "plugin" attribute, but I don't know if this is used for things like youtube-dl
(...'/playUrl?url=<url>&plugin=<plugin>')

If it is instead possible with the '/bot/jobs' endpoint, how would I have to use it to stream (like !yt-stream does it for example)?
since it only accepts urls within the payload

Many Thanks in advance.
 
Last edited:
Top