Need Help with Video Playlist
#1
Hello,

I have TV shows in three different directories. I would like to only show only the files in just two of them combined. I created this playlist, but it's not working. Any thoughts?

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="tvshows">
<name>TV SHOW TEST</name>
<match>all</match>
<rule field="path" operator="startswith">
<value>smb://Fileserver/Videos/Watched TV/</value>
</rule>
<rule field="path" operator="startswith">
<value>smb://MAINMACHINE-C30/DVDFAB/TV/</value>
</rule>
<order direction="ascending">sorttitle</order>
</smartplaylist>
Reply
#2
Separate profiles?

Why not try

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="tvshows">
<name>TVTEST</name>
<match>one</match>
<rule field="path" operator="contains">
<value>smb://MAINMACHINE-C30/DVDFAB/TV/</value>
</rule>
<order direction="ascending">sorttitle</order>
</smartplaylist>

Then make another for the other path and fold them into a third playlist that uses smart-playlists? Ensure each one works before proceeding to the next one.
Reply
#3
Thank you. That worked.

Seemed like a round about way to do it.
Reply
#4
There's more than one way to shake a stick... see if you can make '1' work in place of my suggestion, then share.
Reply
#5
(2016-07-23, 18:12)handydave Wrote: Hello,

I have TV shows in three different directories. I would like to only show only the files in just two of them combined. I created this playlist, but it's not working. Any thoughts?

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="tvshows">
<name>TV SHOW TEST</name>
<match>all</match>
<rule field="path" operator="startswith">
<value>smb://Fileserver/Videos/Watched TV/</value>
</rule>
<rule field="path" operator="startswith">
<value>smb://MAINMACHINE-C30/DVDFAB/TV/</value>
</rule>
<order direction="ascending">sorttitle</order>
</smartplaylist>


The problem with the above is the <match>all</match>. That means to appear in the playlist your files have to be in both paths.
Change to <match>one</match> and it should work.
Reply
#6
Trogggy,

Thank you that worked as well.

I have another question that hopefully I can get answered.

Is there a way to limit the main pages' Recently Added Episode to ONLY show show that are in a specific directly?

Here's my use case and the issues I'm seeing:

I'm using Kodi as a front end to the HDHomerunDVR, I'm using the Titan skin so I can customize the menus as I like them. I have two Menu Items:

TV Shows - A list of shows I archived
Recorded TV - A list of newly recorded TV

Issue #1:
On the main screen, I only want to see Recently Added Shows from each directly specific directory only. Today, I'm getting all the episodes across both directories.

Issue #2
After I watch a recorded show, sometimes I'll archive it to the TV shows list. For those shows, if I click the Recorded TV Menu to see the titles, it will show me the all the episodes across Recorded TV and TV Shows. I would like to limit the view to just the shows in that directory.

Thanks for any help!
Reply
#7
I use this:
Quote:<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="episodes">
<name>New Episodes</name>
<match>one</match>
<rule field="path" operator="startswith">
<value>smb://SourceTV1series</value>
</rule>
<rule field="path" operator="startswith">
<value>smb://SourceTV2completedseries</value>
</rule>
<rule field="path" operator="startswith">
<value>smb://SourceTV3sharedseries</value>
</rule>
<rule field="path" operator="startswith">
<value>smb://SourceTV4completedsharedseries</value>
</rule>
<order direction="descending">dateadded</order>
</smartplaylist>
It gives me episodes in order of date added (ie most recent first) but doesn't show cartoons or kids' shows (which are in different folders).
Yours should look a lot simpler but the principle would be the same.
Reply
#8
That doesn't seem work

I have two SmartPlaylists.

For Recorded TV it's:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="tvshows">
<name>Recorded TV</name>
<match>one</match>
<rule field="path" operator="startswith">
<value>smb://HTPC-BASEMENT/HDHomerunDVR/</value>
</rule>
<order direction="ascending">sorttitle</order>
</smartplaylist>

For TV Shows, it's:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="tvshows">
<name>TV SHOW TEST</name>
<match>one</match>
<rule field="path" operator="startswith">
<value>smb://Fileserver/Videos/Watched TV/</value>
</rule>
<rule field="path" operator="startswith">
<value>smb://MAINMACHINE-C30/DVDFAB/TV/</value>
</rule>
<order direction="ascending">sorttitle</order>
</smartplaylist>

I'm able to get it to work correctly using the Plex with the PlexKodiConnect, but the main reason I don't want to use that is I don't have the ability to delete files within Kodi after watching a show.

Here are some screenshots of what I'm seeing:
On the main page, here is what I see when I highlight over Recorded TV and TV Show menu items. As you can see the are both about the same:
http://i68.tinypic.com/qoftwh.jpg
http://i67.tinypic.com/2zs8nd0.jpg

Here's what I see when I go into each menu item:
http://i67.tinypic.com/10wl72c.jpg
http://i65.tinypic.com/16kcj81.jpg

You'll notice that under Record TV, I have the last ship listed with 15 episode. What I should be seeing is it with just one episode. Under TV Shows, it's not even listed, but should be with 14 episodes unwatched.

Here are some screenshots of what it should look like which is working under Plex:
http://i63.tinypic.com/24p056d.jpg
http://i67.tinypic.com/2hxwrjo.jpg
http://i65.tinypic.com/bg1yqv.jpg
http://i68.tinypic.com/2i79sme.jpg

Thank you!
Reply

Logout Mark Read Team Forum Stats Members Help
Need Help with Video Playlist0