]> www.vanbest.org Git - tv_grab_nl_java/commitdiff
RTL: add both alginhoud and inhoud as <desc> tags, see what mythtv does with that
authorJan-Pascal van Best <janpascal@vanbest.org>
Wed, 4 Apr 2012 11:44:13 +0000 (13:44 +0200)
committerJan-Pascal van Best <janpascal@vanbest.org>
Wed, 4 Apr 2012 11:44:13 +0000 (13:44 +0200)
src/main/java/org/vanbest/xmltv/RTL.java

index a8b30f9558caf596fee6d86225297632a1d26e44..0a05eca35e818ad4553f68724849f7d81260fa5b 100644 (file)
@@ -60,7 +60,7 @@ public class RTL extends AbstractEPGSource implements EPGSource  {
        private static final String detail_url="http://www.rtl.nl/active/epg_data/uitzending_data/";\r
        private static final String icon_url="http://www.rtl.nl/service/gids/components/vaste_componenten/";\r
        private static final String xmltv_channel_suffix = ".rtl.nl";\r
-       private static final int MAX_PROGRAMMES_PER_DAY = 20;\r
+       private static final int MAX_PROGRAMMES_PER_DAY = 9999;\r
        \r
        private Connection db;\r
        \r
@@ -292,7 +292,9 @@ public class RTL extends AbstractEPGSource implements EPGSource  {
                } else if (tag.equals("wwwadres")) {\r
                        prog.addUrl(e.getTextContent());\r
                } else if (tag.equals("alginhoud")) {\r
+                       prog.addDescription(e.getTextContent());\r
                } else if (tag.equals("inhoud")) {\r
+                       prog.addDescription(e.getTextContent());\r
                } else if (tag.equals("tt_inhoud")) {\r
                        // ignore, is summary of other fields\r
                } else if (tag.equals("zendernr")) {\r