Kodi Community Forum

Full Version: Smart Playlist Question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm trying to create a smart playlist that points to a folder on my PC, however when I use the "Path" rule, my playlist is empty. Is there a way to create a playlist based on the folder?
I use path and <starts with> - that seems to work reliably.
If nothing's showing up with that post your playlist here.
I changed to <starts with> and now I'm getting about 5 shows. However there are 22 shows in the folder, so I'm still not understanding what I'm doing wrong.

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="tvshows">
<name>My Shows</name>
<match>all</match>
<rule field="path" operator="startswith">
<value>Z:\TV Shows\Currently Watching\</value>
</rule>
<order direction="descending">dateadded</order>
</smartplaylist>
Do all the shows appear in the tv view? In other words are the missing shows (episodes or full shows?) scanned to your library?
Yes they all appear in TV view, just not in the playlist, which makes this even more weird.
Does the Path playlist even work?

Basically, I have two folders with two different file formats.
I want to create different playlists for each.

However regardless of what rules I add to my path playlist, both folders show up.
It's like the path playlist doesn't actually do anything.

Here's an example of what I'm seeing:

Playlist # 1 - Path starts with Folder A/Folder B/Folder C
Playlist # 2 - Path starts with Folder A/ Folder B/ Folder D

The two playlists are identical, containing both files from folders C & D

Anyone have any idea what's going on?
(2016-03-28, 02:50)tom.wall04 Wrote: [ -> ]Does the Path playlist even work?

Basically, I have two folders with two different file formats.
I want to create different playlists for each.

However regardless of what rules I add to my path playlist, both folders show up.
It's like the path playlist doesn't actually do anything.

Here's an example of what I'm seeing:

Playlist # 1 - Path starts with Folder A/Folder B/Folder C
Playlist # 2 - Path starts with Folder A/ Folder B/ Folder D

The two playlists are identical, containing both files from folders C & D

Anyone have any idea what's going on?

You need '/' at the end for that to work correctly I think. EG Folder A/Folder B/Folder C/
(2016-03-28, 09:59)black_eagle Wrote: [ -> ]
(2016-03-28, 02:50)tom.wall04 Wrote: [ -> ]Does the Path playlist even work?

Basically, I have two folders with two different file formats.
I want to create different playlists for each.

However regardless of what rules I add to my path playlist, both folders show up.
It's like the path playlist doesn't actually do anything.

Here's an example of what I'm seeing:

Playlist # 1 - Path starts with Folder A/Folder B/Folder C
Playlist # 2 - Path starts with Folder A/ Folder B/ Folder D

The two playlists are identical, containing both files from folders C & D

Anyone have any idea what's going on?

You need '/' at the end for that to work correctly I think. EG Folder A/Folder B/Folder C/

I do have that. Below is my playlist entry:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="tvshows">
<name>My Shows</name>
<match>all</match>
<rule field="path" operator="startswith">
<value>Z:\TV Shows\Currently Watching\</value>
</rule>
<order direction="descending">dateadded</order>
</smartplaylist>