Page 1 of 1

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

Posted: 25 Jun 2019, 21:48
by dwillys
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).

Re: Command line - weird results - why?

Posted: 26 Jun 2019, 03:16
by rednoah
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

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

Posted: 26 Jun 2019, 18:43
by dwillys
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?

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

Posted: 27 Jun 2019, 02:39
by rednoah
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.

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

Posted: 27 Jun 2019, 02:43
by dwillys
Thanks. That makes it clear.

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

Posted: 27 Jun 2019, 03:19
by rednoah
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