Help with setting up Playlists

I’ve hadn’t looked into setting up playlists until now, but after a few failed attempts with Smart Playlists I am rather confused.

I was able to queue a folder on the fs with music files in it, select ‘current playlist’ and save it. However, when I went to Playlists and selected New Smart Playlist with a filter for songs in path /home/osmc/Music/foo/ the playlist appears to be created once I set a name for it, but it is and remains empty. I tried update library and what not, but I’m unable to see the contents of the playlist - it is empty - or play any songs from it.

I’ve read http://kodi.wiki/view/Smart_playlists but I may be missing some basic steps to get this going.

This is the contents of my test playlist:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> Christmas all /home/osmc/Music/Christmas/ title

Grateful for any advice to get this working.

I Hav this same issue, but with videos

Can someone explain how to create playlists for videos? it seems stupidly complex!

This looks a bit ill.
Please,

1. login via SSH as user osmc/osmc
2. cd /home/osmc/.kodi/userdata/playlists/music
3. identify your affected playlist by invoking the lscommand
4. upload your playlist using
paste-log <your playlist xsp file name>
5. provide the returned URL here so other users can see the complete content
Thx in advance,

Sorry, just see this is AppleTV which I do not know at all.

Thanks JimKnopf, I would think this is a Kodi, rather than hardware issue. Here is what the playlist I tried to set up shows:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="songs">
    <name>Christmas</name>
    <match>all</match>
    <rule field="path" operator="is">
        <value>/home/osmc/Music/Christmas/</value>
    </rule>
    <order direction="ascending">file</order>
</smartplaylist>

But as I said, I can’t list its contents in the GUI or play it.

Ok, just tested it and here it plays immediately with a similar playlist:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="songs">
<name></name>
<match>all</match>
<rule field="path" operator="is">
    <value>/mnt/music/a-ha/Hunting High and Low/</value>
</rule>
</smartplaylist>

So, what what is the output if you SSH into the box as user osmc and do

cd /home/osmc/Music/Christmas/
ls -ahl

This is what it shows:

osmc@osmc:~$ cd  /home/osmc/Music/Christmas/
osmc@osmc:~/Music/Christmas$ ls -la
total 14072
drwxr-xr-x  2 osmc osmc    4096 Nov 17  2017 .
drwxr-xr-x 14 osmc osmc    4096 Sep 13 12:49 ..
-rw-r--r--  1 osmc osmc 3754512 Nov 17  2017 O Holy Night - Mac Huff.m4a
-rw-r--r--  1 osmc osmc 3485238 Nov 17  2017 O Holy Night - Mac Huff_2.m4a
-rw-r--r--  1 osmc osmc 3252011 Nov 17  2017 The Christmas Song - Kirby Shaw.m4a
-rw-r--r--  1 osmc osmc 3905008 Nov 17  2017 The Christmas Song - Mark Hayes.m4a

Navigating to Music/Playlists/Christmas using the GUI presents an empty list. :frowning: