English > Support

File Scanner and Regular Expressions

<< < (8/18) > >>

patch:

--- Quote from: Tethien on January 26, 2010, 11:57:10 am ---My film only have one season. And parent directory name is film title. Not have any season number in path.

--- End quote ---

If your series has only one season then it is the first season. So name it
Bad Love E01E01.HDTV.X264.720p-Encoder.mkv
Bad Love E01E02.HDTV.X264.720p-Encoder.mkv

All will then run smoothly

rick.ca:

--- Quote ---and then PVD recognized OK. Why ?
--- End quote ---

It's not recognized okay. It's recognizing only Title="Bad Love HDTV X264 720p-Encoder E01" instead of Title="Bad Love," Season="1" and Episode="1." Unless Season and Episode are properly recognized, the file will be added as a separate movie record, instead of a nested series record.

You need to understand the function of the regex statements at Preferences - File Scanner. Perhaps you can find a reference source in your native language—like this Wikipedia entry. Is it available in your language (listed in left column)?


--- Quote ---I  can rename multi file by using Total Commander but if i rename i shuld re-rename back while reseed requested.
--- End quote ---

Yes, this is probably what you'll need to do—if you want to use the file scanner to add these files. You could leave the file name unchanged, and add it to PVD manually. Just add the new record, then enter the File path.

Tethien:

--- Quote from: rick.ca on January 26, 2010, 12:40:38 pm ---
Yes, this is probably what you'll need to do—if you want to use the file scanner to add these files. You could leave the file name unchanged, and add it to PVD manually. Just add the new record, then enter the File path.

--- End quote ---

This is realy a very boring job.

Thank for you help.

xyster:
Yay, my time to jjoin in the regex  fun.

I  havent worked with regex for a couple of years now. So this should be a fun at it. I've read this thread and hope i get it now :D

My files are all named quite consistently... for the most part. I am having trouble getting it to distinguish between moves like this.

Wild.Wild.West.1999.DVDRip.XViD.iNT.CD1-JoLLyRoGeR : Title.Title.Title.YEAR.Quality.notuseful
Taken.WS.R5.XViD-PUKKA                                       : Title.QualityVariant.Quality.notuseful
Bangkok.Dangerous.R5.LINE.XviD-COALiTiON               : Title.Title.Quality.Quality.notuseful
Futurama.Benders.Big.Score.DVDRiP.XviD-OPT             : Title.Title.Title.Title.Title.Quality.notuseful (this is the most common naming format, or the first option).

Thats about all the variation i have in my files.

Is it easiest to just set my regex to read til it hits a predefined Quality type? I know all the values it will eventually hit (R5, R5.Line, DVDSCR, DVDRIP, AC3.DVDRIP, SCREENER, WS.R5, TC, TS, BDRIP)

Also, where does the quality of the file get read in, i dont see it as an option. Or does it happen somewhere else?

So something like...
(?i)^.+\\(?P<title>[^\\]+)[^\\]+(?P<year>(19|2\d)\d{2})   - This predefined one should catch the 1st option and im confident in that.

(?i)^.*\\(?P<title>.*)\\(R5|R5\\.LINE|WS\\.R5|DVDSCR|DVDRIP|etc|etc).\..*   - should be matching the 2nd/3rd/4th type? (i cant seem to tell if you need to add the \\ to escape a "." whilst inside the |...| areas)

Sorry to be a pain, i know how aggivating it is to interpret someones regex stuff. Also thanks for any help guys.

buah:
RegSearch is really interesting to me. I had an idea to exchange regexps here, but first I wanted to contributed somehow. Being extremely busy at the moment (sorry nostra and rick), I need help if someone is willing to help me.

This is the format of my folders and videos:

"English Title" - "Original Title" ("Year") ("Category") ["Source"],

without qoutes.
Please, note spaces, 5 at all.

Possible examples of naming my folders (and videos) are:

The Matrix (1999)

Is Anybody There^ (2008) (^ is equivalent for ? - the question mark)

Hachiko-- A Dog's Story (2009) (-- is equivalent for : - the colon)

Savage Messiah (1972) [TVRip]

Men Who Hate Women - Män som hatar kvinnor (2009)

A Single Girl - La fille seule (1995) [HS-DVDRip]

Mom at Sixteen (2005) (TV)

Erotic Diary of an Office Lady - OL kanno nikki-- Ah! Watashi no naka de (1977) (V) [HS-DVDRip]


So, I need an expression that will fill in Title field, Original title field (if any), Year, Category (if there are brackets after Year's closing bracket) and Custom field named "Source" (if any) while "[" and"]" have to be recognized as Source only if after a Year or Category (because of the movie [REC] (2007), for example). Or, whatever is possible to fill in, and rest to ignore.

I know it's too much, but any help would be appreciated a lot! Thank you in advance.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version