Video Library Filter
#1
Hi All,
I am struggling with a rather specific task with a skin. When in the video library there is the filter in side menu, it looks like a toggle and that is exactly what i want it to do.
I want Toggle on = filter is genre/26 (family) in both TV and Movie
Toggle off = filter is not genre/26 (family) in both TV and Movie.

Purpose is to stop having to switch profiles to see my movies etc or my kids.

When i add link as favourite it uses ActivateWindow(10025,"videodb://movies/genres/26/",return) which is great as I could use the visible tag to set one for TV and one for Movie and only show one depending on what user is looking at.
But when i include this in <onclick> it does not work. (as a favourite link no worries)

I think it could work similar to Watched/unwatched toggle but i know that is a Kodi function the skin can utilise.

Any help would be great, thank you
Reply
#2
Think you are looking for smart playlists. Then you can add those to main menu.

http://wiki.xbmc.org/?title=Smart_playli..._for_video

You can also try nodes

http://wiki.xbmc.org/index.php?title=Video_nodes
Image [RELEASE] Metroid
Image [RELEASE] IrcChat
Reply
#3
I am currently using smart playlists, the downside is it gives me four links;
Kids Movies
Kids TV
Movies
TV Shows

Will explore nodes and see if i can do something with them, as i said before my perfect solution would be a toggle like the unwatched, nodes may be able to get me there.

Thanks for pointing me in the right direction.
Reply
#4
If you want to hide buttons while in library you can do that based on partial path.

<visible>Substring(Container.FolderPath,video/Kids)</visible>

But that won't hide them in main menu.
Image [RELEASE] Metroid
Image [RELEASE] IrcChat
Reply

Logout Mark Read Team Forum Stats Members Help
Video Library Filter0