Tune In Api
Tune In Api
Hi Bernd,
I tried to get the Tune In radio Api working together with PFOA but so far without result.
This Api sends the realtime playlist info to the Tune In webserver.
At first i contacted Tune In to send me my Station ID, Partner ID and Partner key
Then you need to setup the script with the Get command, see below for a setup example
----------------------------------------------------------------------------
Requests to the Air API are very simple:
# Update the song now playing on a station
GET http://air.radiotime.com/Playing.ashx?p ... =Lady+Gaga
Your partnerId replaces <id>, partnerKey replaces <key>, and stationId, including the preliminary 's' replaces <stationid>. Your title and artist information should be set to be updated by your broadcast software in correspondence with the currently playing song.
----------------------------------------------------------------------------------------------------------------------------
It might be that i'm using the wrong command, till now i tried to get it working with the EXEX_SEND_HTTP_GET but so far no luck for me.
Maybe you can help me out on this one, info about the Api script can be found here http://tunein.com/broadcasters/api/
Looking forward to your answer
I tried to get the Tune In radio Api working together with PFOA but so far without result.
This Api sends the realtime playlist info to the Tune In webserver.
At first i contacted Tune In to send me my Station ID, Partner ID and Partner key
Then you need to setup the script with the Get command, see below for a setup example
----------------------------------------------------------------------------
Requests to the Air API are very simple:
# Update the song now playing on a station
GET http://air.radiotime.com/Playing.ashx?p ... =Lady+Gaga
Your partnerId replaces <id>, partnerKey replaces <key>, and stationId, including the preliminary 's' replaces <stationid>. Your title and artist information should be set to be updated by your broadcast software in correspondence with the currently playing song.
----------------------------------------------------------------------------------------------------------------------------
It might be that i'm using the wrong command, till now i tried to get it working with the EXEX_SEND_HTTP_GET but so far no luck for me.
Maybe you can help me out on this one, info about the Api script can be found here http://tunein.com/broadcasters/api/
Looking forward to your answer
Re: Tune In Api
Can you please post the full control-command you are using to take a look at.
Also, what system event are you using to trigger the resp. command.
In general EXEX_SEND_HTTP_GET should be fine and the syntax should be something like this:Where <id>, <key> and <stationid> should be replaced by your values.
Also, what system event are you using to trigger the resp. command.
In general EXEX_SEND_HTTP_GET should be fine and the syntax should be something like this:
Code: Select all
EXEX_SEND_HTTP_GET http://air.radiotime.com/Playing.ashx?partnerId=<id>&partnerKey=<key>&id=<stationid>&title=${cpltracknamecurrent}
Bernd - radio42
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
Re: Tune In Api
Thank you Bernd !
I send you an email about this topic.
I send you an email about this topic.
Re: Tune In Api
To which I already replied. Your http syntax you used was wrong.
Bernd - radio42
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
Re: Tune In Api
Hi.
Dirk and me have found out how it works.
Go to Settings and Options -> Events/Commands -> Playlist -> OnTrackPlay
Insert a second command:
Action: EXEC_SEND_HTTP_GET
Parameter: http://air.radiotime.com/Playing.ashx?p ... t=${artist}
Click on NEW and OK
Everytime if the track changed, the new Metadata will be send to tune in.
Michael
Dirk and me have found out how it works.
Go to Settings and Options -> Events/Commands -> Playlist -> OnTrackPlay
Insert a second command:
Action: EXEC_SEND_HTTP_GET
Parameter: http://air.radiotime.com/Playing.ashx?p ... t=${artist}
Click on NEW and OK
Everytime if the track changed, the new Metadata will be send to tune in.
Michael
Re: Tune In Api
Bernd,
All the credits go to you and Michael !
I have been testing many options but nothing worked for me
Michael did some more testing and clear thinking and he found a way to make it work !!
I think this topic can help many forum members who also want to use the Tune In Api
Thanx for helping me out
All the credits go to you and Michael !
I have been testing many options but nothing worked for me
Michael did some more testing and clear thinking and he found a way to make it work !!
I think this topic can help many forum members who also want to use the Tune In Api
Thanx for helping me out