Recent Posts

Pages: [1] 2 3 ... 10
1
Thank you so much for all your help!
3
If you need to save the text as XML, use this code:

Code: [Select]
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
   <xsl:output method="xml" indent="yes" />
   <xsl:template match="LogEventCollection">
      <xsl:for-each select="LogEvent">
       <xsl:choose>
       <xsl:when test="@Status='CURRENT'">
         <current>
         <xsl:choose>
            <xsl:when test="@Type='SONG'">
               <title>
               <xsl:value-of select="Asset/@Title" />
               </title>
               <artist>
               <xsl:value-of select="Asset/@Artist1" />
               </artist>
            </xsl:when>
            <xsl:otherwise>
               <xsl:text>FAITH RADIO</xsl:text>
            </xsl:otherwise>
         </xsl:choose>
         </current>
       </xsl:when>
       </xsl:choose>
      </xsl:for-each>
   </xsl:template>
</xsl:stylesheet>

Result:
<?xml version="1.0" encoding="UTF-8"?>
<current>
   <title>New Song 1</title>
   <artist>Artist Name 1 Song 1</artist>
</current>

Can be read by the Magic RDS 4 External text tool.

The code is provided as an example. Further modifications are possible.
4
If you're using the PIRA P132 family RDS encoder (P132, P232, P232U, P332, P164), take advantage of its tagging support. Send RT+ directly. It's fully compatible with RT:

Code: [Select]
<?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>&#13;</xsl:text>
   </xsl:variable>
   <xsl:template match="/">
      <xsl:apply-templates />
   </xsl:template>
   <xsl:template match="LogEventCollection">
      <xsl:for-each select="LogEvent">
       <xsl:choose>
       <xsl:when test="@Status='CURRENT'">
         <xsl:text>XCMD=&lt;rds&gt;&lt;item&gt;&lt;dest&gt;3&lt;/dest&gt;&lt;text&gt;</xsl:text>
         <xsl:choose>
            <xsl:when test="@Type='SONG'">
               <xsl:text>&lt;title&gt;</xsl:text>
               <xsl:value-of select="Asset/@Title" />
               <xsl:text>&lt;/title&gt; - &lt;artist&gt;</xsl:text>
               <xsl:value-of select="Asset/@Artist1" />
               <xsl:text>&lt;/artist&gt;</xsl:text>
            </xsl:when>
            <xsl:otherwise>
               <xsl:text>FAITH RADIO</xsl:text>
            </xsl:otherwise>
         </xsl:choose>
         <xsl:text>&lt;/text&gt;&lt;/item&gt;&lt;/rds&gt;</xsl:text>
         <xsl:value-of select="$newline" />
       </xsl:when>
       </xsl:choose>
      </xsl:for-each>
      <xsl:apply-templates />
   </xsl:template>
</xsl:stylesheet>

Result:
XCMD=<rds><item><dest>3</dest><text><title>New Song 1</title> - <artist>Artist Name 1 Song 1</artist></text></item></rds>
5
Tested it out yesterday - worked very, very well!
You had mentioned other commands - what would those do for us? 
6
RDS Spy / Re: Files plugin doesnt start in Windows 7
« Last post by Jan on May 20, 2024, 03:06:43 pm »
Trying on the same Windows 7 edition, the plugin normally works. I'll try also on another PC later this week. Or has anybody else such experience?

The people involved in the RDS standards creation decided to remove the RPP format and use the more general RFT file transfer format. The RPP was experimental only and its performance was very poor if there were bad blocks in the reception. Pity it took about 10 years to release the final standard, by end of 2023.
7
RDS Spy / Files plugin doesnt start in Windows 7
« Last post by veso266 on May 20, 2024, 02:41:57 pm »
Hi there, I hope you can help me a little bit
on one of my Computers I still use Windows 7 x64 SP1

I can use latest RDS Spy 1.08 r5 there, it works fine

But for some reason I cannot seam to use Files plugin: http://rdsspy.com/2024/03/02/rds2-rft-file-receiver-0-99/
the thing just doesn't open (other plugins work fine)

After opening the dll with Dependency walker: https://github.com/lucasg/Dependencies
I discovered that datxchng.dll (this one is on the RDSSpy root dir not inside plugins dir) and SHCore.dll is missing

After putting both dlls datxchng.dll and api-ms-win-shcore-scaling-l1-1-1.dll (renamed to SHCode.dll from here: https://www.dll-files.com/download/701ae7af647177c8a42627b46ab876f3/api-ms-win-shcore-scaling-l1-1-1.dll.html?c=RGQvUjhYT1VFSjV1Ykh5R3ZrWDlaZz09) inside plugins folder

Dependency walker stoped complaining, but the plugin stil did not open

then I discovered that Shcore.dll exposes 2 functions that Files plugin needs:


But even after copying the dll files plugin will still not run so I was wondering is there any log file so I can figure out whats going on

Can files plugin live without GetDpiForMonitor and GetProcessDpiAwarness?

not realy sure yet if these 2 missing functions are a cause why the plugin will not start but would realy like if this plugin would work since everything else from RDSSpy works on Windows 7 just fine

PS: Was wondering why was RPP data format removed from the standard was it worse then the new RFT file transfer protocol which is used to transfer images now?

I realy hope RDS2 takes off because it adds to FM Radio things that modern sociaty things they need without sacrifying robustness of analog audio transfer (which DAB does  :))

Thanks for Anwsering and Best Regards
8
Thank you!  I am not at the studio currently, but will work on it Monday and let you know the results!!
9
Try this template:

Code: [Select]
<?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>&#13;</xsl:text>
   </xsl:variable>
   <xsl:template match="/">
      <xsl:apply-templates />
   </xsl:template>
   <xsl:template match="LogEventCollection">
      <xsl:for-each select="LogEvent">
       <xsl:choose>
       <xsl:when test="@Status='CURRENT'">
         <xsl:text>RT1=</xsl:text>
         <xsl:choose>
            <xsl:when test="@Type='SONG'">
               <xsl:value-of select="Asset/@Title" />
               <xsl:text> by </xsl:text>
               <xsl:value-of select="Asset/@Artist1" />
            </xsl:when>
            <xsl:otherwise>
               <xsl:text>FAITH RADIO</xsl:text>
            </xsl:otherwise>
         </xsl:choose>
         <xsl:value-of select="$newline" />
       </xsl:when>
       </xsl:choose>
      </xsl:for-each>
      <xsl:apply-templates />
   </xsl:template>
</xsl:stylesheet>

If you find it working, I'll adapt the code for various situations (RT1=, XCMD=, XML)
10
RDS Spy / Re: Files.dll plugin 0.91 works for Radio Gioconda's logo, but 0.99 not
« Last post by Jan on May 18, 2024, 01:55:57 pm »
Radio Gioconda still uses experimental RPP data format which is no longer supported (it has been removed from the RDS2 standard before final release). The radio station must update the Magic RDS control software to current version and upload the logo again to their RDS encoder, to meet the RFT file transfer protocol specifications (2023).

I'm not getting the access violation while playing the spy file. If you find a way how to reproduce the error, I'll correct it. Anyway, this has no effect on the logo reception. You can delete the plugin version 0.91, the RPP is definitively over.
Pages: [1] 2 3 ... 10