[BUG?] AMC rename movies with original name and not the localized one

All your suggestions, requests and ideas for future development
Post Reply
SpaventaPassere
Posts: 11
Joined: 27 May 2016, 23:20

[BUG?] AMC rename movies with original name and not the localized one

Post by SpaventaPassere »

I use FileBot on a Debian server with the AMC script since some year, and until some weeks ago it all worked perfectly, FileBot renamed the movie to the correct (italian) localized title.

Since some days without any change in my command line options, now FileBot/AMC renames movies to the original name, instead of the italian localized one.

An example. With this command line:

Code: Select all

filebot -script fn:amc --def skipExtract=y -no-xattr --lang=ita \
        --output "/media/Cloud" \
        --action move -non-strict \
        "/media/Cioffi" \
        --mode interactive --def minFileSize=0 --def minLengthMS=0 \
        --log-file /root/filebot/amc.log \
        --def excludeList=/root/filebot/amc.txt \
        --def seriesFormat="/media/Cloud/Plex/Serie TV/{n}/Stagione {s}/{s}x{e00} - {t} [{vf}]{'.'+lang}" \
        --def movieFormat="/media/Cloud/Plex/Cioffi/{genre}/{n} ({y}) [{vf}][{vc}][{ac}][{af}]{'.'+lang}"
I get this output:

Code: Select all

Run script [fn:amc] at [Wed Sep 30 21:58:29 CEST 2020]
Parameter: skipExtract = y
Parameter: minFileSize = 0
Parameter: minLengthMS = 0
Parameter: excludeList = /root/filebot/cioffi.txt
Parameter: movieFormat = /media/Cloud/Plex/Cioffi/{genre}/{n} ({y}) [{vf}][{vc}][{ac}][{af}]{'.'+lang}{'.'+fn.match(/forced/)}
Argument[0]: /media/Cioffi
Use excludes: /root/filebot/cioffi.txt (346)
Input: /media/Cioffi/Arma da taglio (1972).avi
Group: {Movie=Arma da taglio (1972), Series=null} => [Arma da taglio (1972).avi]
Rename movies using [TheMovieDB]
Auto-detect movie from context [/media/Cioffi/Arma da taglio (1972).avi]
[MOVE] from [/media/Cioffi/Arma da taglio (1972).avi] to [/media/Cloud/Plex/Cioffi/Action/Prime Cut (1972) [480p][DivX][MP3][2ch].avi]
Processed 1 file
Done ヾ(@⌒ー⌒@)ノ
The movie "Arma da taglio (1972)" is correctly identified, but is renamed with the "Action" genre instead of the italian "Azione", and the movie renamed to the original "Prime Cut" instead of the italian "Arma da taglio".

Has you any clue on why this is happening? Thanks a lot in advance.

M
SpaventaPassere
Posts: 11
Joined: 27 May 2016, 23:20

Re: [BUG?] AMC rename movies with original name and not the localized one

Post by SpaventaPassere »

An update: manually downgrading from v4.9.2 to v4.9.1 solved my problem.

Code: Select all

Group: {Movie=Arma da taglio (1972), Series=null} => [Arma da taglio (1972).avi]
Rename movies using [TheMovieDB]
Auto-detect movie from context [/media/Cioffi/Arma da taglio (1972).avi]
[MOVE] from [/media/Cioffi/Arma da taglio (1972).avi] to [/media/Cloud/Plex/Cioffi/Azione/Arma da taglio (1972) [480p][DivX][MP3][2ch].avi]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノ
Upgrading again to v4.9.2 presented the issue again.

Does this help to isolate the problem with v4.9.2?

Thanks.

M
User avatar
rednoah
The Source
Posts: 23930
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BUG?] AMC rename movies with original name and not the localized one

Post by rednoah »

Can you reproduce the problem with simple filebot -rename calls?

Here's what I get:

Code: Select all

filebot -rename *.avi -non-strict --db TheMovieDB --lang Italian --format "{genre}/{ny}" --action TEST --log INFO
[TEST] from [Arma da taglio 1972.avi] to [Azione/Arma da taglio (1972).avi]

Code: Select all

filebot -rename *.avi -non-strict --db TheMovieDB --lang English --format "{genre}/{ny}" --action TEST --log INFO
[TEST] from [Arma da taglio 1972.avi] to [Action/Prime Cut (1972).avi]
:idea: I also can't reproduce the issue with the amc script neither. It should work. No clue as to why it might not work in your test case.

:idea: Upgrading or downgrading will reset the cache which could be a clue as to why it's working after downgrade, or upgrade.
:idea: Please read the FAQ and How to Request Help.
Post Reply