Hi,
I don't understand how tmdb episode aboslute number works.
For this show 80020
For S03E01 filebot return absolute 20 but on trakt is listed as 3x01 (21)
https://www.themoviedb.org/tv/80020-dra ... /episode/1
https://trakt.tv/shows/super-dragon-bal ... episodes/1
S00E01 return no absolute but on trakt is listed as Special 1 (20)
https://www.themoviedb.org/tv/80020/season/0/episode/1
https://trakt.tv/shows/super-dragon-bal ... episodes/1
testing the swagger from here
https://developer.themoviedb.org/refere ... de-details
I can't find the absolute number
can you explain a bit how it works?
TMDB - get absolute number for specials
Re: TMDB - get absolute number for specials


Console Output: Select all
$ filebot -list --q 80020 --db TheMovieDB::TV --order Absolute --format "{absolute} | {sxe} | {t}"
...
19 | 19 | Ultimate Conclusion! The Universal Conflict Ends!
20 | 20 | Decisive Battle! Time Patrol vs Dark King!
21 | 21 | The Gods of Destruction Invade! The Beginning of a New Battle!
22 | 22 | Fu's Plan! The Threat of the Dreadful Universal Tree!
...

Console Output: Select all
$ filebot -list --q 80020 --db TheMovieDB::TV --order Airdate --format "{absolute} | {sxe} | {t}"
filebot -list --q 80020 --db TheMovieDB::TV --order Airdate --format "{absolute} | {sxe} | {t}"
1 | 1x01 | Goku vs. Goku! A Super Battle Begins on Prison Planet!
2 | 1x02 | Goku Goes Berserk! The Evil Saiyan's Rampage!
3 | 1x03 | The Mightiest Radiance! Vegito Blue Kaio-ken Explodes!
...
19 | 2x13 | Ultimate Conclusion! The Universal Conflict Ends!
20 | 3x01 | The Gods of Destruction Invade! The Beginning of a New Battle!
21 | 3x02 | Fu's Plan! The Threat of the Dreadful Universal Tree!
...

Console Output: Select all
$ filebot -list --q 80020 --db TheMovieDB::TV --order Airdate --format "{order.absolute.sxe} | {absolute} | {sxe} | {t}"
...
19 | 19 | 2x13 | Ultimate Conclusion! The Universal Conflict Ends!
21 | 20 | 3x01 | The Gods of Destruction Invade! The Beginning of a New Battle!
22 | 21 | 3x02 | Fu's Plan! The Threat of the Dreadful Universal Tree!
...

Console Output: Select all
$ filebot -list --q "Dragon Ball Heroes" --db TheTVDB --order Airdate --format "{absolute} | {sxe} | {t}"
...
19 | 2x13 | Ultimate Conclusion! The Universal Conflict Ends!
21 | 3x01 | The Gods of Destruction Invade! The Beginning of a New Battle!
...
Re: TMDB - get absolute number for specials
Hi,
thx for explaining it to me!
the {order.absolute.sxe} works but only when there's not an absolute (ex One piece S00E07).
How can I test if {order.absolute.sxe} return a value so I can decide if use it or not?
thx for explaining it to me!
the {order.absolute.sxe} works but only when there's not an absolute (ex One piece S00E07).
How can I test if {order.absolute.sxe} return a value so I can decide if use it or not?
Re: TMDB - get absolute number for specials

e.g. add [20] to the file name if order.absolute.sxe is defined:
Format: Select all
{ ' [' + order.absolute.sxe +']' }
Format: Select all
{ order.absolute.sxe =~ /x/ ? 'Episode does not have an Absolute Number' : ' [' + order.absolute.sxe +']' }