Page 1 of 1

Incorrect movie naming

Posted: 10 Jun 2019, 17:47
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!

Re: Incorrect movie naming

Posted: 10 Jun 2019, 21:09
by rednoah
Fixed with FileBot r6500.

Re: Incorrect movie naming

Posted: 11 Jun 2019, 05:40
by redbull666
rednoah wrote:
10 Jun 2019, 21:09
Fixed with FileBot r6500.
Great, thanks!

Re: Incorrect movie naming

Posted: 30 Jun 2019, 12:37
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.

Re: Incorrect movie naming

Posted: 01 Jul 2019, 08:42
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.

Re: Incorrect movie naming

Posted: 01 Jul 2019, 15:58
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 ?

Re: Incorrect movie naming

Posted: 01 Jul 2019, 16:28
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!

Re: Incorrect movie naming

Posted: 09 Jul 2019, 07:59
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!

Re: Incorrect movie naming

Posted: 09 Jul 2019, 08:27
by rednoah
Nice. Thanks for reporting back.

Re: Incorrect movie naming

Posted: 29 Jul 2019, 18:09
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

Re: Incorrect movie naming

Posted: 29 Jul 2019, 18:54
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.

Re: Incorrect movie naming

Posted: 30 Jul 2019, 05:53
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?

Re: Incorrect movie naming

Posted: 30 Jul 2019, 06:07
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.

Re: Incorrect movie naming

Posted: 30 Jul 2019, 06:14
by redbull666
Makes perfect sense. Going to retry the download now then :)

Re: Incorrect movie naming

Posted: 30 Jul 2019, 06:29
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.