[DOCS] Set title metadata

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

[DOCS] Set title metadata

Post by rednoah »

FileBot does not modify files, so FileBot itself cannot set or delete embedded metadata for *.mkv or *.mp4 files. You can however configure FileBot to use 3rd party tools such as mkvpropedit to automatically modify embedded metadata.


Example: Automatically set MKV title metadata

e.g. use the -exec option for filebot -rename and filebot -mediainfo calls:

Shell: Select all

-exec mkvpropedit {f} --edit info --set title={object}
e.g. use the --def exec parameter for amc script calls:

Shell: Select all

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

:idea: Since we are modifying the file content with mkvpropedit after processing files with filebot -rename, using --action copy or --action clone (copy-on-write duplicate) is highly recommended to ensure that the original video files remain unmodified.



Alternative: Custom Post-Processing Script

:arrow: Custom Post-Processing Scripts › Set Media Title



Alternative: Write Embedded Tags

:arrow: Script Repository › Write Embedded Tags
:idea: Please read the FAQ and How to Request Help.
Post Reply