mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-17 20:36:15 +00:00
Import AV1 alerts
This imports the events from AV1 using the original event description. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
parent
2ce1b4e668
commit
e70d271d44
1 changed files with 10 additions and 0 deletions
|
@ -58,6 +58,16 @@
|
||||||
<xsl:value-of select="substring-before(substring-after($line, '= '), ' ')"/>
|
<xsl:value-of select="substring-before(substring-after($line, '= '), ' ')"/>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
|
<xsl:when test="substring-before($line, '=') = 'Alert'">
|
||||||
|
<event>
|
||||||
|
<xsl:attribute name="time">
|
||||||
|
<xsl:value-of select="substring-before($remaining, ' ')"/>
|
||||||
|
</xsl:attribute>
|
||||||
|
<xsl:attribute name="name">
|
||||||
|
<xsl:value-of select="substring-after($line, '= ')"/>
|
||||||
|
</xsl:attribute>
|
||||||
|
</event>
|
||||||
|
</xsl:when>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
|
|
Loading…
Add table
Reference in a new issue