]> www.vanbest.org Git - tv_grab_nl_java/commitdiff
Disabled ziggogids grabber since the source disappeared. Closes #25
authorJan-Pascal van Best <janpascal@vanbest.org>
Thu, 3 Mar 2016 19:24:45 +0000 (20:24 +0100)
committerJan-Pascal van Best <janpascal@vanbest.org>
Thu, 3 Mar 2016 19:24:45 +0000 (20:24 +0100)
src/main/java/org/vanbest/xmltv/EPGSourceFactory.java

index ac0903dcdf32344001618a77c5f53c4e4ad56139..9688ffad27f4de0820f66c027813602b5e0c85bf 100644 (file)
@@ -43,6 +43,10 @@ public class EPGSourceFactory {
                 }
                 logger.debug("EPG source classname: " + NAME.toString());
                 String sourceName = (String) NAME.get(null);
+                if (sourceName.equals("ziggogids.nl")) {
+                    logger.info("Ignoring deprecated source " + sourceName);
+                    continue;
+                }
                 sources.put(sourceName, clazz);
             } catch (Exception e) {
                 logger.error("Error reading EPG Source class " + clazz, e);