[DOCS] Set title metadata

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

[DOCS] Set title metadata

Post by rednoah »

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.


EDIT:

The new tags script can now be used to write embedded tags based on xattr metadata:
viewtopic.php?p=44992#p44992
:idea: Please read the FAQ and How to Request Help.
Post Reply