Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Smart Playlist referenced in other Smart Playlist, how to hide refernce only list?
#1
Hi,

I have worked out a way to use smart playlists to setup cooking epsiodes (from many series) using rule criteria referencing other smart lists (as a way to use AND/OR logic that was needed).

Here is (working) example:

1) Playlist to filter just Food genre in episodes:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="episodes">
    <name>Food Series</name>
    <match>one</match>
    <rule field="genre" operator="is">
        <value>Food</value>
    </rule>
</smartplaylist>


2) Playlist to list all episodes with "Chicken" in Title or Plot:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="episodes">
    <name>z_has_Chicken</name>
    <match>one</match>
    <rule field="plot" operator="contains">
        <value>Chicken</value>
    </rule>
    <rule field="title" operator="contains">
        <value>Chicken</value>
    </rule>
</smartplaylist>

3) The "real" Chicken Playlist now references the previous 2:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="episodes">
    <name>Chicken</name>
    <match>all</match>
    <rule field="playlist" operator="is">
        <value>Food Series</value>
    </rule>
    <rule field="playlist" operator="is">
        <value>z_has_Chicken</value>
    </rule>
</smartplaylist>


So #1 and #2 are playlists and will work on their own, but are kind of useless on their own. Is there a way to have these available to the "real" (#3) playlists to avoid having all these extra ones not displayed within kodi?

Or if they must display in kodi, is there a way to "list playlists" but somehow filter that to remove the ones I don't want displayed in a list?

FYI I am running Kodi Matrix

Thanks!
Reply
#2
Finally located an answer for this, see:

https://forum.kodi.tv/showthread.php?tid=172152

Basically, can hide the playlists within advancedsettings , I tested (for my setup) with:

<advancedsettings>
  <video>
    <excludefromlisting action="append">
     <regexp>z_.*xsp</regexp>
   </excludefromlisting>
  </video>
</advancedsettings>

And it worked, the hidden ones function as needed , but only the "real" playlists I want displayed are displayed!
Reply

Logout Mark Read Team Forum Stats Members Help
Smart Playlist referenced in other Smart Playlist, how to hide refernce only list?0