Hi there - excellent work and thanks.
I use a modified version of your script for utorrent post processing:
"C:/Program Files/Filebot/filebot.exe" -script fn:amc --output "Y:/Videos" --log-file amc.log --action copy --conflict override -non-strict --def music=n subtitles=en,el artwork=y backdrops=y plex=hippo minFileSize=0 "seriesFormat=TV Series/{n}/Season {s.pad(2)}/{n} - {s00e00} - {t}{'.'+lang.ISO3Language.upper()}" "animeFormat=Movies/Movie Files/{n} ({y})/{fn}{'.'+lang.ISO3Language.upper()}" "movieFormat=Movies/Movie Files/{n} ({y})/{fn}{'.'+lang.ISO3Language.upper()}" "musicFormat=Music/{n}/{fn}" ut_dir=%1 ut_file=%2 ut_kind=%3 ut_title=%4 ut_label=%5 ut_state=%6 clean=y
I read that there are some commandline switches that can download a sub in a specific encoding format:
e.g. filebot -get-subtitles path/to/movie --q "Avatar" --lang zh --output srt --encoding utf8 -non-strict
How can I use these encoding types for different languages in my utorrent postprocessing command?
As you can see, I download both subtitles=en,el.
Can I use something like: subtitles=en/utf8,el/greek ?
Thanks
Automated Media Center - Encoding
Re: Automated Media Center - Encoding
Just add the encoding switch to the filebot -script fn:amc <options> call so all the getSubtitles() calls within the AMC script will then default to the given options:
If you need one encoding for one language, and another encoding for another language you'll have to modify the script and force the encoding when getSubtitles() is called according to your own encoding preference logic.
Code: Select all
--encoding utf8
Re: Automated Media Center - Encoding
Thanks I will try to do that.
Re: Automated Media Center - Encoding
I just had a quick look at the amc page.
Is there a link to where I can download the script and modify it locally?
Is there a link to where I can download the script and modify it locally?
Re: Automated Media Center - Encoding
All the scripts can be found at http://filebot.net/scripts/conandrum wrote:I just had a quick look at the amc page.
Is there a link to where I can download the script and modify it locally?