Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Smart Playlist help - some files missing
#1
I have been trying this for days now!  I am trying to make a smart playlist that will list all shows that have a path that begins with 'smb://10.1.0.122/Recorded'.

I am using MYSQL syncing.

I have it partially working, but TV shows that are in the 'TV Shows' library are not being listed in the Smart Playlist.  HOWEVER, if I change the content type to episodes, they show up fine.

For example, I have 6.5 seasons of the show Arrow that are in my 'TV drive', and I have 6 episodes on my 'Recorded TV' drive.  I am trying to make a playlist that will only show the recorded episodes on the Recorded TV drive, but ANY series that is also on the TV Drive, and shows up under the 'TV Shows' main menu item will not be displayed.

What am I doing wrong?

As a side note, I had a series (Pandora) that scraped the wrong Meta Data, and it was showing up fine until I corrected it, then it disappeared! 

All episodes do show up under the normal TV Shows item.
Reply
#2
Post the xml file for the smart playlist or a screenshot of the smart playlist.

Do I understand that you want only the 6 episodes to show up? The last part of that sentence is ambiguous so not sure if you want TV Drive to show up or not.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#3
Thanks for responding.  Basically, I only want things that are in the Recorded TV folder to show up.  Nothing else.  Here is the XML.
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="tvshows">
    <name>Test</name>
    <match>all</match>
    <rule field="path" operator="startswith">
        <value>smb://10.1.0.122/Recorded</value>
    </rule>
</smartplaylist>
There are a few series that are in 2 locations, but the episodes are only in 1 of those locations...in other words:

smb://10.1.0.121/TV
  Arrow
    Season 07
       Arrow - S07E01
  Blindspot
  Bull
  Manifest
  ...

smb://10.1.0.122/Recorded TV
   Arrow
      Season 07
         Arrow - S07E02
   Blindspot
   So You Think You Can Dance
   The Outpost


In the above file structure, Arrow won't show up in the playlist since the 'Series' is in 2 locations.  Hope that makes sense.

Looking at this though, I might have figured it out...I probably have to add a rule that has the other location, so that both rules are true...then it should only show them if they are in BOTH places.  I'll try that and report back...
Reply
#4
Nope...here is the new riule, and it still has the same problem:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="tvshows">
    <name>Test</name>
    <match>all</match>
    <rule field="path" operator="startswith">
        <value>smb://10.1.0.122/Recorded</value>
    </rule>
    <rule field="path" operator="startswith">
        <value>smb://10.1.0.12</value>
    </rule>
</smartplaylist>
Reply
#5
What happens if you change..

<match>all</match>

to...

<match>one</match>
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#6
(2019-08-26, 02:29)Karellen Wrote: What happens if you change..

<match>all</match>

to...

<match>one</match>
Then it shows all items, not just the files in Recorded TV.
Reply
#7
Ultimately, I am trying to put a 'Recorded TV' on the main roller menu so that I can go directly to shows that I have recorded, but not watched yet.  Maybe there is a different way?
Reply
#8
So I noticed something new.  Files that are in the Recorded TV Media Source that are also located in the TV Media Source do not show as TV Shows, which is why they are not showing in the playlist (I assume).  Is it not possible to have a single TV show split across 2 drives?
Reply
#9
(2019-08-27, 00:35)ixalthim Wrote: So I noticed something new.  Files that are in the Recorded TV Media Source that are also located in the TV Media Source do not show as TV Shows, which is why they are not showing in the playlist (I assume).  Is it not possible to have a single TV show split across 2 drives?
the above isn't entirely true...they don't show any scraped info in the Recorded TV Media Source, but they do actually show up as a TV Show in the TV Shows section, so I'm still at a loss.
Reply
#10
Looks like I finally fixed this!  It appears that the space in my path was causing the issue.  The original path was smb://10.1.0.122/Recorded TV.  I changed it to smb://10.1.0.122/RTV, and everything started working correctly.
Reply
#11
sigh.  nope, it only stays fixed until I restart the software.  Then it re-scans, and some of the shows disappear again.  so weird!
Reply
#12
OK.  I give up.  It doesn't appear that this works at all in Kodi.  You can't have the same series on 2 separate drives.  It just doesn't work.
Reply
#13
I'm fairly sure you're hitting the exact same problem I am.  As I've discovered, TV Shows don't support more than one path in the Kodi database so when you try to separate them based on path, you only ever see one version.

I also posted a Feature Request for a way around this.
Reply
#14
yep...exact same issue.   Thanks.
Reply

Logout Mark Read Team Forum Stats Members Help
Smart Playlist help - some files missing0