Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

Name:
Email:
Subject:
Message icon:

Attach:
(Clear Attachment)
(more attachments)
Allowed file types: gif, jpg, png, txt, tpl, lng, ini, pvd, psf, ini, cfg, csv, zip, xml, pas, 7z
Restrictions: 4 per post, maximum total size 1024KB, maximum individual size 1024KB
Note that any files attached will not be displayed until approved by a moderator.
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
What is the fifth word in this sentence?:

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: rick.ca
« on: July 23, 2009, 09:09:35 pm »

The scanner will do exactly what the regex in your configuration tells it to do. How to specify and order the regex so it works the way you want it to depends on the structure of your filing system and naming convention. At a glance, I'd say (?i)^.*\\(?P<title>.*)\\.{0,2}\..{3,4} looks like one that does what you describe. If this is so, it's because no matches are found with previous expressions, and this one matches because of the 0 to 2 "." in the filename. As a result, the title is determined to be "Spillefilm.dummy" and the title in the filename is ignored.

You'll have to consider the impact on your other file pathnames, but something like (?i)^.*\\[Spillefilm.dummy]\\(?P<title>)\..{3,4} (if encountered before any other expression that produces a match) would take care of this particular situation.
Posted by: raldo
« on: July 23, 2009, 02:41:25 pm »

The following movies are regarded as one movie by scanner:

\\Server\Videos\Spillefilm.dummy\Dr. Dolittle.avi
\\Server\Videos\Spillefilm.dummy\Dr. No.avi
\\Server\Videos\Spillefilm.dummy\E.T. the Extra-Terrestrial.avi
\\Server\Videos\Spillefilm.dummy\G.I. Jane.avi
\\Server\Videos\Spillefilm.dummy\L.A. Confidential.avi
\\Server\Videos\Spillefilm.dummy\Mr. Deeds.avi
\\Server\Videos\Spillefilm.dummy\Pi.avi
\\Server\Videos\Spillefilm.dummy\U.S. Marshals.avi

Any way around this?