Presets

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

Presets

Post by rednoah » 03 Dec 2015, 17:36

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.

Image


:idea: Presets can be called instantly via keyboard shortcuts 1..9


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

    Code: Select all

    {home}/Media/{order.airdate.plex}
    Image
  2. Select all media files that contain "Daily Show" (case-insensitive) in the file name and match them against TheTVDB:
    Image
  3. Select all media files that have Japanese audio and match them against AniDB using Japanese language preferences:
    Image
  4. Select all media files longer than 60 minutes that don't contain any SxE pattern in the file name and match them against TheMovieDB:
    Image
  5. If files are already tagged (e.g. via iTunes) then you can use a plain file format with MediaInfo bindings to instantly generate the destination path without any database lookup:

    Code: Select all

    {home}/Media/{media.Album}/Season {media.Season}/{media.Album} - {media.PartID} - {media.Title}
    Image
  6. Rename current selection of files and force Absolute Airdate Order to match by Airdate or Title but use {order.airdate.sxe} to force default SxE episode information in the final filename:

    Code: Select all

    {n} - {order.airdate.sxe} - {t}
    Image
  7. Rename photos and use Date-Taken and Camera Model as the new filename:

    Code: Select all

    {dt.format('yyyy-MM-dd HH∶mm∶ss')} [{camera.model}]
    Image
  8. Rename current selection of files and replace all non-ASCII characters with suitable ASCII equivalents, and replace all spaces with underscore:
    Image
  9. If FileBot does not recognized certain number or date patterns, just create a Preset for fixing that. 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.
    Image
    Please read the Batch Rename any type of file manual for more information.
:idea: Please read the FAQ and How to Request Help.

DarfNader
Posts: 32
Joined: 08 Apr 2018, 12:46

Re: Presets

Post by DarfNader » 15 Apr 2018, 06:35

So what does "Do select files" and "Use orignal files" selection actually do differently? I think I missed that explanation.

DarfNader
Posts: 32
Joined: 08 Apr 2018, 12:46

Re: Presets

Post by DarfNader » 15 Apr 2018, 06:37

Also, it doesn't look like you can enable "hidden" folders in the file selector in "Input Folder" and "Includes" when trying to set up a preset.

User avatar
rednoah
The Source
Posts: 14942
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Presets

Post by rednoah » 15 Apr 2018, 06:49

Original Files means that you load in your own files via Drag-n-Drop and the the Preset is applied to whatever files you have already loaded into FileBot.

Do select files will give you additional input fields, so you can do things like "Load all *.mkv files from D:/Downloads/Movies and then process them with TheMovieDB" so you don't have to drag the files into FileBot yourself every time.

Hidden files / folders are indeed ignored by default. The Filter option can only be used to Filter out files (e.g. non-mkv files) but it cannot be used to "filter in" files. If you have files in a hidden folder, then you can specify that folder directly, and then load all the non-hidden files within that folder into FileBot.
:idea: Please read the FAQ and How to Request Help.

RobEh
Posts: 1
Joined: 02 Sep 2018, 15:26

Re: Presets

Post by RobEh » 02 Sep 2018, 15:59

I am wondering how to add a leading 0 to the season using 1x01 naming format to come out as 01x01? Simply adding a 0 in front of the expression will not work as season 10 would show as season 010.


EDIT:
I found it on my own :? :

Code: Select all

{s.pad(2)}x{e.pad(2)}
Regards,

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest