2021-04-01, 01:56
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!
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!