Kodi Community Forum
another empty smart playlist - 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: Ace 2 (https://forum.kodi.tv/forumdisplay.php?fid=190)
+----- Thread: another empty smart playlist (/showthread.php?tid=186754)



another empty smart playlist - Auron - 2014-02-18

i have movies library set at <path pathversion="1">C:\Users\Admin\Movies\</path>. scrapper were set as TMDB and AniDB.
now i want to split it as anime movies and movies. after googling and lurking around for hours i made 2 smart playlist, 'movies' and 'anime movies' then add it to skin using customize -> video playlist
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
    <name>Anime Movies</name>
    <match>one</match>
    <rule field="path" operator="contains">
        <value>C:\Users\Admin\AnimeMovies\</value>
    </rule>
    <rule field="path" operator="is">
        <value>C:\Users\Admin\AnimeMovies\</value>
    </rule>
    <rule field="path" operator="startswith">
        <value>C:\Users\Admin\AnimeMovies\</value>
    </rule>
    <order direction="ascending">sorttitle</order>
</smartplaylist>

i use gotham and win 8.1.
thanks before[/code]


RE: another empty smart playlist - costi - 2014-02-18

Use only the "startswith" rule - it worked for me.


RE: another empty smart playlist - saitoh183 - 2014-02-18

make 1 smartplaylist rule

Also you should separate (if possible) you Anime from your movies at the folder level. In your Admin directory, have a Anime_Movies folder and a Movies folders and them both as sources individually. This is mine for TV show Anime

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="tvshows">
    <name>ANIME</name>
    <match>all</match>
    <rule field="path" operator="contains">
        <value>smb://SRV-SAITOH/Videos/Anime/</value>
    </rule>
</smartplaylist>

My Sources.xml:

Code:
<sources>
    <programs>
        <default pathversion="1"></default>
    </programs>
    <video>
        <default pathversion="1"></default>
        <source>
            <name>TV</name>
            <path pathversion="1">smb://SRV-SAITOH/Videos/TV/</path>
        </source>
        <source>
            <name>Anime</name>
            <path pathversion="1">smb://SRV-SAITOH/Videos/Anime/</path>
        </source>