2015-02-03, 04:56
Hi everyone,
I have a bunch of movies (anime) that are named by a script that uses the anidb server to name them. In order to get stacking working correctly I thought I'd use the advance stacking options listed here. http://kodi.wiki/view/Advancedsettings.x...tacking.3E
I have some movies that have names of the form
A.LI.CE - Part 1 of 2 [RiP] [(X-2)].mkv --- for things like this I've provided this regex
Code:
<regexp>(.*)\s-\sPart\s(\d+)\sof\s\d+\s(?:\[.*\])?(?:\[\(X-\d+\)\])?(.*)(\.[^.]+)$</regexp>
and it seems to work fine.
however I have some movies that have names of the form
Berserk Ougon Jidai Hen - The Advent [Commie] [(X-3)].mkv (the number changes as X-1, X-2, X-3 and so on.
so I've provided this regex
Code:
<regexp>(.*)(?:\[.*\]\s)?\[\(X-(\d+)\)\]()(\.[^.]+)$</regexp>
However, when I scan the files, the item seems to be identified as a single file rather than a stack.
This is my complete advancedsettings.xml
http://pastebin.com/WDFiGved
This is my debug log that includes a successful match with stacking
http://xbmclogs.com/show.php?id=411876 (check line 1490)
This is my debug log with a failed match
http://xbmclogs.com/show.php?id=411951 (check line 1760)
Any help would be greatly appreciated.
I have a bunch of movies (anime) that are named by a script that uses the anidb server to name them. In order to get stacking working correctly I thought I'd use the advance stacking options listed here. http://kodi.wiki/view/Advancedsettings.x...tacking.3E
I have some movies that have names of the form
A.LI.CE - Part 1 of 2 [RiP] [(X-2)].mkv --- for things like this I've provided this regex
Code:
<regexp>(.*)\s-\sPart\s(\d+)\sof\s\d+\s(?:\[.*\])?(?:\[\(X-\d+\)\])?(.*)(\.[^.]+)$</regexp>
and it seems to work fine.
however I have some movies that have names of the form
Berserk Ougon Jidai Hen - The Advent [Commie] [(X-3)].mkv (the number changes as X-1, X-2, X-3 and so on.
so I've provided this regex
Code:
<regexp>(.*)(?:\[.*\]\s)?\[\(X-(\d+)\)\]()(\.[^.]+)$</regexp>
However, when I scan the files, the item seems to be identified as a single file rather than a stack.
This is my complete advancedsettings.xml
http://pastebin.com/WDFiGved
This is my debug log that includes a successful match with stacking
http://xbmclogs.com/show.php?id=411876 (check line 1490)
This is my debug log with a failed match
http://xbmclogs.com/show.php?id=411951 (check line 1760)
Any help would be greatly appreciated.