Page 1 of 1

Bug: Wrong detection if IMDB id is present in filename

Posted: 26 Mar 2016, 17:35
by jeff1326
For filebot 4.6.1 (64 bits) on Windows 10

I have a file named :
Ip Man 3 [Action, Biography, Drama] #tt2888046.avi
When i press the match button with TheMovieDB, it detect as :
Ip Man (2008) 108min [Drama, Action, History] #tt1220719.avi
When i press the match button with OMDB, it detect as :
Ip Man (2008) 106min [Action, Biography, Drama] #tt1220719.avi
I expect to get at least "Ip Man 3" with the same imdb id.
There's 3 movie for this collection : https://www.themoviedb.org/collection/7 ... uage=en-US

Re: Bug: Wrong detection if IMDB id is present in filename

Posted: 26 Mar 2016, 20:07
by rednoah
Looks good to me:

Code: Select all

Rename movies using [TheMovieDB]
Auto-detect movie from context: [Ip Man 3 [Action, Biography, Drama] #tt2888046.avi]
[COPY] Rename [Ip Man 3 [Action, Biography, Drama] #tt2888046.avi] to [Movies/Ip Man 3 (2015)/Ip Man 3 (2015).avi]

Re: Bug: Wrong detection if IMDB id is present in filename

Posted: 26 Mar 2016, 23:57
by jeff1326
This was done on the GUI.

Re: Bug: Wrong detection if IMDB id is present in filename

Posted: 27 Mar 2016, 00:28
by jeff1326
I created a "new text document", renamed it "Ip Man 3 FR [Action, Biography, Drama] #tt2888046.avi".
Open it in filebot GUI, then when i click on match (with TheMovieDB).
I get 3 proposition instead of just the one from the name with imdbid
  • Ip Man 3 (2015)
  • Ip Man (2008)
  • The Man (2005)
If i take the movie, it's detected as "Ip Man (2008)". I guess i have renamed it at least once before. It is the problem ?

Re: Bug: Wrong detection if IMDB id is present in filename

Posted: 27 Mar 2016, 02:25
by jeff1326
After i checked the generic, i found it's
The Legend Is Born - Ip Man (2010) 100min [Drama, Action, History] #tt1641638

Re: Bug: Wrong detection if IMDB id is present in filename

Posted: 27 Mar 2016, 10:47
by rednoah
So you select "Ip Man 3" and it's still matching it to "Ip Man 1" is that correct? Please post picture proof (i.e. screenshot) because it works with both latest stable/revision.

What's the full file path? Are there any other movies in the same folder?

Re: Bug: Wrong detection if IMDB id is present in filename

Posted: 27 Mar 2016, 20:21
by jeff1326
Image

Re: Bug: Wrong detection if IMDB id is present in filename

Posted: 27 Mar 2016, 20:55
by rednoah
1.
Bad filename + "good" foldername = bad ranking

Code: Select all

Rank [Ip Man, Ip Man 3 FR] => [Ip Man (2008), Ip Man 3 (2015), The Man (2005)]
In this case, the "FR" messes things up.


2.
You can work around these kind of issues by forcing the search query => CTRL+Click datasource

Re: Bug: Wrong detection if IMDB id is present in filename

Posted: 27 Mar 2016, 23:22
by jeff1326
Well, the folder is the name of the collection.

Is it possible to match correctly if the name of the folder is "Ip Man Collection" instead ?

And FR is the language.
Is it possible to avoid conflict if language is like this ?
[FR] or [FR, EN]
(FR) or (FR, EN)

Re: Bug: Wrong detection if IMDB id is present in filename

Posted: 28 Mar 2016, 10:20
by rednoah
Sure, either will work.

1.
If the folder "Ip Man" doesn't exactly match the movie "Ip Man" then it should be different enough for the correct match to be ranked on top.

2.
This kind of brackets are ignored, it'll rank query "Ip Man 3" with movie "Ip Man 3" so it's gonna come out on top.

3.
Adding the movie year after the movie name, or anywhere in the filename, would probably also fix this issue.

Re: Bug: Wrong detection if IMDB id is present in filename

Posted: 28 Mar 2016, 14:25
by jeff1326
1. Nice to know

2. Just to be sure. Only the bracket or all the content inside too ?

3. So if the year is in bracket, it will be ignored ?

Re: Bug: Wrong detection if IMDB id is present in filename

Posted: 28 Mar 2016, 16:22
by rednoah
2.
[Everything of course]

3.
In some aspects, yes. In some aspects, no. It doesn't matter thought, it'll always just work if the filename is reasonable, and movie year is definitely part of a reasonable movie filename.

Re: Bug: Wrong detection if IMDB id is present in filename

Posted: 31 Mar 2016, 00:08
by jeff1326
3. So the detection should be better if the year is not in parenthese or bracket ?

Re: Bug: Wrong detection if IMDB id is present in filename

Posted: 31 Mar 2016, 07:41
by rednoah
3.
Nope. Brackets or no brackets. It doesn't matter.

Re: Bug: Wrong detection if IMDB id is present in filename

Posted: 02 Apr 2016, 21:03
by jeff1326
Thank you very much !