This commit is contained in:
Reinhard Pointner 2017-05-22 23:10:33 +08:00
parent c629fa7c0b
commit c78f647b8a
1 changed files with 2 additions and 2 deletions

View File

@ -130,8 +130,8 @@ public class TheTVDBClient extends AbstractEpisodeListProvider implements Artwor
String seriesName = getString(it, "seriesName");
String[] aliasNames = stream(getArray(it, "aliases")).toArray(String[]::new);
if (seriesName.startsWith("**") && seriesName.endsWith("**")) {
debug.fine(format("Invalid series: %s [%d]", seriesName, id));
if (seriesName == null || seriesName.startsWith("**") || seriesName.endsWith("**")) {
debug.warning(format("Ignore invalid series: %s [%d]", seriesName, id));
return null;
}