Bug: Wrong detection if IMDB id is present in filename

All your suggestions, requests and ideas for future development
Post Reply
jeff1326
Posts: 22
Joined: 25 Mar 2016, 16:00

Bug: Wrong detection if IMDB id is present in filename

Post 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
User avatar
rednoah
The Source
Posts: 23932
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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]
:idea: Please read the FAQ and How to Request Help.
jeff1326
Posts: 22
Joined: 25 Mar 2016, 16:00

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

Post by jeff1326 »

This was done on the GUI.
jeff1326
Posts: 22
Joined: 25 Mar 2016, 16:00

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

Post 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 ?
jeff1326
Posts: 22
Joined: 25 Mar 2016, 16:00

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

Post by jeff1326 »

After i checked the generic, i found it's
The Legend Is Born - Ip Man (2010) 100min [Drama, Action, History] #tt1641638
User avatar
rednoah
The Source
Posts: 23932
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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?
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 23932
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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
:idea: Please read the FAQ and How to Request Help.
jeff1326
Posts: 22
Joined: 25 Mar 2016, 16:00

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

Post 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)
User avatar
rednoah
The Source
Posts: 23932
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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.
:idea: Please read the FAQ and How to Request Help.
jeff1326
Posts: 22
Joined: 25 Mar 2016, 16:00

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

Post 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 ?
User avatar
rednoah
The Source
Posts: 23932
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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.
:idea: Please read the FAQ and How to Request Help.
jeff1326
Posts: 22
Joined: 25 Mar 2016, 16:00

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

Post by jeff1326 »

3. So the detection should be better if the year is not in parenthese or bracket ?
User avatar
rednoah
The Source
Posts: 23932
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post by rednoah »

3.
Nope. Brackets or no brackets. It doesn't matter.
:idea: Please read the FAQ and How to Request Help.
jeff1326
Posts: 22
Joined: 25 Mar 2016, 16:00

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

Post by jeff1326 »

Thank you very much !
Post Reply