[DOCS] Set title metadata

Running FileBot from the console, Groovy / FileBot scripting, shell scripts, etc
Post Reply
User avatar
rednoah
The Source
Posts: 16098
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

[DOCS] Set title metadata

Post by rednoah » 18 May 2017, 13:19

FileBot does not modify files, so it can't set or delete embedded metadata for mkv or mp4 files. You can use 3rd party tools such as mkvpropedit to automatically modify embedded metadata.


Example: Automatically set MKV title metadata:

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}
The amc script has had support for --def exec=command for a long time:

Code: Select all

--def exec="mkvpropedit {quote f} --edit info --set title={quote object}"

:idea: Since we're modifying the file content, using --action copy or --action clone (on supported platforms) is highly recommended.
:idea: Please read the FAQ and How to Request Help.

Post Reply