Function for toggling Watched/UnWatched visibility
#1
Hi,

Not sure if this is the right subforum (sure are a lot of them...) but here goes. I'm trying to build a more advanced keymapping structure for my remote, and I want to map a button to toggle Watched/UnWatched visibility for entries in the Videos library view. I can't, however, figure out where the function is for this.

Can anyone point me in the right direction?

I was assuming it was possible with something like

Skin.ToggleSetting(something)

or

Container.something(something)

... yes, I'm new at this.

Thanks!
Reply
#2
Something like:

SendClick(videolibrary,14)

should do the trick. 14 is the id of the 'unwatched' toggle button. If you want the one that cycles through 'watched/unwatched/all' then that's id 10.

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
That works great, cheers Jon!
Reply

Logout Mark Read Team Forum Stats Members Help
Function for toggling Watched/UnWatched visibility1