Hello.
due to recent emby update, some special episodes are nolonger ordered inside the whole season.
I have in mind to manually build a nfo file with filebot and setting this value from tvdb bindings.
Unfortunately I cannot manage to find the correct variable to use to retrieve this information.
For example, you can check this episode from Violet Evergarden https://thetvdb.com/series/violet-everg ... es/6497072
The special position noticed is : to be watched before S01E05.
Is this value handled by filebot and how to manage it inside a post processing script ?
Thank you,
TvDB special position binding ?
Re: TvDB special position binding ?
EDIT
Format: Select all
{ episode.info.raw.airsBeforeSeason }Format: Select all
{ episode.info.raw.airsBeforeEpisode }EDIT 2
Format: Select all
{
def sbs = episode.special ? episode.info.raw.airsBeforeSeason : null
def sbe = episode.special ? episode.info.raw.airsBeforeEpisode : null
if (sbs && sbe) {
' [Before S' + sbs.pad(2) + 'E' + sbe.pad(2) + ']'
}
}Re: TvDB special position binding ?
you're just a genius
I really do appreciate your quick and perfect answer
really happy to have bought a licence
please keep satisfying users like this
wish you a nice 2026 !!
I really do appreciate your quick and perfect answer
really happy to have bought a licence
please keep satisfying users like this
wish you a nice 2026 !!
Re: TvDB special position binding ?
is there any place where I can find all existing variables I can use ?
I may fill other elements in post processing for my nfo !
I may fill other elements in post processing for my nfo !
Re: TvDB special position binding ?
EDIT
Groovy: Select all
def sbs = episode.special ? episode.info.raw.airsBeforeSeason : null
def sbe = episode.special ? episode.info.raw.airsBeforeEpisode : null
if (sbs && sbe) {
// do something for special episodes with airsBefore information
}
Re: TvDB special position binding ?
thank you for this useful clarification !