PDA

View Full Version : How to stack (?of?) s1e?? 1x?? named files.


MacGyver
2007-01-18, 23:18
I suck at regex, so it took a while to figure it out, I figured I can't be the only one with files named this way:

<videostacking>
<regexp>()(\([1-9]of[1-9]\))</regexp>
<!-- Bambi (1968) (1of2).avi & Bambi (1968) (2of2).avi !-->
<regexp>e+([0-9][0-9])+.*</regexp>
<!-- Numb3rs - s1e?? - Counterfeit Reality.avi !-->
<regexp>x+([0-9][0-9])+.*</regexp>
<!-- Numb3rs - 1x?? - Counterfeit Reality.avi !-->
</videostacking>

The last two will stack a whole season into one file (for marathons)
The first will stack things like "The Stand (1of4).avi" into one file.

Hope it helps someone out.

kraqh3d
2007-01-18, 23:53
just a warning... if you add custom regexps, all the default ones get removed... if you need any of them, you have to add them back.