Kodi Community Forum

Full Version: another empty smart playlist
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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]
Use only the "startswith" rule - it worked for me.
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>