summaryrefslogtreecommitdiff
path: root/p2pvr/cron/importEpg.xml
diff options
context:
space:
mode:
Diffstat (limited to 'p2pvr/cron/importEpg.xml')
-rw-r--r--p2pvr/cron/importEpg.xml67
1 files changed, 67 insertions, 0 deletions
diff --git a/p2pvr/cron/importEpg.xml b/p2pvr/cron/importEpg.xml
new file mode 100644
index 0000000..c3858f5
--- /dev/null
+++ b/p2pvr/cron/importEpg.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0"?>
+<block name="importSchedule" xmlns:p2="http://project2.randomdan.homeip.net">
+ <p2:library path="libp2pvr-scan-p2.so" />
+ <p2:epgrows name="schedule" demux="/dev/dvb/adapter0/demux0" />
+ <p2:sqlmerge name="mergeSchedule" datasource="postgres" targettable="programs">
+ <p2:iterate name="programs" source="schedule">
+ <p2:sqlmergeinsert name="insertProgram">
+ <parameters>
+ <title source="parent" attribute="title" depth="1" />
+ <titleLang source="parent" attribute="titleLang" depth="1" />
+ <subtitle source="parent" attribute="subtitle" depth="1" />
+ <serviceID source="parent" attribute="serviceID" depth="1" />
+ <descLang source="parent" attribute="descLang" depth="1" />
+ <desc1 source="parent" attribute="desc1" depth="1" />
+ <desc2 source="parent" attribute="desc2" depth="1" />
+ <desc3 source="parent" attribute="desc3" depth="1" />
+ <videoAspect source="parent" attribute="videoAspect" depth="1" />
+ <videoFrameRate source="parent" attribute="videoFrameRate" depth="1" />
+ <videoHD source="parent" attribute="videoHD" depth="1" />
+ <audioChannels source="parent" attribute="audioChannels" depth="1" />
+ <language source="parent" attribute="language" depth="1" />
+ <teletextSubtitleLang source="parent" attribute="teletextSubtitleLang" depth="1" />
+ <category source="parent" attribute="category" depth="1" />
+ <dvbRating source="parent" attribute="dvbRating" depth="1" />
+ <contentItemID source="parent" attribute="contentItemID" depth="1" />
+ <contentRecommendation source="parent" attribute="contentRecommendation" depth="1" />
+ <contentSeriesID source="parent" attribute="contentSeriesID" depth="1" />
+ <startTime source="parent" attribute="startTime" depth="1" />
+ <stopTime source="parent" attribute="stopTime" depth="1" />
+ <eventID source="parent" attribute="eventID" depth="1" />
+ <episode source="parent" attribute="episode" depth="1" />
+ <episodes source="parent" attribute="episodes" depth="1" />
+ <year source="parent" attribute="year" depth="1" />
+ <flags source="parent" attribute="flags" depth="1" />
+ </parameters>
+ </p2:sqlmergeinsert>
+ </p2:iterate>
+ <columns>
+ <title />
+ <titleLang />
+ <subtitle />
+ <serviceID key="true" />
+ <eventID key="true" />
+ <descLang />
+ <desc1 />
+ <desc2 />
+ <desc3 />
+ <videoAspect />
+ <videoFrameRate />
+ <videoHD />
+ <audioChannels />
+ <language />
+ <teletextSubtitleLang />
+ <category />
+ <dvbRating />
+ <contentItemID />
+ <contentRecommendation />
+ <contentSeriesID />
+ <startTime />
+ <stopTime />
+ <episode />
+ <episodes />
+ <year />
+ <flags />
+ </columns>
+ </p2:sqlmerge>
+</block>