API:Base Episode Record
From TvDBwiki
The Base Episode Record contains all of the information available about an episode.
[edit] Special Fields
The fields airsafter_season, airsbefore_episode, and airsbefore_season will only be included when the episode is listed as a special. Specials are also listed as being in season 0, so they're easy to identify and sort.
filename can be appended to <mirrorpath>/banners/ to get the actual location of the episode image.
DVD_episodenumber is a decimal and can be used to join episodes together. Usually used to join episodes that aired as two episodes but were released on DVD as a single episode. Normally there would be no decimal value but if you see an episode 1.1 and 1.2 that means both records should be combined to make episode 1. Cartoons are also known to combine up to 9 episodes together, for example Animaniacs season two.
[edit] Example Results
<?xml version="1.0" encoding="UTF-8" ?>
<Episode>
<id>332179</id>
<DVD_chapter></DVD_chapter>
<DVD_discid></DVD_discid>
<DVD_episodenumber></DVD_episodenumber>
<DVD_season></DVD_season>
<Director>|Joseph McGinty Nichol|</Director>
<EpisodeName>Chuck Versus the World</EpisodeName>
<EpisodeNumber>1</EpisodeNumber>
<FirstAired>2007-09-24</FirstAired>
<GuestStars>|Julia Ling|Vik Sahay|Mieko Hillman|</GuestStars>
<IMDB_ID></IMDB_ID>
<Language>English</Language>
<Overview>Chuck Bartowski is an average computer geek...</Overview>
<ProductionCode></ProductionCode>
<Rating>9.0</Rating>
<SeasonNumber>1</SeasonNumber>
<Writer>|Josh Schwartz|Chris Fedak|</Writer>
<absolute_number></absolute_number>
<airsafter_season></airsafter_season>
<airsbefore_episode></airsbefore_episode>
<airsbefore_season></airsbefore_season>
<filename>episodes/80348-332179.jpg</filename>
<lastupdated>1201292806</lastupdated>
<seasonid>27985</seasonid>
<seriesid>80348</seriesid>
</Episode>

