Issues with {e} and {s} tag when "Date and Title" Episode order

Support for Windows users
Post Reply
cualquiera
Posts: 2
Joined: 31 Oct 2022, 03:30

Issues with {e} and {s} tag when "Date and Title" Episode order

Post by cualquiera »

As the title says, I'm unable to make the "Date and Title" episode order work. Whenever I use it, the {s} tag returns nothing and the {e} tag returns de air date instead of the episode number, check image:

Image

As you can see, on the first file instead of "S01E01", File bot is returning "E19860226" which is the air date (26 of febreuary of 1986).

Using on FileBot 4.9.6, any help is apreciated.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Issues with {e} and {s} tag when "Date and Title" Episode order

Post by rednoah »

{s} and {e} depend on your preferred episode order. If you want SxE numbers, then you must choose Airdate or DVD.


:idea: Date and Title (or Absolute Airdate) uses the airdate as episode number. Since the "airdate as episode number" typically doesn't match any number in the file name, the Title is allowed to become the deciding factor. The Title is always considered, but matching SxE and Absolute numbers always take precedence. {s} and {e} are the numbers that FileBot is working with internally, so they mustn't match your files if you want to match-by-date/title.


:idea: If you want to match-by-date/title but format-by-airdate/sxe then you can do that. Please read Match by Episode Title for details.


:idea: However, your files are already well-named and well-numbered. You can just use the default settings and it'll work just fine, no?

Code: Select all

$ filebot -rename *.mp4 --db TheMovieDB::TV --order Airdate -non-strict --action TEST --log INFO
[TEST] from [[AnimeRG] Dragon Ball - 007 The Ox-king on Fire Mountain [480p] [×265] (pseudo].mp4] to [Dragon Ball - 1x07 - The Ox King on Fire Mountain.mp4]
:idea: Please read the FAQ and How to Request Help.
cualquiera
Posts: 2
Joined: 31 Oct 2022, 03:30

Re: Issues with {e} and {s} tag when "Date and Title" Episode order

Post by cualquiera »

The

Code: Select all

{order.airdate.plex.name}
tag worked like a charm.
Thanks!
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Issues with {e} and {s} tag when "Date and Title" Episode order

Post by rednoah »

:idea: If you're converting file names from Anime numbering to TheTVDB / TheMovieDB Airdate SxE numbering, then reading [Anime] Convert Absolute to SxE numbers may potentially save you a lot of headache.
:idea: Please read the FAQ and How to Request Help.
Post Reply