[Anime] Convert Absolute to SxE numbers

How-to guides, frequently asked questions, not-so-obvious features, etc
User avatar
The Source
Posts: 11290
Location: Taipei

[Anime] Convert Absolute to SxE numbers

Postby rednoah » 13 Jun 2015, 15:27

Convert Absolute to SxE numbers

Anime files are often named using Absolute numbering. However, most Media Center Software like Plex or Kodie require SxE naming standards that match the TheTVDB Season/Episode numbers (in Airdate order).

So in order to help TheTVDB scrapers correctly identify your Anime episodes you will have to convert Absolute anime numbers to their corresponding TheTVDB SxE numbers.

In the best case, if absolute number information has already been added to TheTVDB and clearly named files (e.g. One Piece E500) FileBot can easily match the absolute numbers with the correct episode in Airdate order and rename it using SxE information (e.g. One Piece S14E19).

In the worst case, especially if files use ambiguous naming patterns (e.g. One Piece 501 can mean 5x01 or 501) you may need to:

  1. Match with Absolute Order episode data
  2. Translate Absolute Order episode data to Airdate Order in the format

e.g. Use the {order} binding to retrieve SxE episode data in the format:

Code: Select all


e.g. Convert Absolute Order to Airdate Order on the command-line:

Code: Select all

filebot -rename "One Piece 501.avi" --db TheTVDB --order Absolute --format "{n} - {order.airdate.sxe}" -non-strict

Code: Select all

[MOVE] Rename [One Piece 501.avi] to [One Piece - 14x20.avi]
My (very excellent) support depends on Windows Store and Mac App Store sales and PayPal donations. Paying users, donors and everyone who contributes to FileBot in one way or another will get the very best support.


Please read the FAQ and How to Request Help. Donate if you'd like some extra developer love. :ugeek:

Return to “Tips, Tricks and Tutorials”

Who is online

Users browsing this forum: No registered users and 1 guest