I didnt change nothing.
Because of sake of other users who might found it useful, I think it was a good idea not to open new topic but to activate old one you started, both of them upon same issue.
Considering this, I suggest to pin a topic with proven regexps for different syntax of file names.
Type/Regex/Example | Comments | |
Type: | 1. Series (title in filename) | folder ignored |
Regex: | (?i)^.*\\(?P<title>.*)(s|\b)(?P<season>[0-9]{1,3})e(?P<episode>[0-9]{1,3}) | case insensitive |
Example: | Series title s01e01 remainder ignored.ext | 1-3 digit series/episode numbers |
Variation: | Series title S01 E01.ext | add a space before the "e" |
Type: | 2. Series (hyphen-delimited with episode title) | folder ignored |
Regex: | (?i)^.*\\(?P<title>.*).?-.?(?P<season>[0-9]{1,3})x(?P<episode>[0-9]{1,3}).?-.?(?P<eptitle>\w*\b) | does "\w*\b" match a one |
Example: | Series title - 1x001 episodetitle.ext | word episode title only? |
Variation: | Series title - 1x001 episode title.ext | ...change to "\..{3,4}" |
Considering this, I suggest to pin a topic with proven regexps for different syntax of file names. In such a topic, comments wouldn't be allowed ... only filename -> contributed proven regexp.Why not put it in the PVD wiki (http://www.nimidia.com/pvd_wiki/tiki-index.php?page=Organize-files-by-episode)
...
Any thoughts?
My point is, we would never be able to pin down a finite number of filename pattern sets in use
We don't have to, need to or tend to...
...or in PVD Wiki, why not.
They add the "proven" regex to their configuration, and it still doesn't workis possible, unless it's the order of regex set in Preferences to blame? Answer on this question will help me to better understand regex, and indirectly PVD functioning.
The expressions are processed in order—until a match is found. So if one is added to a position in the list after an existing one that already matches, it won't be processed. The fact of a match does not mean the existing expression does so correctly. Not only does the added expression have to match, preceding expressions that aren't meant to match have to not match.
Now I'm confused.
Second, there's no need to get the episode title from the filename if that is being downloaded anyway.
Rememenber that Im a spanish user, so, sometimes I have the episode names in spanish, and IMDB return the name in english, that is why I prefer this way.
Rememenber that Im a spanish user, so, sometimes I have the episode names in spanish, and IMDB return the name in english, that is why I prefer this way.
I was commenting for the benefit of others reading this as well. In your circumstance, where the IMDb record is in English, you'll probably do better updating the series than attempting to update each episode as it is added—using a Spanish episode title it will not be able to find. By setting the plugin not to overwrite Title, you should end up with a Spanish Title and English Original title. And, for a Spanish series, adding the episode title from the filename is only going to help.
Rememenber that Im a spanish user, so, sometimes I have the episode names in spanish, and IMDB return the name in english, that is why I prefer this way.
I was commenting for the benefit of others reading this as well. In your circumstance, where the IMDb record is in English, you'll probably do better updating the series than attempting to update each episode as it is added—using a Spanish episode title it will not be able to find. By setting the plugin not to overwrite Title, you should end up with a Spanish Title and English Original title. And, for a Spanish series, adding the episode title from the filename is only going to help.
Setting a field to not be overwritten only makes a difference if something is already there. If NMM runs the download plugin first, it's going to get the English episode title. If you run the file scanner after downloading the series, it will replace the episode titles with those from the filenames. If you then update the episodes, with the overwrite setting off for Title and on for Original title, you should end up with a Spanish Title and English Original title—as in the attached screen shot.
If the file scanner has detected a change in the file, it should update the information as I described. I can only guess you're still asking NMM to add files—so when the scanner is run afterwards, no changes are detected.