Kodi Community Forum
Smart playlist - 2 Paths do not work - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Smart playlist - 2 Paths do not work (/showthread.php?tid=182946)



Smart playlist - 2 Paths do not work - keisuji - 2014-01-10

Hi I have problem with the smart playlist using the "path" option. Doesn’t matter if I take "path is" or "contain" etc.
I´m trying to create a sm[/code]art playlist with two paths from different hdds. But the playlist do not show any movies.
But if I only create a smart playlist with one path it works and i get the movie informaitons.

Here is the code
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
    <name>MoviesALL</name>
    <match>all</match>
    <rule field="path" operator="contains">
        <value>nfs://192.168.2.11/Movies1/</value>
    </rule>
    <rule field="path" operator="contains">
        <value>nfs://192.168.2.11/Movies2/</value>
    </rule>
    <order direction="ascending">sorttitle</order>
</smartplaylist>



RE: Smart playlist - 2 Paths do not work - saitoh183 - 2014-01-10

<match>all</match> should be <match>one or more</match> (or whatever the option is ...i always forget Smile) Right now <match>all</match> means that the file must be in both locations for the statement to be true.