Page 1 of 1

[SOLVED] Filebot rename with multiple languages subtitles

Posted: 08 Jan 2018, 02:26
by kodiuser

Code: Select all

/mnt/HD/Movies/Blade Runner 2049 (2017)# filebot -rename -non-strict --db themoviedb "$(pwd)"
I get:

Code: Select all

Rename movies using [TheMovieDB]
Auto-detect movie from context: [/mnt/HD/Movies/Blade Runner 2049 (2017)/Blade.Runner.2049.2017.1080p.BluRay.H264.AAC-RARBG.mp4]
[MOVE] from [/mnt/HD/Movies/Blade Runner 2049 (2017)/Blade.Runner.2049.2017.1080p.BluRay.H264.AAC-RARBG.mp4] to [/mnt/HD/Movies/Blade Runner 2049 (2017)/Blade Runner 2049 (2017).mp4]
[MOVE] from [/mnt/HD/Movies/Blade Runner 2049 (2017)/Blade.Runner.2049.2017.1080p.BluRay.H264.AAC-RARBG.en.srt] to [/mnt/HD/Movies/Blade Runner 2049 (2017)/Blade Runner 2049 (2017).srt]
Skipped [/mnt/HD/Movies/Blade Runner 2049 (2017)/Blade.Runner.2049.2017.1080p.BluRay.H264.AAC-RARBG.pt-BR.srt] because [/mnt/HD/Movies/Blade Runner 2049 (2017)/Blade Runner 2049 (2017).srt] already exists
Processed 2 files
So, in the end, I have:

Code: Select all

Blade.Runner.2049.2017.1080p.BluRay.H264.AAC-RARBG.pt-BR.srt  
Blade Runner 2049 (2017).mp4  
Blade Runner 2049 (2017).srt
Is there anyway to keep both subtitles, or the move script take into account that more than one subtitle exists? And, when renaming, do Blade Runner 2049 (2017).en.srt and Blade Runner 2049 (2017).pt-BR.srt for example?

Re: Filebot rename with multiple languages subtitles

Posted: 08 Jan 2018, 15:28
by kim
It looks like Filebot don't know what "pt-BR" is.... so you need to rename it to "pt" first

then you need to use a format e.g.

Code: Select all

filebot.cmd -rename "D:\Blade Runner 2049 (2017)" --db TheMovieDB -non-strict --action TEST --format "{ny}{subt}"
result
[TEST] from [D:\Blade Runner 2049 (2017)\Blade.Runner.2049.2017.1080p.BluRay.H264.AAC-RARBG.mp4] to [D:\Blade Runner 2049 (2017)\Blade Runner 2049 (2017).mp4]
[TEST] from [D:\Blade Runner 2049 (2017)\Blade.Runner.2049.2017.1080p.BluRay.H264.AAC-RARBG.en.srt] to [D:\Blade Runner 2049 (2017)\Blade Runner 2049 (2017).eng.srt]
[TEST] from [D:\Blade Runner 2049 (2017)\Blade.Runner.2049.2017.1080p.BluRay.H264.AAC-RARBG.pt.srt] to [D:\Blade Runner 2049 (2017)\Blade Runner 2049 (2017).por.srt]

Re: Filebot rename with multiple languages subtitles

Posted: 08 Jan 2018, 16:49
by kodiuser
Like you can have en, en-GB and such, there's possibility with pt and pt-BR. I'll see what I can do with your suggestion. Thanks!

Re: [SOLVED] Filebot rename with multiple languages subtitles

Posted: 09 Jan 2018, 02:40
by kodiuser
kim, you were correct. Changing to pt works, thanks.