Kodi Community Forum

Full Version: Toggle "hide watched" with remote?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is it possible to toggle the "hide watched" menu option with a remote? (Using eventghost or a keypress)

I searched the wiki for the action in keymap.xml, but couldn't find it. No
Look here. Add functions to keymap.

List of Built In Functions
I'm afraid that doesn't get me much closer.

I found this reference in the mediastream skin:

<control type="radiobutton" id="14">
<description>Watched Toggle</description>
<visible>Window.IsVisible(MyVideoLibrary)</visible>
<label>20367</label>
<include>OMButtonItem</include>
</control>

I somehow have to combine that with a built in function, but I'm at a loss which one.
Try:

SendClick(14)

Feel free to add this to the online manual:

SendClick([window,]controlID)

Emulates a click message from the given controlID in the (optionally given) window (name or id).

Cheers,
Jonathan
Thanks. Will try it tomorrow! Nod
I'll give that a go as well as it's something I'd like on the remote too. Thx J.
SendClick([window,]controlID)

Like this one.
Thankx Jonathan
Where does this belong in the wiki? Builtins?
Where can you get a list of controlIDs?
Works like a charm! Thanks!
Sorry to dredge up an old thread, but trying to do this exact thing myself.

How do I go about doing this? The instructions above arent very clear.

I'm using XBMC on Windows XP, with an MCE remote through eventghost with the built in XBMC plug in.