summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2011-08-26 18:00:16 +0000
committerrandomdan <randomdan@localhost>2011-08-26 18:00:16 +0000
commit459d3c0bc07383fb2828e00040f693dfb1277f6e (patch)
treecf82de606725fad94306dd1e5fb6132e18a9a5e8
parentExtract episode details, year and flags from subtitle (diff)
downloadp2pvr-459d3c0bc07383fb2828e00040f693dfb1277f6e.tar.bz2
p2pvr-459d3c0bc07383fb2828e00040f693dfb1277f6e.tar.xz
p2pvr-459d3c0bc07383fb2828e00040f693dfb1277f6e.zip
Slash XML bloat with parameters and remove a pointless
-rw-r--r--p2pvr/cron/importSchedume.xml52
-rw-r--r--p2pvr/cron/importServices.xml12
2 files changed, 32 insertions, 32 deletions
diff --git a/p2pvr/cron/importSchedume.xml b/p2pvr/cron/importSchedume.xml
index e59403a..946cc9b 100644
--- a/p2pvr/cron/importSchedume.xml
+++ b/p2pvr/cron/importSchedume.xml
@@ -6,32 +6,32 @@
<p2:iterate name="programs" source="schedule">
<p2:sqlmergeinsert name="insertProgram">
<parameters>
- <param name="title"><value source="parent" attribute="title" depth="1" /></param>
- <param name="titleLang"><value source="parent" attribute="titleLang" depth="1" /></param>
- <param name="subtitle"><value source="parent" attribute="subtitle" depth="1" /></param>
- <param name="serviceID"><value source="parent" attribute="serviceID" depth="1" /></param>
- <param name="descLang"><value source="parent" attribute="descLang" depth="1" /></param>
- <param name="desc1"><value source="parent" attribute="desc1" depth="1" /></param>
- <param name="desc2"><value source="parent" attribute="desc2" depth="1" /></param>
- <param name="desc3"><value source="parent" attribute="desc3" depth="1" /></param>
- <param name="videoAspect"><value source="parent" attribute="videoAspect" depth="1" /></param>
- <param name="videoFrameRate"><value source="parent" attribute="videoFrameRate" depth="1" /></param>
- <param name="videoHD"><value source="parent" attribute="videoHD" depth="1" /></param>
- <param name="audioChannels"><value source="parent" attribute="audioChannels" depth="1" /></param>
- <param name="language"><value source="parent" attribute="language" depth="1" /></param>
- <param name="teletextSubtitleLang"><value source="parent" attribute="teletextSubtitleLang" depth="1" /></param>
- <param name="category"><value source="parent" attribute="category" depth="1" /></param>
- <param name="dvbRating"><value source="parent" attribute="dvbRating" depth="1" /></param>
- <param name="contentItemID"><value source="parent" attribute="contentItemID" depth="1" /></param>
- <param name="contentRecommendation"><value source="parent" attribute="contentRecommendation" depth="1" /></param>
- <param name="contentSeriesID"><value source="parent" attribute="contentSeriesID" depth="1" /></param>
- <param name="startTime"><value source="parent" attribute="startTime" depth="1" /></param>
- <param name="stopTime"><value source="parent" attribute="stopTime" depth="1" /></param>
- <param name="eventID"><value source="parent" attribute="eventID" depth="1" /></param>
- <param name="episode"><value source="parent" attribute="episode" depth="1" /></param>
- <param name="episodes"><value source="parent" attribute="episodes" depth="1" /></param>
- <param name="year"><value source="parent" attribute="year" depth="1" /></param>
- <param name="flags"><value source="parent" attribute="flags" depth="1" /></param>
+ <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 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>
diff --git a/p2pvr/cron/importServices.xml b/p2pvr/cron/importServices.xml
index d7b3a8b..1d2b740 100644
--- a/p2pvr/cron/importServices.xml
+++ b/p2pvr/cron/importServices.xml
@@ -6,12 +6,12 @@
<p2:iterate name="programs" source="services">
<p2:sqlmergeinsert name="insertProgram">
<parameters>
- <param name="serviceID"><value source="parent" attribute="serviceID" depth="1" /></param>
- <param name="name"><value source="parent" attribute="name" depth="1" /></param>
- <param name="providerName"><value source="parent" attribute="providerName" depth="1" /></param>
- <param name="transportID"><value source="parent" attribute="transportID" depth="1" /></param>
- <param name="type"><value source="parent" attribute="type" depth="1" /></param>
- <param name="defaultAuthority"><value source="parent" attribute="defaultAuthority" depth="1" /></param>
+ <serviceID source="parent" attribute="serviceID" depth="1" />
+ <name source="parent" attribute="name" depth="1" />
+ <providerName source="parent" attribute="providerName" depth="1" />
+ <transportID source="parent" attribute="transportID" depth="1" />
+ <type source="parent" attribute="type" depth="1" />
+ <defaultAuthority source="parent" attribute="defaultAuthority" depth="1" />
</parameters>
</p2:sqlmergeinsert>
</p2:iterate>