diff --git a/source/net/filebot/web/TheTVDBClient.java b/source/net/filebot/web/TheTVDBClient.java index 024d1192..561f0981 100644 --- a/source/net/filebot/web/TheTVDBClient.java +++ b/source/net/filebot/web/TheTVDBClient.java @@ -102,9 +102,13 @@ public class TheTVDBClient extends AbstractEpisodeListProvider { int sid = getIntegerContent("seriesid", node); String seriesName = getTextContent("SeriesName", node); - List aliasNames = new ArrayList(2); + List aliasNames = new ArrayList(); for (Node aliasNode : selectNodes("AliasNames", node)) { - aliasNames.add(getTextContent(aliasNode)); + for (String aliasName : getTextContent(aliasNode).split("\\|")) { + if (aliasName.trim().length() > 0) { + aliasNames.add(aliasName.trim()); + } + } } if (!resultSet.containsKey(sid)) {