API:banners.xml
From TvDBwiki
The banners.xml file holds a list of all of the series and season banners associated with the series.
[edit] Explanation of Fields
BannerPath
Can be appended to <mirrorpath>/banners/ to determine the actual location of the artwork.
BannerType
This can be series or season. Denotes if the banner applies to the series as a whole or to a specific season.
BannerType2
This can be text, graphical, or blank for series banners. It can be season or seasonwide for season banners. Blank banners will leave the title and show logo off the banner. Text banners will show the series name as plain text in an Arial font. Graphical banners will show the series name in the show's official font or will display the actual logo for the show. Season banners are the standard DVD cover format while wide season banners will be the same dimensions as the series banners.
Language
Some banners list the series name in a foreign language. The language abbreviation will be listed here.
Season
If the banner is for a specific season, that season number will be listed here.
[edit] Example Results
<?xml version="1.0" encoding="UTF-8" ?>
<Banners>
<Banner>
<id>14820</id>
<BannerPath>text/80348.jpg</BannerPath>
<BannerType>series</BannerType>
<BannerType2>text</BannerType2>
<Language>en</Language>
<Season></Season>
</Banner>
<Banner>
<id>14821</id>
<BannerPath>blank/80348.jpg</BannerPath>
<BannerType>series</BannerType>
<BannerType2>blank</BannerType2>
<Language></Language>
<Season></Season>
</Banner>
<Banner>
<id>14827</id>
<BannerPath>graphical/80348-g.jpg</BannerPath>
<BannerType>series</BannerType>
<BannerType2>graphical</BannerType2>
<Language>en</Language>
<Season></Season>
</Banner>
<Banner>
<id>15217</id>
<BannerPath>seasons/80348-1.jpg</BannerPath>
<BannerType>season</BannerType>
<BannerType2>season</BannerType2>
<Language>en</Language>
<Season>1</Season>
</Banner>
</Banners>

