The Tune In Api

Ask questions, request features, or just complement us about our software and services.
Post Reply
hdprene
Posts: 76
Joined: Thu Jul 30, 2015 9:27 am
Contact:

The Tune In Api

Post by hdprene »

Hi Jay!

Thanks for your new version of radio toolbox. I tried to implement the tune in api in toolbox. But what ever I tried, I get a failure message (400) invalid command. I activated conditions, track title change in conditions and method GET plus the shoutcast 1 preset and payload. This is the line I brought at the tools tab. Notification Type, Web Scripting, Url

http://air.radiotime.com/Playing.ashx?p ... ION_ARTIST_%
(keys edited for this)

When I reinstal RTB and leave shoutcast 1 preset and preload preset out I get falure "index matrix out of range" Attachted the best result. :roll:

I hop you can help me with this.
Regards,
René
Attachments
2015-08-14_08h09_14.jpg
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Re: The Tune In Api

Post by Jay »

Yea the SHOUTcast 1 preset isn't really meant to be used directly since certain variables may not contain any valid information.

Go back to using:

Code: Select all

http://air.radiotime.com/Playing.ashx?partnerId=xxxxxx&partnerKey=xxxxxx&id=sxxxxx&title=%_STATION_TRACK_%&artist=%_STATION_ARTIST_%
If it still shows an unparsed result in their play page, shoot me a private message with the details to access your API and I can look into squashing this one for you.
- Jay
hdprene
Posts: 76
Joined: Thu Jul 30, 2015 9:27 am
Contact:

Re: The Tune In Api

Post by hdprene »

Hi Jay & thanks!
Will 'report' you the results later today! :-)
hdprene
Posts: 76
Joined: Thu Jul 30, 2015 9:27 am
Contact:

Re: The Tune In Api

Post by hdprene »

Hi Jay! Emailed you private twice five days ago. I really hope you received them ;-) Regards, René
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Re: The Tune In Api

Post by Jay »

hmmm, no, I never got your email. You can reach me at: jay at radiotoolbox.
- Jay
hdprene
Posts: 76
Joined: Thu Jul 30, 2015 9:27 am
Contact:

Re: The Tune In Api

Post by hdprene »

Very weird I got these confirmations back from your domain. will try this again.

-----Oorspronkelijk bericht-----
Van: [email protected] [mailto:[email protected]] Namens [email protected]
Verzonden: woensdag 19 augustus 2015 12:39
Aan: hdprene
Onderwerp: The Tune In API. (take two)

Hello Jay,

The following is an e-mail sent to you by hdprene via your account on "Radio Toolbox". If this message is spam, contains abusive or other comments you find offensive please contact the webmaster of the board at the following address:

[email protected]

Include this full e-mail (particularly the headers). Please note that the reply address to this e-mail has been set to that of hdprene.

Message sent to you follows
~~~~~~~~~~~~~~~~~~~~~~~~~~~

In advanced:
No present
just the URL
Method GET
Payload: nothing

The url:

http://air.radiotime.com/Playing.ashx?p ... ION_ARTIST_%


P.s I'm using two shoutcast servers 1.9.8 (32 bits)


Regards,
René
Post Reply