2013-07-11, 15:50
So, I'm trying to get this working with DIYNetwork plugin, got it figured out, but curious if there's an easier way to parse the listings.
Their setup structure makes this a PITA:
Show Title\
Some Episodes from latest season
Season Folders
Show Title\Season Folder\
Episodes from this Season
Other season folders
So essentially I need my Search Filter to do this:
Plugin
Subfolder = Show Title Recursive=true
If it hits another subfolder, recursive=false.
Otherwise I'm in an endless loop where it keeps digging deeper and deeper.
So far my work around is:
This will pull from the root of the top level, then from each of the sub folders with those EXACT names, but I don't want to keep messing with the config everytime a new season shows up.
I tried a regexp expression ".*\bseason\b.*" in the subfolder name, but that only pulls the first result, not each subfolder.
Any tips?
Their setup structure makes this a PITA:
Show Title\
Some Episodes from latest season
Season Folders
Show Title\Season Folder\
Episodes from this Season
Other season folders
So essentially I need my Search Filter to do this:
Plugin
Subfolder = Show Title Recursive=true
If it hits another subfolder, recursive=false.
Otherwise I'm in an endless loop where it keeps digging deeper and deeper.
So far my work around is:
Code:
<DIY path="plugin://plugin.video.diy" recursive="false" type="episodes" force_tvdb="true">
<subfolder name="Bath Crashers" force_series="Bath Crashers" >
<subfolder name="Bath Crashers - Season 1 Full Episodes" force_series="Bath Crashers" >
</subfolder>
<subfolder name="Bath Crashers - Season 2 Full Episodes" force_series="Bath Crashers" >
</subfolder>
<subfolder name="Bath Crashers - Season 3 Full Episodes" force_series="Bath Crashers" >
</subfolder>
</subfolder>
</DIY>
This will pull from the root of the top level, then from each of the sub folders with those EXACT names, but I don't want to keep messing with the config everytime a new season shows up.
I tried a regexp expression ".*\bseason\b.*" in the subfolder name, but that only pulls the first result, not each subfolder.
Any tips?