From b9027d6abcad8009a6e228c275b7f611e9654c47 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Wed, 3 Feb 2010 00:30:31 +0000 Subject: [PATCH] * use "Combined_episodenumber" and "Combined_season" from the episode record instead of "EpisodeNumber" and "SeasonNumber" --- source/net/sourceforge/filebot/web/TheTVDBClient.java | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/source/net/sourceforge/filebot/web/TheTVDBClient.java b/source/net/sourceforge/filebot/web/TheTVDBClient.java index 2e15b64e..d61b36e8 100644 --- a/source/net/sourceforge/filebot/web/TheTVDBClient.java +++ b/source/net/sourceforge/filebot/web/TheTVDBClient.java @@ -131,15 +131,8 @@ public class TheTVDBClient implements EpisodeListProvider { for (Node node : nodes) { String episodeName = getTextContent("EpisodeName", node); - String episodeNumber = getTextContent("EpisodeNumber", node); - String seasonNumber = getTextContent("SeasonNumber", node); - - if (seasonNumber.equals("0")) { - String airsBefore = getTextContent("airsbefore_season", node); - - seasonNumber = airsBefore == null || airsBefore.isEmpty() ? null : airsBefore; - episodeNumber = "Special"; - } + String episodeNumber = getTextContent("Combined_episodenumber", node); + String seasonNumber = getTextContent("Combined_season", node); episodes.add(new Episode(seriesName, seasonNumber, episodeNumber, episodeName));