Expressions/Rules requests (6 Viewers)

pgjensen

Portal Pro
May 1, 2008
186
7
regexp worked, but the database was corrupt :) figured something was up when i saw all of the original regexp's enabled and it wasn't parsing your files correctly.
 

TeMorituri

Portal Member
April 19, 2009
41
19
A few more expressions please

Root directory : E:\Video Files\TV

E:\Video Files\TV\Star Trek\Star Trek The Next Generation\season_1_ep_01-02_-_encounter_at_farpoint

etc etc AND :)

E:\Video Files\TV\Star Trek\Star.Trek\star_trek_tos_-_season_1_ep_00_-_the_cage

and

E:\Video Files\TV\The Tudors\The Tudors Series 01 Episode 01
:D
 

ChriZ

Portal Pro
March 22, 2008
125
3
Home Country
Denmark Denmark
OK, I'm having trouble importing episodes >99, this is an example of the file names:

Donald Duck 1x100 - Dude Duck.mkv

This is parsed as:
Series Name: Donald Duck 1x
Season: 1
Episode: 00

I've tried changing the regexp's myself, but I've given up, could anyone help me how to make this (slightly modified) default expression work with the above?
^.*?\\?(?<series>[^\\$]+?)(?:s(?<season>[0-3]?\d)\s?ep?(?<episode>\d\d)|(?<season>(?:[0-2]\d|(?<!\d)\d))x?(?<episode>\d\d))(?!\d)(?:[ .-]?(?:s\k<season>e?(?<episode2>\d{2}(?!\d))|\k<seaso n>x?(?<episode2>\d{2}(?!\d))|(?<episode2>\d\d(?!\d ))|E(?<episode2>\d\d))|)[ -.]*(?<title>(?![^\\]*?sample)[^\\]*?[^\\]*?)\.(?<ext>[^.]*)$

/Christian
 

pgjensen

Portal Pro
May 1, 2008
186
7
Code:
^.*?\\?(?<series>[^\\$]+?)(?:s(?<season>[0-3]?\d)\s?ep?(?<episode>\d\d)|(?<season>(?:[0-2]\d|(?<!\d)\d))x?(?<episode>\d\d\d?))(?!\d)(?:[ .-]?(?:s\k<season>e?(?<episode2>\d{2}(?!\d))|\k<season>x?(?<episode2>\d{2}(?!\d))|(?<episode2>\d\d(?!\d))|E(?<episode2>\d\d))|)[ -.]*(?<title>(?![^\\]*?sample)[^\\]*?[^\\]*?)\.(?<ext>[^.]*)$
 

ChriZ

Portal Pro
March 22, 2008
125
3
Home Country
Denmark Denmark
Cheers pgjensen - works like a charm!

now, why isn't this one of the standard expressions, I just cleared my databe og reimported only having this one expression and it worked for all my series with alot of different syntaxes...

/Christian
 

pgjensen

Portal Pro
May 1, 2008
186
7
i have thousands of episodes, all named differently, and had to learn regular expressions to get them all right. i have 6 enabled custom regexp's to get mine right. every now and then i have to rename a file or two, but it's not very often.
 

johan_80

Portal Pro
April 27, 2009
65
0
Can someone please help me.
I name my series like this:

Series\Frasier\Season 1\S01E01 - EpisodeName.ext

or

Series\Sopranos, The\Season 1\S01E01 - EpisodeName.ext ("The" placed after , for easy sorting)
 

johan_80

Portal Pro
April 27, 2009
65
0
I would really appreciate if someone could help me with this one. Have been testing diffrent parsing expressions without luck. I thougt my naming scheme was quite normal. But I can't get a single show to be recognised.
 

pgjensen

Portal Pro
May 1, 2008
186
7
rename your database to back it up and try with a new database. sometimes the parsing expressions will get corrupted. if that doesn't work, list your import paths for the above.
 

johan_80

Portal Pro
April 27, 2009
65
0
I can't for my life understand why its not parsing my series.

One example

Entered path
\\UNRAID\disk5\Serier

In this location I have like 15 series with the following naming scheme:
Frasier\Season 1\S01E01 - Episodename.ext

(absolute path "\\UNRAID\disk5\Serier\Frasier\Season 1\S01E01 - Episodename.ext)


Evrerything is red..

If I enter the following path:
\\UNRAID\disk5\Serier\Frasier\

(ie one path per series)

Then it will pick it up. But thinks that the serie name is "Season 1"
 

Users who are viewing this thread

Top Bottom