From 459d3c0bc07383fb2828e00040f693dfb1277f6e Mon Sep 17 00:00:00 2001 From: randomdan Date: Fri, 26 Aug 2011 18:00:16 +0000 Subject: Slash XML bloat with parameters and remove a pointless --- p2pvr/cron/importSchedume.xml | 52 +++++++++++++++++++++---------------------- p2pvr/cron/importServices.xml | 12 +++++----- 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 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + + <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> -- cgit v1.2.3