FileBot renaming subtitles from .eng.srt to .srt
Posted: 20 Oct 2014, 10:46
(Run on both OS X 10.10 & Ubuntu 14.04)
The command:
The output:
This is my first time playing with FileBot's CLI and I have to say its amazing. But I can't figure out how to stop it from removing .eng from my .srt files.
BTW I've also tried appending this to the format expression, no success:
Please tell me what I'm doing wrong - Thanks in advance.
The command:
Code: Select all
filebot -rename -get-subtitles --lang en -non-strict --format '{n} - {s00e00} {vf}' The.Good.Wife.S01.720p.WEB-DL.DD5.1.h.264/
Code: Select all
Get [English] subtitles for 2 files
Looking up subtitles by hash via OpenSubtitles
Matched [The Good Wife - S01E01 720p.mkv] to [The.Good.Wife.S01E01.Pilot.DVDRip.XviD-SAiNTS.HI] via hash
Fetching [The.Good.Wife.S01E01.Pilot.DVDRip.XviD-SAiNTS.HI.srt]
Writing [The.Good.Wife.S01E01.Pilot.DVDRip.XviD-SAiNTS.HI.srt] to [The Good Wife - S01E01 720p.eng.srt]
Looking up subtitles by name via OpenSubtitles
Fetching [the.good.wife.s01e02.srt]
Writing [the.good.wife.s01e02.srt] to [The Good Wife - S01E02 720p.eng.srt]
Filename pattern: [1.00] SxE, [0.00] CWS
Rename episodes using [TheTVDB]
Auto-detected query: [The Good Wife]
Fetching episode data for [The Good Wife]
Auto-detected query: [The Good Wife]
Fetching episode data for [The Good Wife]
[MOVE] Rename [/Users/admin/Desktop/The.Good.Wife.S01.720p.WEB-DL.DD5.1.h.264/The Good Wife - S01E01 720p.eng.srt] to [The Good Wife - S01E01 720p.srt]
[MOVE] Rename [/Users/admin/Desktop/The.Good.Wife.S01.720p.WEB-DL.DD5.1.h.264/The Good Wife - S01E02 720p.eng.srt] to [The Good Wife - S01E02 720p.srt]
...
BTW I've also tried appending this to the format expression, no success:
Code: Select all
{if (ext == 'srt') '.en'}