Page 1 of 1

Use AMC to rename or replace existing sub with .eng.srt?

Posted: 31 Mar 2015, 08:07
by jamauai
Script:

Code: Select all

 filebot -script fn:amc “/path/to/source" --action move --def subtitles=en movieFormat=“/path/to/dest/{n} ({y}) [{vf}]/{fn}" clean=y
Trying to get the following results:
- If .srt file exists, rename to .eng.srt
- If .srt file doesn't exist, download eng sub

Or I guess it could download an eng sub every time and overwrite the existing .srt.

How do I go about doing that? I've tried adding -non-strict and --conflict auto without success.

Re: Use AMC to rename or replace existing sub with .eng.srt?

Posted: 31 Mar 2015, 08:45
by rednoah
- If .srt file exists, rename to .eng.srt
Use the replace script => viewtopic.php?f=4&t=5#p2100

(or force ".eng" extra suffice via the format)
- If .srt file doesn't exist, download eng sub
That's what the amc script does.
Or I guess it could download an eng sub every time and overwrite the existing .srt.
That sounds like you wanna get banned. Don't waste OpenSubtitles resources.
How do I go about doing that?
What's missing?


:arrow: Please read • How to 'Request Help'

Re: Use AMC to rename or replace existing sub with .eng.srt?

Posted: 31 Mar 2015, 08:47
by jamauai
This is sufficient. Thank you for your help.