mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +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:attribute>
|
||||
</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:otherwise>
|
||||
</xsl:choose>
|
||||
|
|
Loading…
Reference in a new issue