Kodi Community Forum
help with a regular expression to catch this filename? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: help with a regular expression to catch this filename? (/showthread.php?tid=55293)



help with a regular expression to catch this filename? - TerranQ - 2009-07-24

So, I've got these files, named as such:
STAR TREK - S01 E01 - THE MAN TRAP 720P DD5.1 x264 MMI.mkv

I'm assuming XBMC isn't catching them because of the space in between s01 and exx.

I can't rename the files currently, but XBMC won't pick them up. I did use xmm (from the supplemental tools forum) to create NFO's for them:

pastebin of nfo

but it doesn't pick those up either. MIP didn't recognize the files at all.

Is there a reg ex I can use so XBMC can recognize these, or are my NFO's incorrect in some way? I've compared them to my nfo's from other series and they seem fine. And shouldn't XBMC be picking up the NFO's even if it doesn't recognize the filename as valid?

I didn't post a debug log, as I know it's not an issue with XBMC, as all my other series and movies scanned just fine.


- jmarshall - 2009-07-25

<regexp>S([0-9]+) E([0-9]+)([^\\/]*)$</regexp>


- TerranQ - 2009-07-25

That did it. Thanks jmarshall