Kodi Community Forum
Filter Out Genres? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Skin Archive (https://forum.kodi.tv/forumdisplay.php?fid=179)
+----- Forum: PM3.HD (https://forum.kodi.tv/forumdisplay.php?fid=75)
+----- Thread: Filter Out Genres? (/showthread.php?tid=50578)



Filter Out Genres? - buges - 2009-05-08

Id like to make a control that filters out a couple of genres & the movies that apply to them. ie Action & Horror

Can this be done in the skin or is it at code level??

have played around with <visibile>! & Substring. for the list info but it does freaky things.

thanks


- jmarshall - 2009-05-09

Use a smartplaylist.


- buges - 2009-05-10

Thanks JM

How do i execute a smartplaylist via a button, (just listing of the smartplaylist,not to start playing it)?


- jmarshall - 2009-05-11

Hmm, good question. I *think* you can do it via ActivateWindow(VideoLibrary,<path_to_smart_playlist>) but I'm not 100 on that.

The path would be something like: special://profile/playlists/video/<name of playlist>.xsp

Give it a whirl anyway and see where you get to. If we have to make some code modifications to get this to work correctly we will.

Cheers,
Jonathan


- buges - 2009-05-11

Can confirm

<onclick>ActivateWindow(VideoLibrary,special://xbmc/userdata/playlists/video/Test.xsp)</onclick>

Works perfectly

Thanks again JM