Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Action ID for "hide watched"?
#1
All I want for Christmas this year is a way to toggle the "Hide watched" filter from a remote button ;)

Not to be confused with the existing action ID, "ToggleWatched", which toggles the watched state on a selected video/directory/show. Rather, I'm talking about the hiding of watched videos that is normally in the sidebar menu. On the skin I'm currently using (Amber) it takes nearly 10 button presses to go over to the sidebar and then scroll down and select the watched filter. Having it possibly be an action will allow all users (regardless of skin) to more conveniently use it as an on-the-fly filter.

Many beers and cheers await the one who can make this happen or point me to an existing solution that I overlooked ;)
Reply
#2
hide watched is a built-in button control, with id="14".
kodi allows you to send a 'click' to a button using the sendclick() action.
so what you're looking for is:
Code:
sendclick(14)

this will work in any skin, regardless whether they have this button on the side menu or not.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
Thanks ronie :D
Reply
#4
heh, thats very intuitive Tongue
Reply
#5
don't shoot the messenger. i didn't write this software ;-p
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply

Logout Mark Read Team Forum Stats Members Help
Action ID for "hide watched"?0
This forum uses Lukasz Tkacz MyBB addons.