mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 08:48:51 -05:00
<AliasNames>
Returns a pipe "|" delimited list of alias names if the series has any other names in that language. @see http://www.thetvdb.com/wiki/index.php/API:GetSeries
This commit is contained in:
parent
c17e93a529
commit
d883c39091
@ -102,9 +102,13 @@ public class TheTVDBClient extends AbstractEpisodeListProvider {
|
||||
int sid = getIntegerContent("seriesid", node);
|
||||
String seriesName = getTextContent("SeriesName", node);
|
||||
|
||||
List<String> aliasNames = new ArrayList<String>(2);
|
||||
List<String> aliasNames = new ArrayList<String>();
|
||||
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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user