[DOCS] Filename-based Bindings

All about user-defined episode / movie / file name format expressions
Post Reply
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

[DOCS] Filename-based Bindings

Post by rednoah »

Some information (e.g. movie edition, video source, etc) cannot be inferred based on MediaInfo properties and can only be inferred from the file name or file path and cannot be known if the information is not currently in the file path.


e.g.
  • {group}
  • {vs} and {source}
  • {tags} and {edition}
  • {s3d}
  • {lang} and {subt} (matched from the file name if possible, inferred via statistical language detection from the file content if necessary)
  • {crc32} (matched from the file name if possible, computed from the current file content if necessary)


:idea: FileBot will check not only {fn} (i.e. current file name) and {folder.name} (i.e. parent folder name) but also {original} (original file name based on xattr metadata) as well as {mediaTitle} (embedded media title based on MediaInfo properties) for matches. The order of precedence is mediaTitle, then original, then fn or folder.name as last resort.



:idea: Please refer to the MediaBindingBean source code for implementation details.
:idea: Please read the FAQ and How to Request Help.
Post Reply