PDA

View Full Version : Calm Radio



cjfreitag
2011-02-25, 09:49
Does anyone have experience with this service? (www.calmradio.com) I ran across it yesterday in the Radio category in iTunes. The classical streams are quite nice (192K in VIP), so I signed up for a month. It was easy to create favorites in SBS using the stream URLs that Calm provided to me, but it's the kind of thing that probably needs an app or plug in.

The web player is nice, with album art and a list of previously heard tracks. The album art doesn't come through on SBS or my Touch.

Ikabob
2014-01-24, 02:11
Does anyone have experience with this service? (www.calmradio.com) I ran across it yesterday in the Radio category in iTunes. The classical streams are quite nice (192K in VIP), so I signed up for a month. It was easy to create favorites in SBS using the stream URLs that Calm provided to me, but it's the kind of thing that probably needs an app or plug in.

The web player is nice, with album art and a list of previously heard tracks. The album art doesn't come through on SBS or my Touch.

Yes, I totally agree. I am finding the Calm Radio stations very nice and the 192k streams enjoyable.
An app or plug-in would be very convenient.

cjfreitag
2014-01-24, 12:29
I was surprised to see this thread come back to life! I still listen to Calm Radio a lot, and their station list has grown a lot. +1 for an app or plug-in.

freelsjd
2015-07-30, 10:42
Just signed up. After losing MOG, I still have no favorite. Calmradio has a lot of good choices, and plays nicely over the squeezebox. I wish for an album art display. The album art works fine on the ipad.

StevePalmer
2017-10-02, 00:58
I'm a great fan of Calm Radio too. Do you know how to get it to play on squeezebox radios?

Sent from my Huawei Mate 9 using Tapatalk

bpa
2017-10-02, 04:50
Calm stations can be found using LMS Radio "Search" but it is basic playing - no metadata ( images etc.)

Calm use a proprietary API and AFAIK so not as simple as add a password. A full plugin is needed to get full features and metadata.
That said there is a Kodi Calm plugin which seems to have figured parts of the API but Kodi is nothing like LMS and written in Python- so nothing can be salvaged except knowledge.

StevePalmer
2017-10-02, 05:00
Calm stations can be found using LMS Radio "Search" but it is basic playing - no metadata ( images etc.)

Calm use a proprietary API and AFAIK so not as simple as add a password. A full plugin is needed to get full features and metadata.
That said there is a Kodi Calm plugin which seems to have figured parts of the API but Kodi is nothing like LMS and written in Python- so nothing can be salvaged except knowledge.Thanks for clarifying things bpa. Seems like a less-than-ideal workaround, but I'm grateful for you pointing me in the right direction. Had a feeling it would need a plugin of some sort. I'm on the subscription model with Calm and even using vTuner with my Yamaha AV (both are recommended 'paths'/pairings) there's no album art due to a limitation with vTuner. Bah!

Sent from my Huawei Mate 9 using Tapatalk

bpa
2017-10-02, 06:04
Thanks for clarifying things bpa. Seems like a less-than-ideal workaround, but I'm grateful for you pointing me in the right direction. Had a feeling it would need a plugin of some sort. I'm on the subscription model with Calm and even using vTuner with my Yamaha AV (both are recommended 'paths'/pairings) there's no album art due to a limitation with vTuner. Bah!

Sent from my Huawei Mate 9 using Tapatalk

I just looked at the some of the traffic on a Calm radio. It may be possible to hack something minimal - can't guarantee anyhting soon but for the record.
This URL list all Calm channels with URLs for associated "recent tacks" and URLs for free and paid at different rates. https://api.calmradio.com/channels.json

The MP3 uses ICY metadata so that track details info will be played as normal by LMS - no need for anything special.

For album/Recent track art - many free channel have a "recent track" URL such as https://api.calmradio.com/recent_tracks/free-27.json which gives details of "now playing" and associated artwork.

To figure out paid channel API would require taking out a subscription.

StevePalmer
2017-10-02, 07:42
I just looked at the some of the traffic on a Calm radio. It may be possible to hack something minimal - can't guarantee anyhting soon but for the record.
This URL list all Calm channels with URLs for associated "recent tacks" and URLs for free and paid at different rates. https://api.calmradio.com/channels.json

The MP3 uses ICY metadata so that track details info will be played as normal by LMS - no need for anything special.

For album/Recent track art - many free channel have a "recent track" URL such as https://api.calmradio.com/recent_tracks/free-27.json which gives details of "now playing" and associated artwork.

To figure out paid channel API would require taking out a subscription.This is great bpa, you're a star. I've already taken out a subscription today. Sounds like a nice little project for me on a rainy Sunday!

Anything else I need to know?

Sent from my Huawei Mate 9 using Tapatalk

bpa
2017-10-02, 08:12
If you're happy enough with coding ands JSON then the Kodi plugin helps a bit (now that some of the apis have been identified). I pretty sure you don't need to use https - I would swap http for http where possible.

In the Kodi plugin ( https://github.com/nire0510/plugin.audio.calmradio ) - the config.py has this array of URLs against function

'calm_website': 'https://calmradio.com',
'calm_categories_api': 'http://api.calmradio.com/categories.json',
'calm_channels_api': 'http://api.calmradio.com/channels.json',
'calm_arts_host': 'http://arts.calmradio.com',
'calm_blurred_arts_host': 'http://calmradio.com/kodi/blurred',
'calm_auth_api': 'https://api.calmradio.com/get_token?user={0}&pass={1}',
'calm_sua_api': 'http://api.calmradio.com/check?user={0}&pass={1}',
'calm_favorites_api': 'http://calmradio.com/player/favorites.php?login={0}&token={1}&action={2}&id={3}'

As you can see the ones I found are there. Also the user and authorisation APIs are there so the Kodi plugin may use them.

The Kodi plugin doesn't seem to use the "recent tracks" which I would use for metadata. The partial URLs for covert art in the Recent Track JSON images need to be prefxied by https://arts.calmradio.com
eg. https://arts.calmradio.com/Zm9sZGVyX2FydC9hcnQ=/000/000/000/000/056/246/399f8a26-b401-4ffe-9411-01de6505cc5c.jpg

For cover art I would think about using Slim::Player::ProtocolHandlers->registerIconHandler - need to test whether it can handle changing artwork but it could simplify displaying metadata artwork.

StevePalmer
2017-10-02, 08:35
Hi BPA. Thanks again. I'm not a native programmer, this might be a bit of a stretch.

On a related note, I just heard back from the Calmradio.com Help Desk. Apparently there's no way to show the Album Art in their paid-for subscription urls on platforms like vTuner (which manages my Yamaha AV receiver's radio stations) - I guess my needs were/are simple: Just show the Art! ☺ Apparently, the Art shows on their FREE station/genre urls (with ads and reduced music quality) but the subscription model's special urls just don't allow/transmit images of any kind.

I think I'll get my coat! ☺

Sent from my Huawei Mate 9 using Tapatalk

bpa
2017-10-02, 09:04
Hi BPA. Thanks again. I'm not a native programmer, this might be a bit of a stretch.
So I'll keep it on the backburner - I play Calm every so often so it is a bti of interest. There are some interesting LMS programming challenges in handling the channel list.


On a related note, I just heard back from the Calmradio.com Help Desk. Apparently there's no way to show the Album Art in their paid-for subscription urls on platforms like vTuner (which manages my Yamaha AV receiver's radio stations) - I guess my needs were/are simple: Just show the Art! ☺ Apparently, the Art shows on their FREE station/genre urls (with ads and reduced music quality) but the subscription model's special urls just don't allow/transmit images of any kind.
Yes - artwork is not part of the stream (e.g. Radio paradise does this) - artwork is kept separate - this enables the streams to be handled by lots of plain internet radio.[/QUOTE]

If I get the free station working with art - then adding on the paid channel may be too hard (AFAICT the sequence is send message to Calm with user id and password - Calm replies with token and token is then used with URL of a paid stream. Tokens are time limited so I'm not sure what happens when time runs out).

StevePalmer
2017-10-02, 09:26
So I'll keep it on the backburner - I play Calm every so often so it is a bti of interest. There are some interesting LMS programming challenges in handling the channel list.


Yes - artwork is not part of the stream (e.g. Radio paradise does this) - artwork is kept separate - this enables the streams to be handled by lots of plain internet radio.

If I get the free station working with art - then adding on the paid channel may be too hard (AFAICT the sequence is send message to Calm with user id and password - Calm replies with token and token is then used with URL of a paid stream. Tokens are time limited so I'm not sure what happens when time runs out).[/QUOTE]Cheers again BPA. On a non-techy note, I'm just a bit disappointed with Calmradio.com that (in my simplistic world) I've ended up with 'less' in total for my package by paying more thru subscribing! There was no explicit declaration that I'd lose the Art using vTuner when I took out a subscription, but there again, that appears to be a limitation of vTuner rather than Calm Radio - but the art was always a good thing when showing off Calm Radio on a Tablet to mates!

Onwards and upwards! ☺

Sent from my Huawei Mate 9 using Tapatalk

bpa
2017-10-02, 10:03
On a non-techy note, I'm just a bit disappointed with Calmradio.com that (in my simplistic world) I've ended up with 'less' in total for my package by paying more thru subscribing! There was no explicit declaration that I'd lose the Art using vTuner when I took out a subscription, but there again, that appears to be a limitation of vTuner rather than Calm Radio - but the art was always a good thing when showing off Calm Radio on a Tablet to mates

I can't comment on vTuner but from past experience any intermediary rarely help. AFAICT Calm artwork mainly supported by Phones, Tablets, Roku, AppleTV, Amazon, Windows and browsers. Paid subs gets rid of ads and access to better quality streams (320k and 192k) and possibly some sort of personalisation (e.g. Favorites). I don't know what they mean by Multimixing.

StevePalmer
2017-10-02, 10:05
I can't comment on vTuner but from past experience any intermediary rarely help. AFAICT Calm artwork mainly supported by Phones, Tablets, Roku, AppleTV, Amazon, Windows and browsers. Paid subs gets rid of ads and access to better quality streams (320k and 192k) and possibly some sort of personalisation (e.g. Favorites). I don't know what they mean by Multimixing.Multimixing allows you to mix multiple sources, ie the music track overplayed with say 'white noise' and/or stuff like 'whales singing'. Not my bag, but quite clever! ☺

Sent from my Huawei Mate 9 using Tapatalk

remd
2017-10-07, 12:42
FYI ickstream supports the basic version of calmradio, there are plans to support the full version when the devs can focus on some new development again.
http://wiki.ickstream.com/index.php/Open_Beta_Squeezebox

StevePalmer
2017-10-09, 12:41
FYI ickstream supports the basic version of calmradio, there are plans to support the full version when the devs can focus on some new development again.
http://wiki.ickstream.com/index.php/Open_Beta_SqueezeboxCheers for this. I hadn't realised Calm Radio was available via this route. Having taken out a subscription with them, I hope the Ickstream Dec's get a chance to code the full version.

Thanks again!

Sent from my Huawei Mate 9 using Tapatalk