Custom commands at events

Currently custom commands can only be triggered by shortcut or on startup, but it could be extremely useful to allow custom commands based on other events, too, such as start/stop/pause playback, quit haruna, minimize/unminimize window, audio-path changed, audio-stream changed, etc.

Also, there needs to be a list of available properties somewhere, not just a couple examples in the (i)-popups.

1 Like

For example, changing the audio stream could trigger a script that chooses an audio filter based on the number of channels in the stream.

Another example, the stop event could trigger a script that checks if the current video is a movie or TV show, and checks how much you’ve watched, and if it’s more than, say, 90% then it marks the video watched in Trakt or similar.

1 Like