smart playlists not giving expected results
#1
I'm not new to smart playlists as I've used them for years on my Windows PC. However, I'm attempting to use very similar lists, but getting different results on Rpi running OSMC Kodi 16.1. I've tried Aeon Nox 5 Redux, Confluence and default skins with same results. I've made the required entries in the favourites.xml and keyboard.xml.

Working example playlist on PC:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
    <name>All Movies</name>
    <match>one</match>
    <rule field="path" operator="contains">
        <value>smb://SERVER3/video/Movies/</value>
    </rule>
    <rule field="path" operator="contains">
        <value>smb://SERVER3/video/Movie Sets/</value>
    </rule>
    <rule field="path" operator="contains">
        <value>smb://SERVER3/video/Mom Shared/</value>
    </rule>
    <rule field="path" operator="contains">
        <value>smb://SERVER3/video/Westerns/</value>
    </rule>
    <rule field="path" operator="contains">
        <value>smb://SERVER3/video/Christmas/</value>
    </rule>
    <rule field="path" operator="contains">
        <value>smb://SERVER3/video/Comedy/</value>
    </rule>
    <order direction="ascending">sorttitle</order>
</smartplaylist>

Rpi incorrect playlist: If I use contains I get ONLY all movie COLLECTIONS, even those not in the desired path, and therefore no movies from the Movies folder.
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
    <name>test</name>
    <match>one</match>
    <rule field="path" operator="contains">
        <value>smb://KublerNAS1/Video/Movies/</value>
    </rule>
    <rule field="path" operator="contains">
        <value>smb://KublerNAS1/Video/Movie Sets/</value>
    </rule>
</smartplaylist>

Rpi incorrect playlist: If I use startswith I get ALL movies and collections, even those not in the desired paths. So my entire library.
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
    <name>Movies and Sets</name>
    <match>one</match>
    <rule field="path" operator="startswith">
        <value>smb://KublerNAS1/Video/Movie Sets</value>
    </rule>
    <rule field="path" operator="startswith">
        <value>smb://KublerNAS1/Video/Movies</value>
    </rule>
    <order direction="ascending">sorttitle</order>
</smartplaylist>

If I use "is", I get two dots "..".
HTPC: Dell Optiplex 7050 SFF i7-7700 quad-core, 3.6GHz, 16GB
NAS: Synology DS1813+ and DX513, Hybrid RAID (SHR) 48TB usable space
My Media Center | www.CaptainKen.us | www.YouTube.com/KenInGilbert
Reply
#2
BUMP
HTPC: Dell Optiplex 7050 SFF i7-7700 quad-core, 3.6GHz, 16GB
NAS: Synology DS1813+ and DX513, Hybrid RAID (SHR) 48TB usable space
My Media Center | www.CaptainKen.us | www.YouTube.com/KenInGilbert
Reply
#3
Doesn't anyone have an idea why these smart playlists aren't working?
HTPC: Dell Optiplex 7050 SFF i7-7700 quad-core, 3.6GHz, 16GB
NAS: Synology DS1813+ and DX513, Hybrid RAID (SHR) 48TB usable space
My Media Center | www.CaptainKen.us | www.YouTube.com/KenInGilbert
Reply

Logout Mark Read Team Forum Stats Members Help
smart playlists not giving expected results0