Calm Radio addon : CAudioDecoder error

Hi there,

I want to fork the official Calm Radio addon, which doesn’t work right now. Calm Radio is an internet radio, which you can listen either freely or with a subscription (better quality + no add). The source of this addon are right here.

When I don’t configure my member account, I can listen to Calm Radio. The log shows only an error related to an unverified HTTPS request (full log) :

Code:
ERROR: /home/edouard/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/connectionpool.py:843: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
                                              InsecureRequestWarning)

which doesn’t prevent the addon to stream music.

Now when I configure my account, no audio is been played. The log (full log) shows the error mentioned before, as long as:

Code:
18:42:31.764 T:139818740149952   DEBUG: CCurlFile::GetMimeType - http://[email protected]/api/25/320/stream -> failed
18:42:31.765 T:139818740149952   DEBUG: CurlFile::Open(0x7ffc6234a2e0) http://[email protected]/api/25/320/stream
18:42:31.899 T:139818740149952   ERROR: CCurlFile::Open failed with code 404 for http://[email protected]/api/25/320/stream
18:42:31.900 T:139818740149952   DEBUG: CFileCache::Open - opening <api/25/320/stream> using cache
18:42:31.900 T:139818740149952   DEBUG: CurlFile::Open(0x564e4a144120) http://[email protected]/api/25/320/stream
18:42:31.915 T:139818740149952   ERROR: CCurlFile::Open failed with code 404 for http://[email protected]/api/25/320/stream
18:42:31.915 T:139818740149952   ERROR: Open - failed to open source <http://[email protected]/api/25/320/stream>
18:42:31.915 T:139818740149952   ERROR: Init: Error opening file http://[email protected]:JDEkMFIyZk9CRlgkVVNkbmpQNEcxVlpUOXpEUTFWdGdXMA==@streams.​calmradio.com/api/25/320/stream
18:42:31.915 T:139818740149952   ERROR: CAudioDecoder: Unable to Init Codec while loading file http://[email protected]:JDEkMFIyZk9CRlgkVVNkbmpQNEcxVlpUOXpEUTFWdGdXMA==@streams.​calmradio.com/api/25/320/stream

What do you guys think about it? could the SSL error be the root of this issue? I use Kodi 17 on Fedora 25 btw.

Let me know if I can provide more information Wink