Author Topic: Send metadata to TuneIn via http get URL  (Read 1247 times)

South Coast FM Tech

  • Newbie
  • *
  • Posts: 32
Send metadata to TuneIn via http get URL
« 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


Jan

  • Hero Member
  • *****
  • Posts: 1201
Re: Send metadata to TuneIn via http get URL
« Reply #1 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.