Rename to German (via FileBot Node; when *.nfo file is present)

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
jj1973
Posts: 5
Joined: 27 Apr 2021, 18:01

Rename to German (via FileBot Node; when *.nfo file is present)

Post by jj1973 »

Hello, filebot has always worked great for me. Recently I've had the problem that I can't get any German titles renamed, only the original English ones. what can be the reason?
User avatar
rednoah
The Source
Posts: 20995
Joined: 16 Nov 2011, 08:59

Re: Rename to German

Post by rednoah »

Have German episode titles been entered yet for the series at hand in your chosen database?
:idea: Please read the FAQ and How to Request Help.
jj1973
Posts: 5
Joined: 27 Apr 2021, 18:01

Re: Rename to German

Post by jj1973 »

The problem is mostly with movies. I have 2 logs. With the first, the film was renamed to English after unpacking and the info is in German.
On the second, I moved the folder back into the download directory and it was renamed correctly to German.

1.Log

Code: Select all

filebot -script 'fn:amc' /volume1/PlexFlix/Downloads --output /volume1/PlexFlix --action move -non-strict --order Airdate --conflict auto --lang de --def 'music=y' 'unsorted=y' 'artwork=y' 'clean=y' 'skipExtract=y' 'seriesFormat=Serien/{plex.tail}' 'animeFormat=Anime/{plex.tail}' 'movieFormat=Filme/{plex.tail}' 'musicFormat=Musik/{plex.tail}' 'movieDB=TheMovieDB' 'seriesDB=TheMovieDB::TV' 'unsortedFormat=Unsortiert/{file.structurePathTail}' 'excludeList=.excludes' --apply refresh --log all --log-file '/var/packages/filebot-node/target/data/filebot.log'

------------------------------------------

Run script [fn:amc] at [Sat May 28 07:11:24 CEST 2022]
Parameter: music = y
Parameter: unsorted = y
Parameter: artwork = y
Parameter: clean = y
Parameter: skipExtract = y
Parameter: seriesFormat = Serien/{plex.tail}
Parameter: animeFormat = Anime/{plex.tail}
Parameter: movieFormat = Filme/{plex.tail}
Parameter: musicFormat = Musik/{plex.tail}
Parameter: movieDB = TheMovieDB
Parameter: seriesDB = TheMovieDB::TV
Parameter: unsortedFormat = Unsortiert/{file.structurePathTail}
Parameter: excludeList = .excludes
Argument[0]: /volume1/PlexFlix/Downloads
Use excludes: /volume1/PlexFlix/.excludes (1)
Input: /volume1/PlexFlix/Downloads/MBlDL2017GAC31080BlR265FN6864/Mein.Blind.Date.mit.dem.Leben.2017.German.AC3.1080p.BluRay.x265-FuN/Mein.Blind.Date.mit.dem.Leben.2017.German.AC3.1080p.BluRay.x265-FuN.mkv
Group: {Movie=My Blind Date with Life (2017)} => [Mein.Blind.Date.mit.dem.Leben.2017.German.AC3.1080p.BluRay.x265-FuN.mkv]
Rename movies using [TheMovieDB]
[MOVE] from [/volume1/PlexFlix/Downloads/MBlDL2017GAC31080BlR265FN6864/Mein.Blind.Date.mit.dem.Leben.2017.German.AC3.1080p.BluRay.x265-FuN/Mein.Blind.Date.mit.dem.Leben.2017.German.AC3.1080p.BluRay.x265-FuN.mkv] to [/volume1/PlexFlix/Filme/My Blind Date with Life (2017)/My Blind Date with Life (2017).mkv]
[REFRESH] Refresh File Services (/volume1/PlexFlix/Filme/My Blind Date with Life (2017))
[REFRESH] Refresh File Services (/volume1/PlexFlix/Downloads/MBlDL2017GAC31080BlR265FN6864/Mein.Blind.Date.mit.dem.Leben.2017.German.AC3.1080p.BluRay.x265-FuN)
Processed 1 file
Fetching movie artwork for [My Blind Date with Life (2017)] to [/volume1/PlexFlix/Filme/My Blind Date with Life (2017)]
Generate Movie NFO: Mein Blind Date mit dem Leben [379019]
Fetching /volume1/PlexFlix/Filme/My Blind Date with Life (2017)/poster.jpg => [posters/2000x3000, de, 79830.0, https://image.tmdb.org/t/p/original/uneNYyni8wSflliNVOrz7VOnMHu.jpg]
Fetching /volume1/PlexFlix/Filme/My Blind Date with Life (2017)/fanart.jpg => [backdrops/3840x2160, 11474.0, https://image.tmdb.org/t/p/original/rLlqmLoM0cxdC1sGyOX1KY0JCr3.jpg]
Fetching /volume1/PlexFlix/Filme/My Blind Date with Life (2017)/clearart.png => [hdmovieclearart, de, 1.0, http://assets.fanart.tv/fanart/movies/379019/hdmovieclearart/mein-blind-date-mit-dem-leben-58c043ea7fae4.png]
Fetching /volume1/PlexFlix/Filme/My Blind Date with Life (2017)/logo.png => [hdmovielogo, de, 0.0, http://assets.fanart.tv/fanart/movies/379019/hdmovielogo/mein-blind-date-mit-dem-leben-58978a124dcef.png]
Fetching /volume1/PlexFlix/Filme/My Blind Date with Life (2017)/disc.png => [moviedisc/bluray, de, 0.0, http://assets.fanart.tv/fanart/movies/379019/moviedisc/mein-blind-date-mit-dem-leben-58c055a83703b.png]
Clean clutter files and empty folders
Delete /volume1/PlexFlix/Downloads/MBlDL2017GAC31080BlR265FN6864/Mein.Blind.Date.mit.dem.Leben.2017.German.AC3.1080p.BluRay.x265-FuN/Mein.Blind.Date.mit.dem.Leben.2017.German.AC3.1080p.BluRay.x265-FuN.nfo
Keep /volume1/PlexFlix/Downloads/SketchUp Pro 2021 v21.1.332.0 (x64) Multi/Patch_v1.2-H Hayat.rar (not clutter)
Keep /volume1/PlexFlix/Downloads/SketchUp Pro 2021 v21.1.332.0 (x64) Multi/SketchUpProFull-2021-1.2.exe (not clutter)
Keep /volume1/PlexFlix/Downloads/SketchUp Pro 2021 v21.1.332.0 (x64) Multi (not empty)
Delete /volume1/PlexFlix/Downloads/MBlDL2017GAC31080BlR265FN6864/Mein.Blind.Date.mit.dem.Leben.2017.German.AC3.1080p.BluRay.x265-FuN
Delete /volume1/PlexFlix/Downloads/MBlDL2017GAC31080BlR265FN6864
Keep /volume1/PlexFlix/Downloads (root folder)
Done ヾ(@⌒ー⌒@)ノ

------------------------------------------

[Process completed]
2.Log

Code: Select all

filebot -script 'fn:amc' /volume1/PlexFlix/Downloads --output /volume1/PlexFlix --action move -non-strict --order Airdate --conflict auto --lang de --def 'music=y' 'unsorted=y' 'artwork=y' 'clean=y' 'skipExtract=y' 'seriesFormat=Serien/{plex.tail}' 'animeFormat=Anime/{plex.tail}' 'movieFormat=Filme/{plex.tail}' 'musicFormat=Musik/{plex.tail}' 'movieDB=TheMovieDB' 'seriesDB=TheMovieDB::TV' 'unsortedFormat=Unsortiert/{file.structurePathTail}' 'excludeList=.excludes' --apply refresh --log all --log-file '/var/packages/filebot-node/target/data/filebot.log'

------------------------------------------

Run script [fn:amc] at [Sat May 28 07:16:31 CEST 2022]
Parameter: music = y
Parameter: unsorted = y
Parameter: artwork = y
Parameter: clean = y
Parameter: skipExtract = y
Parameter: seriesFormat = Serien/{plex.tail}
Parameter: animeFormat = Anime/{plex.tail}
Parameter: movieFormat = Filme/{plex.tail}
Parameter: musicFormat = Musik/{plex.tail}
Parameter: movieDB = TheMovieDB
Parameter: seriesDB = TheMovieDB::TV
Parameter: unsortedFormat = Unsortiert/{file.structurePathTail}
Parameter: excludeList = .excludes
Argument[0]: /volume1/PlexFlix/Downloads
Use excludes: /volume1/PlexFlix/.excludes (1)
Input: /volume1/PlexFlix/Downloads/My Blind Date with Life (2017)/My Blind Date with Life (2017).mkv
Group: {Movie=My Blind Date with Life (2017)} => [My Blind Date with Life (2017).mkv]
Rename movies using [TheMovieDB]
Auto-detect movie from context [/volume1/PlexFlix/Downloads/My Blind Date with Life (2017)/My Blind Date with Life (2017).mkv]
[MOVE] from [/volume1/PlexFlix/Downloads/My Blind Date with Life (2017)/My Blind Date with Life (2017).mkv] to [/volume1/PlexFlix/Filme/Mein Blind Date mit dem Leben (2017)/Mein Blind Date mit dem Leben (2017).mkv]
[REFRESH] Refresh File Services (/volume1/PlexFlix/Filme/Mein Blind Date mit dem Leben (2017))
[REFRESH] Refresh File Services (/volume1/PlexFlix/Downloads/My Blind Date with Life (2017))
Processed 1 file
Fetching movie artwork for [Mein Blind Date mit dem Leben (2017)] to [/volume1/PlexFlix/Filme/Mein Blind Date mit dem Leben (2017)]
Generate Movie NFO: Mein Blind Date mit dem Leben [379019]
Fetching /volume1/PlexFlix/Filme/Mein Blind Date mit dem Leben (2017)/poster.jpg => [posters/2000x3000, de, 79830.0, https://image.tmdb.org/t/p/original/uneNYyni8wSflliNVOrz7VOnMHu.jpg]
Fetching /volume1/PlexFlix/Filme/Mein Blind Date mit dem Leben (2017)/fanart.jpg => [backdrops/3840x2160, 11474.0, https://image.tmdb.org/t/p/original/rLlqmLoM0cxdC1sGyOX1KY0JCr3.jpg]
Fetching /volume1/PlexFlix/Filme/Mein Blind Date mit dem Leben (2017)/clearart.png => [hdmovieclearart, de, 1.0, http://assets.fanart.tv/fanart/movies/379019/hdmovieclearart/mein-blind-date-mit-dem-leben-58c043ea7fae4.png]
Fetching /volume1/PlexFlix/Filme/Mein Blind Date mit dem Leben (2017)/logo.png => [hdmovielogo, de, 0.0, http://assets.fanart.tv/fanart/movies/379019/hdmovielogo/mein-blind-date-mit-dem-leben-58978a124dcef.png]
Fetching /volume1/PlexFlix/Filme/Mein Blind Date mit dem Leben (2017)/disc.png => [moviedisc/bluray, de, 0.0, http://assets.fanart.tv/fanart/movies/379019/moviedisc/mein-blind-date-mit-dem-leben-58c055a83703b.png]
Clean clutter files and empty folders
Delete /volume1/PlexFlix/Downloads/My Blind Date with Life (2017)/clearart.png
Delete /volume1/PlexFlix/Downloads/My Blind Date with Life (2017)/disc.png
Delete /volume1/PlexFlix/Downloads/My Blind Date with Life (2017)/fanart.jpg
Delete /volume1/PlexFlix/Downloads/My Blind Date with Life (2017)/folder.jpg
Delete /volume1/PlexFlix/Downloads/My Blind Date with Life (2017)/logo.png
Delete /volume1/PlexFlix/Downloads/My Blind Date with Life (2017)/movie.nfo
Delete /volume1/PlexFlix/Downloads/My Blind Date with Life (2017)/poster.jpg
Keep /volume1/PlexFlix/Downloads/SketchUp Pro 2021 v21.1.332.0 (x64) Multi/Patch_v1.2-H Hayat.rar (not clutter)
Keep /volume1/PlexFlix/Downloads/SketchUp Pro 2021 v21.1.332.0 (x64) Multi/SketchUpProFull-2021-1.2.exe (not clutter)
Keep /volume1/PlexFlix/Downloads/SketchUp Pro 2021 v21.1.332.0 (x64) Multi (not empty)
Delete /volume1/PlexFlix/Downloads/My Blind Date with Life (2017)
Keep /volume1/PlexFlix/Downloads (root folder)
Done ヾ(@⌒ー⌒@)ノ

------------------------------------------

[Process completed]
User avatar
rednoah
The Source
Posts: 20995
Joined: 16 Nov 2011, 08:59

Re: Rename to German

Post by rednoah »

Looks like localization is skipped if the primary movie information is immediately known via the *.nfo file. That file is gone in the second test, and so the normal search-by-name logic happens. I'll look into that.



EDIT:

Fixed with FileBot r9212.
:idea: Please read the FAQ and How to Request Help.
jj1973
Posts: 5
Joined: 27 Apr 2021, 18:01

Re: Rename to German (via FileBot Node; when *.nfo file is present)

Post by jj1973 »

I have the problem not only with filebot-node but also with filebot-docker_watcher. There is a fix there too.
User avatar
rednoah
The Source
Posts: 20995
Joined: 16 Nov 2011, 08:59

Re: Rename to German (via FileBot Node; when *.nfo file is present)

Post by rednoah »

The issue will be fixed with the next release. That's probably a few months away though.


:idea: You could use the {localize} binding to workaround the issue with current builds like so:

Code: Select all

Filme/{localize.German.plex.tail}
:idea: Please read the FAQ and How to Request Help.
jj1973
Posts: 5
Joined: 27 Apr 2021, 18:01

Re: Rename to German (via FileBot Node; when *.nfo file is present)

Post by jj1973 »

Thanks for the great support.
Post Reply