There are at least 4 methods how you can output text from Zetta to P332:
- using the now playing export in Zetta
- using the MetaRadio
- using the MagicRDS
- using the HTTP request
For the first method you'll need to set the export as active in the Zetta, configure either the serial or the TCP connection to P332, select the option "Keep connection open", and add (+) the format for the data. Select Start with ZettaLite.
Zetta uses a configuration by .xlst file. Here's an example of such file:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text" />
<xsl:strip-space elements="*" />
<xsl:variable name="newline">
<xsl:text> </xsl:text>
</xsl:variable>
<xsl:template match="/">
<xsl:apply-templates />
</xsl:template>
<xsl:template match="LogEventCollection">
<xsl:for-each select="LogEvent">
<xsl:text>TEXT=</xsl:text>
<xsl:choose>
<xsl:when test="@Type='SONG'">
<xsl:value-of select="Asset/@Title" />
<xsl:text> - </xsl:text>
<xsl:value-of select="Asset/@Artist1" />
</xsl:when>
<xsl:otherwise>
<xsl:text>Your station slogan here</xsl:text>
</xsl:otherwise>
</xsl:choose>
<xsl:value-of select="$newline" />
</xsl:for-each>
<xsl:apply-templates />
</xsl:template>
</xsl:stylesheet>
In the P332, make sure that Radiotext 1 (RT1) is enabled.
For more details, please follow the documentation from RCS.
Simply put, the example above tells the Zetta to use a command TEXT= followed by title and artist.
Complete list of commands accepted by the P332 is available in the Technical manual, section 10 Broadcast Automation System Link-up.
Let us know if you need a further help.