Kodi Community Forum

Full Version: Video Stacking RegEx
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey folks, I'm not really as fluent in using REGEX expressions as I'm sure the lot of you are, but I'm looking to set up video stacking.

I'm familiar with the AdvancedSettings.xml file and just need the REGEX syntax to stack my videos properly.

The videos I have are titled like this...

AAAA [1-2].avi
AAAA [2-2].avi
BBBBBB [1-3].avi
BBBBBB [2-3].avi
BBBBBB [3-3].avi
CCC [1-2].avi
CCC [2-2].avi
etc...

What would I need to add to the AdvancedSettings.xml file to have these stack appropriately?

Any help would be greatly appreciated.
Thanks!
- Rah
Delete me. Duplicate post.
Ok, so I actually figured it out.

<regexp>(.*)[ ]*\[([0-9])</regexp>

Would be appropriate for that task.

That being said, it still doesn't stack. My AdvancedSettings.xml looks like this...

<advancedsettings>
<moviestacking>
<regexp>(.*)[ ]*\[([0-9])</regexp>
</moviestacking>
<advancedsettings>

Suggestions?
Is the file in the right dir? Debug log would tell you if it's being loaded correctly.