I can understand the difficulties of trying to handle all of the different formats and sometimes the data is not available. But maybe I'm just confused by some of the data in the XML file.
If there is a <SeasonNumber> and <EpisodeNumber> (or <CombinedSeasonNumber> and <CombinedEpisodeNumber>) why wouldn't an episode not show any season/episode information?
Criminal Minds has the following information in the XML file but no episode information is shown in GBPVR. (blank values and overview have been removed)
Code:
<Episode>
<id>3472871</id>
<Combined_episodenumber>13</Combined_episodenumber>
<Combined_season>6</Combined_season>
<EpisodeName>The Thirteenth Step</EpisodeName>
<EpisodeNumber>13</EpisodeNumber>
<FirstAired>2011-01-26</FirstAired>
<Language>en</Language>
<RatingCount>0</RatingCount>
<SeasonNumber>6</SeasonNumber>
<lastupdated>1295061949</lastupdated>
<seasonid>291421</seasonid>
<seriesid>75710</seriesid>
</Episode>
Also, if there is a <SeasonNumber> and <EpisodeNumber> for a episode on one day and it's displayed as S06E10. And then the next episode also has a <SeasonNumber> and <EpisodeNumber>, why would it then display it as 610 when the value for the episode is 11? (blank values and overview have been removed)
Code:
<Episode>
<id>3097861</id>
<Combined_episodenumber>10</Combined_episodenumber>
<Combined_season>6</Combined_season>
<EpImgFlag>2</EpImgFlag>
<EpisodeName>The Body In The Bag</EpisodeName>
<EpisodeNumber>10</EpisodeNumber>
<FirstAired>2011-01-20</FirstAired>
<Language>en</Language>
<RatingCount>0</RatingCount>
<SeasonNumber>6</SeasonNumber>
<filename>episodes/75682/3097861.jpg</filename>
<lastupdated>1295259012</lastupdated>
<seasonid>274131</seasonid>
<seriesid>75682</seriesid>
</Episode>
<Episode>
<id>3012721</id>
<Combined_episodenumber>11</Combined_episodenumber>
<Combined_season>6</Combined_season>
<EpImgFlag>2</EpImgFlag>
<EpisodeName>The Bullet In The Brain</EpisodeName>
<EpisodeNumber>11</EpisodeNumber>
<FirstAired>2011-01-27</FirstAired>
</Overview>
<RatingCount>0</RatingCount>
<SeasonNumber>6</SeasonNumber>
<filename>episodes/75682/3012721.jpg</filename>
<lastupdated>1295259032</lastupdated>
<seasonid>274131</seasonid>
<seriesid>75682</seriesid>
</Episode>
If the <SeasonNumber> and <EpisodeNumber> are available why wouldn't they be used?