Can VLC be told to loop?

Using an automation to cause the VLC integration to play a media file. Works fine.
But how can one make it loop/repeat the same file until told to stop?
Ideally the VLC binding’s PlaybackMode call would be used, as that already exposes VLC’s built-in loop feature. But the HASS component doesn’t have a verb for calling PlaybackMode.

You could fork the component, add playbackmode, and then use it as a custom component. That’s about the only option. You could also use the command line sensor to run vlc with arguments too.

1 Like