Disable File I/O
FileBot does parse file headers to read embedded media properties. This will be relatively fast since MediaInfo will only read the first few megabytes of each file, but if File I/O is expensive or just slow, then you'll want to configure FileBot to not parse embedded media properties at all.
Disable media parser per call via the -no-probe command-line flag:
Shell: Select all
-no-probe
Shell: Select all
filebot -script fn:properties --def net.filebot.media.parser=none
Store metadata to .xattr folders
Remote file systems typically do not support Extended Attributes so you'll want to configure FileBot to store metadata into a .xattr folder / plain file structure.rednoah wrote: ↑24 Oct 2012, 11:16 FileBot uses xattr (i.e. Extended Attributes / NTFS Alternate Data Streams) to store full metadata in filesystem attributes. These xattr are not to be confused with traditional tags that are embedded in the file content, but additional data streams stored in the file system for each file that are not part of the file itself. As such, xattr requires a filesystem that supports xattr, and xattr may be silently lost if files are moved to a filesystem that doesn't support xattr.
Enable xattr metadata via .xattr folders and plain/text files permanently via the net.filebot.xattr.store system property for both GUI and CLI:
Shell: Select all
filebot -script fn:properties --def net.filebot.xattr.store=.xattr
If you have configured .xattr folders then you may want to run the mediainfo script on the server-side to rapidly parse media information for local files and then store it to xattr ahead of time, so that remote clients can then instantly access mediainfo without reading any media file contents:
Shell: Select all
filebot -script fn:mediainfo /input --mode raw
Disable Windows Trash
The FileBot Desktop application for Windows will integrate with the Windows Desktop by default. Disabling Windows Desktop integration may (or may not) speed up file system operations.Disable Windows File Operation integration permanently via the useNativeShell system property:
Shell: Select all
filebot -script fn:properties --def useNativeShell=false
Shell: Select all
filebot -script fn:properties --def net.filebot.UserFiles.trash=Delete