Pira.cz Technical Forum

Magic RDS 4 => Configuration Options and Possibilities => Topic started by: South Coast FM Tech on April 21, 2025, 11:39:46 am

Title: Send metadata to TuneIn via http get URL
Post by: South Coast FM Tech on April 21, 2025, 11:39:46 am
Hi Jan,

I already have Now Playing data successfully feed an RDS encoder & also internet streaming.

Now I'm trying to send metadata to TuneIn via an http get URL in the following form:

http://air.radiotime.com/Playing.ashx?partnerId=abcedfeg&partnerKey=abcdefg&id=s123456&title=MySong&artist=MyArtist&album=

Text Output Setup: 'TuneInMetadata'
Text source sequence: 'NowPlayingForStreaming'
Output purpose: Radiotext or plain text.
Destination connection: sendto "TuneInMetadataConnection"

Connection: 'TuneInMetadataConnection' . Bridge > Internal Channel.
Data distribution settings:
sendhttp url:"http://air.radiotime.com/Playing.ashx?partnerId=abcedfeg&partnerKey=abcdefg&id=s123456&title=MySong&artist=MyArtist&album="

Is a Virtual Port required?

Virtual Ports: TuneInMetadataConnection VP 1
Connection type: HTTP Server
I'm not sure what to do in this section?

Even with a TuneIn URL with fixed arguments, TuneIn doesn't seem to receive the request.

'TuneInMetadataConnection' Communication Monitor (Image 2) shows transmission of now playing Artist - Title, but not a URL string.

Using MagicRDS4 V4.2.4

thanks, Rod

Title: Re: Send metadata to TuneIn via http get URL
Post by: Jan on April 21, 2025, 12:21:33 pm
The sendhttp currently supports only %data% as the argument. That is a plain text single line, not separated to artist, title or anything else. In you example, MySong and MyArtist is sent as is, without substitution. A solution is on the way.

Resulting GET request can be seen in View - Debug - SendHTTP Log.

Virtual port provides data input only, it is not applicable for sending data.