AzuraCast / AzuraCast

A self-hosted web radio management suite, including turnkey installer tools for the full radio software stack and a modern, easy-to-use web app to manage your stations.
https://www.azuracast.com/
GNU Affero General Public License v3.0
3.08k stars 569 forks source link

API Live Nowplaying #5866

Closed PeWe79 closed 1 year ago

PeWe79 commented 1 year ago

Installation Method

Docker Installation

AzuraCast Release Channel

Stable Channel

Current AzuraCast Version

0.17.4

What happened?

Failed get API Live Nowplaying. API address not https:// but wss:// . For example API get from wss://myradio.com/api/live/nowplaying/ but not from https://myradio.com/api/live/nowplaying.

Relevant log output

No response

BusterNeece commented 1 year ago

Unfortunately, there's an issue in Ubuntu 22.04 (the latest long-term support version of Ubuntu) where the library we use for websocket connections crashes repeatedly. It appears the software library is no longer being actively maintained, so we have discontinued our use of it in the latest Rolling Release versions, and it will be removed completely in version 0.17.5.

For now, we would recommend using one of our other Now Playing API sources, which both return the same data as the the Websocket API: https://docs.azuracast.com/en/developers/apis/now-playing-data

PeWe79 commented 1 year ago

Hi @BusterNeece , thank you for the info. It really helps.