summaryrefslogtreecommitdiff
path: root/dist/epgdata2xmltv
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2012-05-17 20:47:16 +0200
committerJochen Dolze <vdr@dolze.de>2012-05-17 20:47:16 +0200
commit22a0eae54f5552c84f81ccabec59a114c1afd05b (patch)
treeb9043e7fdeb0569b83cbeeb3e59f76442b77c662 /dist/epgdata2xmltv
parentb1905747a381ef8c5c198c82f8ae9c5ce63f41b7 (diff)
downloadvdr-plugin-xmltv2vdr-22a0eae54f5552c84f81ccabec59a114c1afd05b.tar.gz
vdr-plugin-xmltv2vdr-22a0eae54f5552c84f81ccabec59a114c1afd05b.tar.bz2
Added 'pid' tag for eventid
Changed epgdata2vdr to use pid tag instead of category for eventid
Diffstat (limited to 'dist/epgdata2xmltv')
-rw-r--r--dist/epgdata2xmltv/epgdata2xmltv.xsl7
1 files changed, 4 insertions, 3 deletions
diff --git a/dist/epgdata2xmltv/epgdata2xmltv.xsl b/dist/epgdata2xmltv/epgdata2xmltv.xsl
index 6b0dfcd..1b0fe9e 100644
--- a/dist/epgdata2xmltv/epgdata2xmltv.xsl
+++ b/dist/epgdata2xmltv/epgdata2xmltv.xsl
@@ -173,6 +173,10 @@ G <xsl:value-of select="d25"/>
</xsl:attribute>
<xsl:text>&#x0A;</xsl:text>
+<xsl:if test="string-length($EVENTID)">
+<xsl:comment> pid = <xsl:value-of select="$EVENTID"/><xsl:text> </xsl:text></xsl:comment><xsl:text>&#x0A;</xsl:text>
+</xsl:if>
+
<title lang="de"><xsl:value-of select="d19"/></title><xsl:text>&#x0A;</xsl:text>
<xsl:if test="string-length(d20)">
<sub-title lang="de"><xsl:value-of select="d20"/></sub-title><xsl:text>&#x0A;</xsl:text>
@@ -192,9 +196,6 @@ G <xsl:value-of select="d25"/>
<xsl:if test="string-length($GENRE)">
<category lang="de"><xsl:value-of select="$GENRE"/></category><xsl:text>&#x0A;</xsl:text>
</xsl:if>
-<xsl:if test="string-length($EVENTID)">
-<category lang="de"><xsl:value-of select="$EVENTID"/></category><xsl:text>&#x0A;</xsl:text>
-</xsl:if>
<xsl:if test="string-length($PICS)">
<xsl:copy-of select="$PICS"/>
</xsl:if>