diff options
author | Jochen Dolze <vdr@dolze.de> | 2012-05-17 20:47:16 +0200 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2012-05-17 20:47:16 +0200 |
commit | 22a0eae54f5552c84f81ccabec59a114c1afd05b (patch) | |
tree | b9043e7fdeb0569b83cbeeb3e59f76442b77c662 /dist/epgdata2xmltv | |
parent | b1905747a381ef8c5c198c82f8ae9c5ce63f41b7 (diff) | |
download | vdr-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.xsl | 7 |
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>
</xsl:text> +<xsl:if test="string-length($EVENTID)"> +<xsl:comment> pid = <xsl:value-of select="$EVENTID"/><xsl:text> </xsl:text></xsl:comment><xsl:text>
</xsl:text> +</xsl:if> + <title lang="de"><xsl:value-of select="d19"/></title><xsl:text>
</xsl:text> <xsl:if test="string-length(d20)"> <sub-title lang="de"><xsl:value-of select="d20"/></sub-title><xsl:text>
</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>
</xsl:text> </xsl:if> -<xsl:if test="string-length($EVENTID)"> -<category lang="de"><xsl:value-of select="$EVENTID"/></category><xsl:text>
</xsl:text> -</xsl:if> <xsl:if test="string-length($PICS)"> <xsl:copy-of select="$PICS"/> </xsl:if> |