English > Support
[FAQ] What is the best action to take when the file scanner gets it wrong?
buah:
NMM=New Movie Master
--- Quote ---Don't you receive wrong suggestions like the ones I have listed?
--- End quote ---
No. I get "Change file path" as a results for movies with the same titles, that I already have them in database.
Deazo, looking at you establishing your database is just like looking into myself :). Exactly after importing my movies to PVD, the very next step I did, was to set up proper regexps for scanning.
Regarding this, it looks to me that it'll be more than useful for you to read this topic, and to ask for support right there.
deazo:
Buah I hate you I was trying to avoid the subject of regex's !
I guess you're right, I should change the regex so that it only suggest changes when it finds the EXACT same filename, and not the "or" in "american splendor" !!!
If you know how to do that, I wouldn't mind you telling me. ;) Otherwise I will just have to hurt my brain, yet again.
Thanks!
deazo:
OK, after reading the thread you suggested, I see that my situation should be dead simple.
All my movies are organised like I described earlier:
Folder name = Movie name
File name = Movie name.extension
So I don't understand why the scanner would suggest that the file hair.avi could be the movie "l'ecole de la chair" ?
Just because "hair" can be found in "chair"?
How can I tell it to only suggest that "hair" can only be a full title?
Would you know?
buah:
--- Quote from: deazo on August 05, 2010, 12:30:57 pm ---I will just have to hurt my brain, yet again.
--- End quote ---
Just like I did. :D
First of all - from regex you can get only title, original title, year, season number, episode number, episode title.
Second of all - it all depends on your file naming convention.
Now, I'm not good wit regex at all, so what I did was to found proper regexp for my naming convention. Eventually I realized that I had to slightly modify naming convention itself, which is now:
ID. Title - OrigTitle (Year) (Category) [Whatever-else].ext
(Please notice a dot, spaces and brackets)
For this convention, regex that works for me is (nostra helped me to find it out):
(?i)^.*\\(?P<title>.*) - (?P<origtitle>.*) \((?P<year>[0-9]{4})\).*
To conclude:
- You can't avoid the subject of regex's if you want to scan your files
- You must unify naming videos
- You have to experiment to find out which regex is suitable for your naming convention.
- You have to move that regex at the top of regexes in preferences.
Edit: You posted while i was writing an answer. Try the regex that works for me, and modify it if it's possible to work for you
deazo:
OK,
Yes by looking at the thread I realised there was a priority order in the regex list.
Considering how I named my movies (see above) I assumed the first part of your regex should work for me:
(?i)^.*\\(?P<title>.*)\..*
So I moved it to the top.
I am still getting the results I mentioned, see the screen attached.
Question: is the "(?i)^" part of the expression looking for "anything" before the title?
[attachment deleted by admin]
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version