[--order absolute] Command line - weird results - why?

Any questions? Need some help?
Post Reply
dwillys
Posts: 3
Joined: 25 Jun 2019, 21:34

[--order absolute] Command line - weird results - why?

Post by dwillys » 25 Jun 2019, 21:48

On a Win Server 2016 system with Filebot 4.8.5 from the powershell command line I run this:

Code: Select all

$VidFile="E:\SeedSync\Staging\The Daily Show\the.daily.show.2019.05.20.kirsten.gillibrand.1080p.web.x264-tbs.mkv"
filebot --db TheTVDB --order absolute --format "{n} - {s00e00} - {t}" -non-strict --q "The Daily Show" -rename "$VidFile" --action test
Response is:
Rename episodes using [TheTVDB]
Fetching episode data for [The Daily Show]
[TEST] from [E:\SeedSync\Staging\The Daily Show\the.daily.show.2019.05.20.kirsten.gillibrand.1080p.web.x264-tbs.mkv] to [E:\SeedSync\Staging\The Daily Show\The Daily Show - E3614 - Kirsten Gillibrand.mkv]
Processed 1 files
If I run it in the GUI I get:

Code: Select all

The Daily Show - S24E103 - Kirsten Gillibrand.mkv
Why am i getting E3614? Another file the.daily.show.2019.05.15.its.2020.24.7.1080p.web.x264-cookiemonster.mkv gives a proper S00E74 when using the command line and the GUI (same location/circumstances).

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

Re: Command line - weird results - why?

Post by rednoah » 26 Jun 2019, 03:16

You have chosen --order Absolute, which means you prefer Absolute Order Episode Number information, but it sounds like you actually prefer the --order Airdate default behavior.

e.g. --order Airdate (default)

Code: Select all

filebot -list --q "The Daily Show" --db TheTVDB
e.g. --order Absolute

Code: Select all

filebot -list --q "The Daily Show" --db TheTVDB --order Absolute
:idea: Please read the FAQ and How to Request Help.

dwillys
Posts: 3
Joined: 25 Jun 2019, 21:34

Re: [--order absolute] Command line - weird results - why?

Post by dwillys » 26 Jun 2019, 18:43

Thanks, that returned the results I was looking for.

I'm curious though - Why did other files come through as SXXEXX format but not that one? As best I can tell I was telling filebot to return in EXXXX but format it as SXXEXX?

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

Re: [--order absolute] Command line - weird results - why?

Post by rednoah » 27 Jun 2019, 02:39

TheTVDB supports both SxE and Absolute numbering. But the latter is optional, i.e. some episodes don't have an absolute number. So FileBot will default to using the available SxE information if your preferred Absolute information isn't available.

{s00e00} is based on the available information in the Episode object. If SxE is defined, then you'll get S00E00, but if only E is defined, then you'll get only E00.
:idea: Please read the FAQ and How to Request Help.

dwillys
Posts: 3
Joined: 25 Jun 2019, 21:34

Re: [--order absolute] Command line - weird results - why?

Post by dwillys » 27 Jun 2019, 02:43

Thanks. That makes it clear.

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

Re: [--order absolute] Command line - weird results - why?

Post by rednoah » 27 Jun 2019, 03:19

An interesting follow-up would be using --order Absolute for matching with dynamic-reorder to --order Airdate during formatting:
viewtopic.php?f=3&t=2769


e.g. match with with Absolute Order episode information, but name with Airdate Order episode information:

Code: Select all

--order Absolute --format order.airdate.plex
:idea: Please read the FAQ and How to Request Help.

Post Reply