Presets

How-to guides, frequently asked questions, not-so-obvious features, etc
Post Reply
User avatar
rednoah
The Source
Posts: 22899
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Presets

Post by rednoah »

Presets allow you to add customized buttons to FileBot so you can automatically select certain files and match them against a given database with predefined options, and save you a lot of click work.

Screenshot


:idea: The built-in Presets are hidden by default if you have already created your own custom Presets. Use SHIFT+CLICK <Presets> to reveal both built-in Presets and your custom Presets.

:idea: Use Edit Preset to edit your existing custom Presets or to add a new custom Preset to your list, either from scratch via New Preset or based on one of the built-in default Presets. (NOTE: You cannot delete the built-in default Presets.)

ScreenshotScreenshot




Example 1: Convert Absolute numbers to SxE numbers

Match files with TheTVDB using Absolute Episode Order and organize them according to the Plex naming scheme using Airdate Episode Order:

Format: Select all

{ drive }/Media/{ order.airdate.plex }
Screenshot
:idea: Please read [Anime] Convert Absolute to SxE numbers thoroughly if you want to match files with AniDB naming and numbering and rename them with TheTVDB naming and numbering:

Format: Select all

{ db.TheTVDB.plex.name }
Screenshot


Example 2: Daily Shows

Select all media files that contain "Daily Show" (case-insensitive) in the file name and match them against TheTVDB:
Screenshot


Example 3: AniDB

Select all media files that have Japanese audio and match them against AniDB using Japanese language preferences:
Screenshot


Example 4: Movies

Select all media files longer than 60 minutes that don't contain any SxE pattern in the file name and match them against TheMovieDB:
Screenshot


Example 5: iTunes to Plex

If files are already tagged (e.g. via iTunes) then you can use a Plain File Mode with MediaInfo bindings to instantly generate the destination path without any database lookup:

Format: Select all

{ drive }/Media/{ media.Album }/Season { media.Season }/{ media.Album } - { media.PartID } - { media.Title }
Screenshot


Example 6: Match by Episode Title

Rename current selection of files and force Episode Order: Date and Title to match by DD-MM-YYYY or Title but use {order.airdate.plex.name} as format to force default SxE episode information in the final file name. Please read Match by Episode Title for details.

Format: Select all

{ order.airdate.plex.name }
Screenshot


Example 7: Sort Photos by Date-Taken

Rename photos and use Date-Taken and Camera Model as the new filename:

Format: Select all

{ dt.format('yyyy-MM-dd HH∶mm∶ss') } [{ camera.model }]
Screenshot


Example 8: File to Folder

Move each file into a new folder with the name of the file:

Format: Select all

{ folder }/{ fn }/{ fn }
Screenshot


Example 10: Force ASCII filenames

Rename current selection of files and replace all non-ASCII characters with suitable ASCII equivalents, and replace all spaces with underscore:

Format: Select all

{ fn.ascii().space('_') }
Screenshot


Example 11: Fix Date Pattern

If FileBot does not recognize certain number or date patterns, just create a Preset for fixing things. For example, if date patterns like MM.DD.YY don't work, just replace MM.DD.YY with YYYY.MM.DD first and then the rest will just work. Please read Plain File Mode for details.

Screenshot


Example 12: 4K Movies by Director

Mirror selected files into a new disposable secondary structure via Local Xattr Mode. Please read Batch Rename any type of file and Re-organize previously organized files using local xattr metadata for details.

Screenshot


Example 13: Append Media Properties

Append video resolution / video codec / audio codec / etc to the file name. Please read Batch Rename any type of file for details.

Screenshot


Example 14: Embedded Media Title

Use the embedded Media Title property as file name. Please read Batch Rename any type of file for details.

Screenshot


Example 15: Custom Page Scraper

You can use Plain File Mode to build your own integrations with 3rd party websites via your own custom code. Please read Custom Page Scraper for details and examples.

Screenshot
:idea: Please read the FAQ and How to Request Help.
Post Reply