Posts: 5
Joined: Jan 2015
Reputation:
0
I am having major problems with smart playlist functionality. I have stored about 4 small videos locally in a folder called Videos on my pi. I want play approximately 70 in continuous loop.
I added them to a library and they show up with no problem. Yet, when I try to create a playlist, none of them appear in the playlist. I've included the xml for my playlist here. I'm totally lost.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
<name>test4</name>
<match>all</match>
<rule field="path" operator="is">
<value>/home/pi/Videos/</value>
</rule>
</smartplaylist>
Posts: 178
Joined: Apr 2009
Reputation:
0
2015-01-25, 02:45
(This post was last modified: 2015-01-25, 02:47 by boyofford.)
I've not created playlists manually, only through gui, however mine are all path contains rather than path is. Mine all work fine like this. I forget if i did this because path is did not work, but have a feeling it didn't.
Not sure exactly how that translates to creating the playlists in xml though.
Posts: 5
Joined: Jan 2015
Reputation:
0
2015-01-25, 04:54
(This post was last modified: 2015-01-25, 05:44 by OswaldKenobi.)
Thank you. I'm going to try that.
EDIT: I tried that and no joy. It's insane. I have four files all encoded the same way (.mp4), but while they will play in the library, the playlist will not pick them up. I've even changed the names to match. Has anybody gotten it to work?
Posts: 178
Joined: Apr 2009
Reputation:
0
Here's what it says in one of my working smart playlists
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="tvshows">
<name>Documentaries</name>
<match>all</match>
<rule field="path" operator="contains">
<value>/home/rich/Documentaries/</value>
</rule>
</smartplaylist>
If you have tried constains operator then I don't see what you could be doing wrong.
Posts: 5
Joined: Jan 2015
Reputation:
0
I think I found the problem. 2 days of testing and I discovered that my videos must be cross referenced with a database. For example, if I scan "Batman," it will show up in the playlist. But if I have generic video, it will not. I'm trying to figure out how to go about reconfiguring Kodi to pick up non-databased videos.
Posts: 178
Joined: Apr 2009
Reputation:
0
Bored so had a play with nfo files earlier. All info is on wiki, but pretty easy to setup basic nfo from scratch.
I just setup some home videos as a TV show.
Posts: 5
Joined: Jan 2015
Reputation:
0
Thanks! I'll take a look at it and give it a try.