Author Topic: Send Now Playing to text file for Live Stream  (Read 1263 times)

South Coast FM Tech

  • Newbie
  • *
  • Posts: 31
Send Now Playing to text file for Live Stream
« on: March 17, 2025, 02:59:29 am »
Using MagicRDS V4.2.2

Already have long running setup to process Now Playing data with Text Replacing & send to external BWB Audio Processor.
Also an Internal Channel 'Program Name', which is updated using Task Scheduler.
So the Now Playing & Program Name RDS text alternates.
Often the studio is either on microphone or using CDs, with no Now Playing data. When this happens, Now Playing is no longer displayed until it changes.
So just the Program Name is displayed instead.

I'm trying to do something similar for our embedded Live Streaming text & need help please.
Processing of the same Now Playing data & Text Replacing & sending the result to a text file to then use for Live Stream text.
When Now Play data is not updated for some period, say 10 minutes (600s), then display the Program Name instead.
But don't send Program Name to Stream if Now Playing is being updated regularly.

So I've set up a new Connection > Bridge > Internal Channel called 'NowPlayingStreamingConnection'.
- Data distribution setting = saveto file:"C:\Users\Tech\Documents\MagicRDS4\NowPlayingStreaming.txt" mode:"rewrite"

Created a new Output called 'NowPlayingStreamingText'.
- 'Enabled' & 'Send on Change' ticked.
- Text Source Sequence '1- Now Playing for Streaming' & '2- Program Name'.
- Output purpose = 'Radiotext or plain text' selected.
- Destination Connection = sendto "NowPlayingStreamingConnection"




Jan

  • Hero Member
  • *****
  • Posts: 1182
Re: Send Now Playing to text file for Live Stream
« Reply #1 on: March 17, 2025, 10:55:12 am »
When Now Play data is not updated for some period, say 10 minutes (600s), then display the Program Name instead.
But don't send Program Name to Stream if Now Playing is being updated regularly.

To achieve this, set the 'Go to next after' of the now playing source to a high value, for example 99999. In the picture it is set to zero, which is inappropriate.
Other settings seem to be well done.

Upcoming version 4.2.3 will bring some fixes and improvements to the external text tool. It is now being tested.