Page 1 of 1

adam 2020

Posted: 03 Nov 2020, 04:56
by chewcrunchyice
When I have a file labeled anything like Adam 2020, there is no result in the GUI. If I rename to Adam, it asks me which of 3 films, including the 2020 version, but nothing happens when it is selected. Does not matter if I select TheMovieDB or OMDb
amc named it all lowercase with no {certification} or {rating}

Re: adam 2020

Posted: 03 Nov 2020, 07:27
by rednoah
:?: What does the log say? Please read How to Request Help.


As far as I can tell, everything fundamentally works with both GUI and CLI:

Code: Select all

filebot -rename *.mp4 --db TheMovieDB --format "{ny} ID{id} C{certification} R{rating}" -non-strict --action TEST --log INFO
[TEST] from [Adam 2020.mp4] to [Adam (2020) ID706260 C R7.0.mp4]

:idea: {certification} doesn't work presumably because that piece of information has not yet been entered:
https://www.themoviedb.org/movie/706260-adam

Re: adam 2020

Posted: 15 Nov 2020, 16:34
by chewcrunchyice
The amc.log shows the following

Code: Select all

Input: Adam.2020.1080p.WEB-DL.DD5.1.x264-CMRG[TGx]\Adam.2020.1080p.WEB-DL.DD5.1.x264-CMRG.mkv
Group: {Movie=adam (2020), Series=null} => [Adam.2020.1080p.WEB-DL.DD5.1.x264-CMRG.mkv]
Rename movies using [TheMovieDB]
Auto-detect movie from context [Adam.2020.1080p.WEB-DL.DD5.1.x264-CMRG[TGx]\Adam.2020.1080p.WEB-DL.DD5.1.x264-CMRG.mkv]
[COPY] from [Adam.2020.1080p.WEB-DL.DD5.1.x264-CMRG[TGx]\Adam.2020.1080p.WEB-DL.DD5.1.x264-CMRG.mkv] to [adam (2020) [, 0.0][1080p AVC,6ch AC3].mkv]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノ

Re: adam 2020

Posted: 15 Nov 2020, 17:09
by rednoah
:idea: Since the movie has only been rated by 1-2 people, perhaps rather recently, FileBot might be using slightly outdated information due to caching.


:arrow: Please include the command-line call, and the complete console output, so that we can see what you're doing, and in particular what custom format you're using.


:idea: Please read How to Request Help.

Re: adam 2020

Posted: 15 Nov 2020, 17:21
by chewcrunchyice

Code: Select all

filebot -script fn:amc --output "Sorted" --action copy --conflict skip --def extractFolder=C:\extracted -non-strict "[input file path]" --log-file amc.log --def excludeList=amc.txt --def "seriesFormat=Sorted\TV\{n}{n =~ y ? '' : \" ($y)\"}\{n}{n =~ y ? '' : \" ($y)\"} - Season {s.pad(2)} ({episodelist.findAll{it.season == s}.airdate.year[0,-1].unique().join('-')})\{n}{n =~ y ? '' : \" ($y)\"} {s00e00} - {t} [{vf}{hdr == 'HDR' ? ' HDR':''} {vc}, {af} {ac}]" "movieFormat={vf=='2160p'||vf=='4320p' ? '4K':{vf=='720p'||vf=='1080p'?'Sorted\\HD':'Movies'}}\{n} ({y}) [{certification}, {rating}][{vf}{hdr == 'HDR' ? ' HDR':''} {vc},{af} {ac}]"

Run script [fn:amc] at [Fri May 22 14:02:31 PDT 2020]
Parameter: extractFolder = C:\extracted
Parameter: excludeList = amc.txt
Parameter: seriesFormat = Sorted\TV\{n}{n =~ y ? '' : " ($y)"}\{n}{n =~ y ? '' : " ($y)"} - Season {s.pad(2)} ({episodelist.findAll{it.season == s}.airdate.year[0,-1].unique().join('-')})\{n}{n =~ y ? '' : " ($y)"} {s00e00} - {t} [{vf}{hdr == 'HDR' ? ' HDR':''} {vc}, {af} {ac}]
Parameter: movieFormat = {vf=='2160p'||vf=='4320p' ? '4K':{vf=='720p'||vf=='1080p'?'Sorted\\HD':'Movies'}}\{n} ({y}) [{certification}, {rating}][{vf}{hdr == 'HDR' ? ' HDR':''} {vc},{af} {ac}]
Argument[0]: [input file path]
Use excludes: Sorted\amc.txt (10385)

Re: adam 2020

Posted: 15 Nov 2020, 17:34
by rednoah
1.
If the log is from Fri May 22 14:02:31 PDT 2020 then it's very possible that the movie information was different at the time. If no certification or rating was entered at the time, then the expected behaviour would have been missing values.


2.
In this case, you also wanna be aware of there being 2x Adam (2020) movies:
https://www.themoviedb.org/movie/706260-adam (no certification, rated 6.5 at this point in time)
https://www.themoviedb.org/movie/726443-adam (no certification, no rating at this point in time)

You can test with a format such as this to see the numeric ID as well, as to make sure that FileBot did match the correct one:

Code: Select all

{ny} [{id}]

Re: adam 2020

Posted: 15 Nov 2020, 17:54
by chewcrunchyice
That's good to know, my apologies for the late report on this one, it took me a while to get around to auditing this. And as always thank you for your hard work.

To my second issue, it seems there is something with this file that is preventing the GUI from coming up with any match when I use the file (currently named "Adam (2020) [R, 6.0][1080p AVC,6ch AC3].mkv"). The orange circular "working" icon does not appear as it does for successful matches.
If I take a text file and name it "Adam 2020.mkv" I seem to get a match. I'm rather curious what might be the issue with this specific file.

error log:
Nov 15, 2020 9:34:38 AM net.filebot.media.MediaDetection getLocalizedMovie
WARNING: Failed to retrieve localized movie data: Invalid Lookup: Bad ID [0]

This log entry only appears once however, despite attempting to match in the GUI multiple times.

Re: adam 2020

Posted: 16 Nov 2020, 03:36
by rednoah
Adam (2020) [R, 6.0][1080p AVC,6ch AC3].mkv works for me. There could be other factors that make it not work that are specific to your test case (e.g. folder name, *.nfo files, etc) though.


:idea: If you're processing previously processed files, then you're strongly encouraged to use Local Xattr Mode (i.e. Smart Mode: Attributes in the GUI) to match files based on previously stored metadata. Please read Metadata and Extended Attributes for details.