Newer versions of FileBot support the -exec option for the -rename and -mediainfo commands:
Code: Select all
-exec mkvpropedit {f} --edit info --set title={object}
Hoping to keep original filename in the MKV Media Info.
Code: Select all
-exec mkvpropedit {f} --edit info --set title={object}
Code: Select all
$ filebot -mediainfo -r . -exec echo "{original} => {fn}"
Execute [echo, Firefly.1x01 => Firefly - 1x01 - The Train Job]
Firefly.1x01 => Firefly - 1x01 - The Train Job
Code: Select all
@echo off
for %%a in (*.mkv) do "C:\Program Files\MKVToolNix\mkvpropedit.exe" "%output%%%~na%%~xa" --edit info --set "title=%%a"