Incorrect movie naming

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
redbull666
Donor
Posts: 58
Joined: 08 Jan 2014, 20:45

Incorrect movie naming

Post by redbull666 »

One of my downloads was misidentified by amc:
Run script [fn:amc] at [Mon Jun 10 19:19:24 CEST 2019]
Parameter: unsorted = y
Parameter: music = y
Parameter: artwork = y
Parameter: ut_dir = /mnt/slow/torrents/media_downloads/Contact.1997.1080p.BluRay.REMUX.VC-1.TrueHD.5.1-EPSiLON.mkv
Parameter: ut_kind = multi
Parameter: ut_title = Contact.1997.1080p.BluRay.REMUX.VC-1.TrueHD.5.1-EPSiLON.mkv
Parameter: ut_label =
Parameter: movieFormat = Movies/{n} ({y})/{n} ({y}) [{vc}, {source}-{vf}, {audio[0].Format_profile.slash(' ').match('Atmos').replaceAll('Atmos', replacement= 'Atmos ')} {ac}-{channels}, {group}]{ext=='srt' ? ".en" : ''}
Parameter: seriesFormat = TV Shows/{n}/{episode.special ? 'Specials' : 'Season '+s}/{n} - {episode.special ? 'S00E'+special.pad(2) : s00e00} - {t} [{vc}, {source}-{vf}, {audio[0].Format_profile.slash(' ').match('Atmos').replaceAll('Atmos', replacement= 'Atmos ')} {ac}-{channels}, {group}]{ext=='srt' ? ".en" : ''}
Parameter: ignore = .nfo|.srt|.mp4
Parameter: exec = chmod -R 775 "{folder}/../" ; chown -R redbull:users "{folder}/../"
Input: /mnt/slow/torrents/media_downloads/Contact.1997.1080p.BluRay.REMUX.VC-1.TrueHD.5.1-EPSiLON.mkv
Group: [Movie:The Contact (1997)] => [Contact.1997.1080p.BluRay.REMUX.VC-1.TrueHD.5.1-EPSiLON.mkv]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/mnt/slow/torrents/media_downloads/Contact.1997.1080p.BluRay.REMUX.VC-1.TrueHD.5.1-EPSiLON.mkv]
It seems to me that amc should choose "Contact (1997)" and not "The Contact (1997)"? Even though the names are very similar, the first one is an exact match!
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Incorrect movie naming

Post by rednoah »

Fixed with FileBot r6500.
:idea: Please read the FAQ and How to Request Help.
redbull666
Donor
Posts: 58
Joined: 08 Jan 2014, 20:45

Re: Incorrect movie naming

Post by redbull666 »

rednoah wrote: 10 Jun 2019, 21:09 Fixed with FileBot r6500.
Great, thanks!
redbull666
Donor
Posts: 58
Joined: 08 Jan 2014, 20:45

Re: Incorrect movie naming

Post by redbull666 »

Got another one:
Run script [fn:amc] at [Sat Jun 29 07:54:48 CEST 2019]
Parameter: unsorted = y
Parameter: music = y
Parameter: artwork = y
Parameter: ut_dir = /mnt/slow/torrents/media_downloads/Catch-22.S01.2160p.WEB.H265-DEFLATE
Parameter: ut_kind = multi
Parameter: ut_title = Catch-22.S01.2160p.WEB.H265-DEFLATE
Parameter: ut_label =
Parameter: movieFormat = Movies/{n} ({y})/{n} ({y}) [{vc}, {source}-{vf}, {audio[0].Format_profile.slash(' ').match('Atmos').replaceAll('Atmos', replacement= 'Atmos ')} {ac}-{channels}, {group}]{ext=='srt' ? ".en" : ''}
Parameter: seriesFormat = TV Shows/{n}/{episode.special ? 'Specials' : 'Season '+s}/{n} - {episode.special ? 'S00E'+special.pad(2) : s00e00} - {t} [{vc}, {source}-{vf}, {audio[0].Format_profile.slash(' ').match('Atmos').replaceAll('Atmos', replacement= 'Atmos ')} {ac}-{channels}, {group}]{ext=='srt' ? ".en" : ''}
Parameter: ignore = .nfo|.srt|.mp4
Parameter: exec = chmod -R 775 "{folder}/../" ; chown -R redbull:users "{folder}/../"
Input: /mnt/slow/torrents/media_downloads/Catch-22.S01.2160p.WEB.H265-DEFLATE/Catch-22.S01E01.2160p.WEB.H265-DEFLATE.mkv
Input: /mnt/slow/torrents/media_downloads/Catch-22.S01.2160p.WEB.H265-DEFLATE/Catch-22.S01E02.2160p.WEB.H265-DEFLATE.mkv
Input: /mnt/slow/torrents/media_downloads/Catch-22.S01.2160p.WEB.H265-DEFLATE/Catch-22.S01E03.2160p.WEB.H265-DEFLATE.mkv
Input: /mnt/slow/torrents/media_downloads/Catch-22.S01.2160p.WEB.H265-DEFLATE/Catch-22.S01E04.2160p.WEB.H265-DEFLATE.mkv
Input: /mnt/slow/torrents/media_downloads/Catch-22.S01.2160p.WEB.H265-DEFLATE/Catch-22.S01E05.2160p.WEB.H265-DEFLATE.mkv
Input: /mnt/slow/torrents/media_downloads/Catch-22.S01.2160p.WEB.H265-DEFLATE/Catch-22.S01E06.2160p.WEB.H265-DEFLATE.mkv
Group: [Series:catch] => [Catch-22.S01E01.2160p.WEB.H265-DEFLATE.mkv, Catch-22.S01E02.2160p.WEB.H265-DEFLATE.mkv, Catch-22.S01E03.2160p.WEB.H265-DEFLATE.mkv, Catch-22.S01E04.2160p.WEB.H265-DEFLATE.mkv, Catch-22.S01E05.2160p.WEB.H265-DEFLATE.mkv, Catch-22.S01E06.2160p.WEB.H265-DEFLATE.mkv]
Rename episodes using [TheTVDB] with [Airdate Order]
Auto-detected query: [Catch, catch 22]
Fetching episode data for [The Catch]
Fetching episode data for [Catscratch]
Fetching episode data for [Catch 21]
Fetching episode data for [Catch Moi]
Fetching episode data for [Catch Hand]
Resource not found: https://api.thetvdb.com/search/series?name=catch+22
It ends up selecting: https://www.wikiwand.com/en/The_Catch_(TV_series) and not https://www.wikiwand.com/en/Catch-22_(miniseries)

Also, should I be worried about this?
It should find https://www.thetvdb.com/series/catch-22 somehow.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Incorrect movie naming

Post by rednoah »

I'll look into it.

In the meanwhile, semi-manual processing should work:

Code: Select all

filebot -list --db TheTVDB --q "Catch-22"

EDIT:

This warning just tells you why it's not working, a search for "catch 22" yields 0 results, and since TheTVDB gives back bad results, FileBot is likely to also give you bad results, because it'll think "catch 22" isn't a TV series:

Code: Select all

Resource not found: https://api.thetvdb.com/search/series?name=catch+22
:arrow: I'll add a custom alias. Should make it work in the future.
:idea: Please read the FAQ and How to Request Help.
kim
Power User
Posts: 1251
Joined: 15 May 2014, 16:17

Re: Incorrect movie naming

Post by kim »

is this not the same search ?
https://api.thetvdb.com/search/series?name=catch+22
https://www.thetvdb.com/search?q=catch+22

if so the show is in the results

if not what is the equal to the api search ?
redbull666
Donor
Posts: 58
Joined: 08 Jan 2014, 20:45

Re: Incorrect movie naming

Post by redbull666 »

rednoah wrote: 01 Jul 2019, 08:42 I'll look into it.

In the meanwhile, semi-manual processing should work:

Code: Select all

filebot -list --db TheTVDB --q "Catch-22"

EDIT:

This warning just tells you why it's not working, a search for "catch 22" yields 0 results, and since TheTVDB gives back bad results, FileBot is likely to also give you bad results, because it'll think "catch 22" isn't a TV series:

Code: Select all

Resource not found: https://api.thetvdb.com/search/series?name=catch+22
:arrow: I'll add a custom alias. Should make it work in the future.
Great, thanks!
redbull666
Donor
Posts: 58
Joined: 08 Jan 2014, 20:45

Re: Incorrect movie naming

Post by redbull666 »

rednoah wrote: 01 Jul 2019, 08:42 :arrow: I'll add a custom alias. Should make it work in the future.
I can confirm this works correctly in latest Filebot build I downloaded yesterday, thanks again!
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Incorrect movie naming

Post by rednoah »

Nice. Thanks for reporting back.
:idea: Please read the FAQ and How to Request Help.
redbull666
Donor
Posts: 58
Joined: 08 Jan 2014, 20:45

Re: Incorrect movie naming

Post by redbull666 »

Had another really strange one:
Run script [fn:amc] at [Mon Jul 29 17:04:43 CEST 2019]
Parameter: unsorted = y
Parameter: music = y
Parameter: artwork = y
Parameter: ut_dir = /mnt/slow/torrents/media_downloads/Food.Evolution.2016.720p.HULU.WEB-DL.AAC2.0.H.264-RaViSH.mkv
Parameter: ut_kind = multi
Parameter: ut_title = Food.Evolution.2016.720p.HULU.WEB-DL.AAC2.0.H.264-RaViSH.mkv
Parameter: ut_label =
Parameter: movieFormat = Movies/{n} ({y})/{n} ({y}) [{vc}, {vf}, {audio[0].Format_profile.slash(' ').match('Atmos').replaceAll('Atmos', replacement= 'Atmos ')} {ac}-{channels}, {group}]{ext=='srt' ? ".en" : ''}
Parameter: seriesFormat = TV Shows/{n}/{episode.special ? 'Specials' : 'Season '+s}/{n} - {episode.special ? 'S00E'+special.pad(2) : s00e00} - {t} [{vc}, {vf}, {audio[0].Format_profile.slash(' ').match('Atmos').replaceAll('Atmos', replacement= 'Atmos ')} {ac}-{channels}, {group}]{ext=='srt' ? ".en" : ''}
Parameter: ignore = .nfo|.srt|.mp4
Parameter: exec = chmod -R 775 "{folder}/../" ; chown -R redbull:users "{folder}/../"
Input: /mnt/slow/torrents/media_downloads/Food.Evolution.2016.720p.HULU.WEB-DL.AAC2.0.H.264-RaViSH.mkv
Group: [Movie:Consumed (2015), Series:null] => [Food.Evolution.2016.720p.HULU.WEB-DL.AAC2.0.H.264-RaViSH.mkv]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/mnt/slow/torrents/media_downloads/Food.Evolution.2016.720p.HULU.WEB-DL.AAC2.0.H.264-RaViSH.mkv]
[HARDLINK] from [/mnt/slow/torrents/media_downloads/Food.Evolution.2016.720p.HULU.WEB-DL.AAC2.0.H.264-RaViSH.mkv] to [/mnt/slow/media/Movies/Consumed (2015)/Consumed (2015) [x264, 720p, AAC-2.0, ].mkv]
Correct one exists fine on TMDB: https://www.themoviedb.org/search?query ... uage=en-US
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Incorrect movie naming

Post by rednoah »

Bad luck. The year is wrong in the index, maybe because it modified after FileBot indexed it, and "Consumed" happens to be called "Food" as an alias, with a closer year.

The bad one somehow beats out the good one by 0.001 points. It'll probably resolve itself once FileBot updates its index with the latest movie year (i.e. correct year) value. I'll look into it though.
:idea: Please read the FAQ and How to Request Help.
redbull666
Donor
Posts: 58
Joined: 08 Jan 2014, 20:45

Re: Incorrect movie naming

Post by redbull666 »

Thanks for the quick response as always!

Is it not odd that "Food" wins over "Food Evolution" even though the year is 1 off? I suppose the year has a very strong weight as it's usually correct, perhaps being 1 year off should not lessen the weight much?
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Incorrect movie naming

Post by rednoah »

The final result is very odd.

Think of it like an election. A 50.001 over 49.999 majority still means one side wins 100% and the other 0%.

In this particular case, I've fixed it by correcting the database information.

If we find similar cases in the future, then I might have to adjust the logic, but I'll need more data to make sure the benefits outweigh the costs, since adjusting weights is a always double-edged sword.
:idea: Please read the FAQ and How to Request Help.
redbull666
Donor
Posts: 58
Joined: 08 Jan 2014, 20:45

Re: Incorrect movie naming

Post by redbull666 »

Makes perfect sense. Going to retry the download now then :)
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Incorrect movie naming

Post by rednoah »

Might need the latest revision. Clear cache. Etc.

Since server side caching is there as well, it might take 1+ week to get the latest data.
:idea: Please read the FAQ and How to Request Help.
Post Reply