2024-12-21, 00:50
I've searched through the forums, looked through the built-in functions and JSON RPC calls and can't find an answer to the question of whether the current value of the side blade Hide Watched setting can be retrieved and set via any programmatic method from an addon ?
I see that it is stored in the guisettings.xml file under myvideos vs. a setting id. It is pretty a coarse option vs. view settings which are by playlist / folder:
I'd prefer not to read / write to the xml file. I feel like I am missing something obvious.
Thanks,
Jeff
I see that it is stored in the guisettings.xml file under myvideos vs. a setting id. It is pretty a coarse option vs. view settings which are by playlist / folder:
Hide Watched:<myvideos>
<watchmodemovies>1</watchmodemovies>
<watchmodetvshows>0</watchmodetvshows>
<watchmodemusicvideos>0</watchmodemusicvideos>
<watchmoderecordings>0</watchmoderecordings>
<playlist>
<repeat>false</repeat>
<shuffle>false</shuffle>
</playlist>
<needsupdate>0</needsupdate>
</myvideos>
I'd prefer not to read / write to the xml file. I feel like I am missing something obvious.
Thanks,
Jeff