Hello Michelangelo, I just found in the JRiver forum this that Bill, manager of RadioParadise, published.
Can you make a plugin or something that allows you to listen to this radio in flac?
Someone who knows how to do it and wants to do it?
It really listens very well using the RP app for IOS and AirPlay.
But it would be great to be able to integrate it in Volumio.
[i]Re: Radio Paradise
« Reply #31 on: February 21, 2018, 11:37:58 am »
Quote from: robt on February 21, 2018, 12:24:20 am
I’ve invited Bill G from Radio Paradise to have a look at this thread.
Reply to the documentation query
"I will definitely take a look (at the thread) at that the next chance I get.
We will be publishing API details sometime fairly soon — but it’s pretty simple & I can easily share it with the JRiver folks."
Hi everybody. We’d be happy to help any developers who want to get something going on this. We will be publishing details on our API sometime soon, but in the meantime I can share enough to get you started.
As someone posted earlier, our system requires the player to do a bit of work. This URL returns a JSON object:
api.radioparadise.com/api/get_b … &info=true
This includes:
- a URL for a flac file that is played back using http streaming (add ?src=alexa to this URL during testing)
- the value ‘end_event’, which is used to build the next API query, and ‘length’, the play time (in sec) of that block
- an array of song metadata for the songs included in that block of programming
- for each song, the elapsed time (in ms - from the beginning of the block) when that song begins.
The player would start the file & display the metadata for song[0]. After song[0][‘elapsed’] ms, the display would change to song[1], etc.
As the elapsed time on the block file gets close to the end, the data for the next block is loaded via this call:
api.radioparadise.com/api/get_b … rue&event={$end_event}
The URL for the next block is then enqueued to start immediately after the current block ends. That start should trigger the next metadata update.
At any point during playback, this call will retrieve a block starting with the next song on our playlist (‘skip’ function).
api.radioparadise.com/api/get_b … rue&event={$event}&elapsed={elapsed time in sec for block file}
The song metadata includes a value for ‘slideshow’. That’s a comma-separated list of image ids used to build URLs for slideshow images. It works like this:
{$image_base}/slideshow/720/{image_id}.jpg
The normal refresh interval is 15 sec. Fade transitions are recommended.[/i]