Kodi Community Forum
Struggling with a Smart Playlist - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Struggling with a Smart Playlist (/showthread.php?tid=149113)



Struggling with a Smart Playlist - cappiel - 2012-12-21

I'm trying to setup a smart playlist with some of the wife's workout videos on the unraid server. my folder structure looks like this

/..../movies/
/..../workouts/
/..../tvshows/

all three are mapped in sources. I have workouts as blank under content

Here's my smartplaylist

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
    <name>Workouts</name>
    <match>all</match>
    <rule field="path" operator="contains">Workouts</rule>
</smartplaylist>

The playlist is retunring nothing. Any ideas what I'm doing wrong?

Thanks


RE: Struggling with a Smart Playlist - thrak76 - 2012-12-21

You may need to assign a content type, since you've set the type as movies. Assign content, but don't scan into library (exclude folder from library scan).


Re: RE: Struggling with a Smart Playlist - Martijn - 2012-12-21

(2012-12-21, 17:57)thrak76 Wrote: You may need to assign a content type, since you've set the type as movies. Assign content, but don't scan into library (exclude folder from library scan).

That won't help.
Smartplaylists only work for videos that are in your library. If they are not scanned in it won't work


RE: Struggling with a Smart Playlist - thrak76 - 2012-12-21

Custom node?


RE: Struggling with a Smart Playlist - Martijn - 2012-12-21

(2012-12-21, 18:04)thrak76 Wrote: Custom node?

It must be in the library before any smartplaylist can be used.

You can probably make a node that points to the path but it will open it in filemode


RE: Struggling with a Smart Playlist - cappiel - 2012-12-21

Thanks, I'll try the node route