v18 Controlling subtitles and audio from an addon and opening their settings window
#1
Hi everyone!

I was wondering whether there's a way to open the audio and subtitle settings window from an addon.
The windows which you can access while a movie is playing.
I guess it has to be done with ActivateWindow, but I could not find the window Id for these.

I was also wondering what the best way is to programatically select the next subtitle from an addon.
Current'y I'm doing xbmc.executeJSONRPC and execute the Player.SetSubtitle command, because for that you can pass 'on', 'off', 'next', 'previous'.
However is there a better way to do it?

I'm writing an addon for Kodi v18.

Best
Reply

Logout Mark Read Team Forum Stats Members Help
Controlling subtitles and audio from an addon and opening their settings window0