Quantcast
Channel: Kodi Community Forum - All Forums
Viewing all articles
Browse latest Browse all 84005

Regex for TV show structure

$
0
0
Huh Apologies - I have search the forums and google and I am struggling to construct a regex expression that will suit my folder structure.

I am new to XBMC, trying to convert from Media Portal so I can use a Raspberry Pi as a media centre.

Because of other systems, I really don't want to rename my files and folders. Here is an example of how my TV series is set out:

\TV Series\30 Rock\07\01 - The Beginning of the End.mp4
\TV Series\30 Rock \07\12+13 - Hogcock and Last Lunch.mp4
\TV Series\BBC Documentaries\2012\192 - Voyager To the Final Frontier.mkv
\TV Series\BBC Documentaries\2013\36 - The Sea King - Britain's Flying Past.avi

Using the expression:
([0-9]+)[\\/]([0-9]+)([^\\/]*)$

Seems to pick up all of them apart from the mulit-episode files (\TV Series\30 Rock \07\12+13 - Hogcock and Last Lunch.mp4)

And I can't seem to find a way to get it to pick those up.

Any help would be great - Many thanks in advance.

Wayne
Nod

Viewing all articles
Browse latest Browse all 84005

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>