PDA

View Full Version : Function for toggling Watched/UnWatched visibility


Vaslav
2008-10-22, 17:08
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!

jmarshall
2008-10-22, 23:48
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

Vaslav
2008-10-27, 06:28
That works great, cheers Jon!