1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-16 14:25:02 -05:00
This commit is contained in:
Reinhard Pointner 2017-05-22 23:10:33 +08:00
parent c629fa7c0b
commit c78f647b8a

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;
}