Need spoon feeding parse / expressions to import media (1 Viewer)

alexisbatman

Portal Member
November 27, 2007
23
0
Home Country
England England
Sorry if this has been documented elsewhere. I've had a good look but havent been able to find anything useful.

I'm new to the MPTV Series plugin but I think its exactly what im looking for. Im having trouble importing the files. The log says there is a parsing error. All my series are stored in the following folder structure:

TV Series Name/Season X/X - Espisode Title

for example

Family Guy/Season 1/04 - Mind Over Murder.avi

I've played with the parse expressions but I cant crack it. Can someone advise as there's no help guide/key to what each expression means.

Thanks,

Alex
 

its_me_gb

Portal Member
September 29, 2007
22
4
Home Country
England England
Hey Alex,

I also found the parsing expressions quite confusing when i started using TvSeries! However i had a read about RegExp (Regular Expressions) and have since been able to form some quite complex parsing expressions!

Anyway, this regexp should be able to parse your family guy files:

Code:
(?<series>[ a-zA-X]*)[\\]Season (?<season>[0-9]*)[\\](?<episode>[0-9]*) - (?<title>[ \w\sa-zA-Z]*)\.(?<ext>[^\\]{0,3})

It should parse most file names (crosses fingers). Just as a comparison, here is the equivilant as a simple parsing expression:

Code:
<series>\Season <season>\<episode> - <title>.<ext>

Looking at it, it does seem quite pointless using regexp, but once you can use it properly it allows alot for flexibility. Google for some tutorials.

I Hope this helps, and if the expressions don't work, please let me know.

gb
 

Users who are viewing this thread

Top Bottom