Action ID for "hide watched"?

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Ned Scott Offline
Banned
Posts: 31,460
Joined: Jan 2011
Location: Arizona, USA
Post: #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 ;)
find quote
ronie Offline
Team-Kodi Member
Posts: 13,179
Joined: Jan 2009
Reputation: 392
Post: #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 and Search the forum before posting.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Ned Scott Offline
Banned
Posts: 31,460
Joined: Jan 2011
Location: Arizona, USA
Post: #3
Thanks ronie :D
find quote
wsnipex Offline
Team-Kodi
Posts: 6,432
Joined: Jun 2011
Reputation: 166
Post: #4
heh, thats very intuitive Tongue
find quote
ronie Offline
Team-Kodi Member
Posts: 13,179
Joined: Jan 2009
Reputation: 392
Post: #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 and Search the forum before posting.
For troubleshooting and bug reporting please make sure you read this first.
find quote