Kodi Community Forum
Solved Inconsistent results from smart playlist - 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: Raspberry Pi (https://forum.kodi.tv/forumdisplay.php?fid=166)
+---- Thread: Solved Inconsistent results from smart playlist (/showthread.php?tid=192806)



Inconsistent results from smart playlist - essexboyracer - 2014-04-21

Openelec 3.2.4 on Model B rPI. Using NFS shares from a NAS. Two disks, videos on each disk. Using smart playlists to "aggregate" the videos into one playlist (category).

/NAS-Folder/Fantasy/Films in here.mkv
/NAS-Folder/Sci-Fi/More films in here.mkv
/NAS-Folder2/Fantasy/Far too many Fantasy films.mkv
/NAS-Folder2/Sci-Fi/An inordinate amount of Sci-Fi movies.mkv

I have a file (film) in the Fantasy folder (for arguments sake on NAS-Folder2), my "Fantasy" smart playlist looks like:

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
    <name>Fantasy</name>
    <match>all</match>
    <rule field="path" operator="contains">
        <value>Fantasy</value>
    </rule>
    <rule field="path" operator="isnot">
        <value>Sci-Fi</value>
    </rule>
    <order direction="ascending">sorttitle</order>
</smartplaylist>

my "Sci-Fi" smart playlist looks like:

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
    <name>Sci-Fi</name>
    <match>all</match>
    <rule field="path" operator="contains">
        <value>Sci-Fi</value>
    </rule>
    <rule field="path" operator="isnot">
        <value>Fantasy</value>
    </rule>
    <order direction="ascending">sorttitle</order>
</smartplaylist>

Problem is I am getting the film that is in Fantasy folder on the NAS appear in the Sci-Fi playlist as well but it is definitely not in the Sc-Fi folder on the NAS on either disk and only appears once in one Fantasy folder. The file is Beowulf which was recorded using TVHeadEnd.

THis issue doesn't appear to be platform related, as my laptop running Frodo 12.3 has the same issue.


RE: Inconsistent results from smart playlist - da-anda - 2014-04-21

shouldn't it suffice to only have the first rule in both smartplaylists?


RE: Inconsistent results from smart playlist - essexboyracer - 2014-04-21

It probably would, the second ISNOT was an attempt to see if the rules in the smartlist were not working correctly. So the rules weren't working with just the contains operator and they still dont work with the extra isnot operator


RE: Inconsistent results from smart playlist - essexboyracer - 2014-04-21

I found some other inconcistencies with the playsists, POTC - DMC appeared twice in the same playlist. Got me thinking and running clean library from Settings > Videos seems to have solved the issue. P.s. running amber theme