Thread Rating:
  • 0 Vote(s) - 0 Average
Any way to lock watched unwatched toggle?
#1
Hi
Related to my previous post I'm modding my home.xml so that when we click on Videos the Hide watch toggle so turned off and then when we click on Movies or TV Shows it's turned back on. I've had limited success with the ToggleWatched command but it seem to just throw the radio button and so it easy to get them switch in the 'wrong' position. Is there any way to set the toggle to On and Off? What am I missing?

Thanks again
Reply
#2
Friscovi, did you ever solve this?
Reply
#3
Add this to your home.xml

PHP Code:
<onload>Skin.Reset(HomeVideos)</onload

and this to the actual Videos button.

PHP Code:
<onclick>Skin.SetBool(HomeVideos)</onclick

Then add this to MyVideoNav.xml making sure you use a radiobutton for the actual button id=14.

PHP Code:
<onload condition="Skin.HasSetting(HomeVideos) + SubString(Control.GetLabel(14),*)">SendClick(14)</onload>
<
onload condition="!Skin.HasSetting(HomeVideos) + !SubString(Control.GetLabel(14),*)">SendClick(14)</onload
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Any way to lock watched unwatched toggle?00