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.1k stars 569 forks source link

DJ Stream don't play if a scheduled remote URL is playing #6344

Open Alex-65 opened 1 year ago

Alex-65 commented 1 year ago

Installation Method

Docker Installation

AzuraCast Release Channel

Rolling Release Channel

Current AzuraCast Version

Rolling Release #fba3041 (2023-06-13 16:50)

What happened?

If a scheduled remote URL is playing by autodj, when a DJ connect to stream he/she see everything it's ok from his/her side but listeners continue to listen to the remote URL. The now playng info shows the song name from the remote URL but also shows the DJ is connected.

Now Playing

If autodj is playing a 'normal' playlist using local uploaded tracks everything works as expected.

This problem was not present before the upgrade to the new liquidsoap release.

Relevant log output

2023/06/14 00:05:36 [lang:3] API auth - Sending POST request to 'http://127.0.0.1:6010/api/internal/4/liquidsoap/auth' with body: { "password": "xxxxxxxxxxxxxx", "user": "xxxxxxx" }
2023/06/14 00:05:36 [lang:3] API auth - Response (200): true
2023/06/14 00:05:36 [lang:3] DJ Source connected! Last authenticated DJ: xxxxxxxx - [("Host", "stream.dreamvision.club:8035"), ("icy-name", "No Name"), ("icy-pub", "0"), ("icy-br", "256"), ("content-type", "audio/mpeg")]
2023/06/14 00:05:36 [lang:3] API djon - Sending POST request to 'http://127.0.0.1:6010/api/internal/4/liquidsoap/djon' with body: { "user": "xxxxxxxx" }
2023/06/14 00:05:36 [lang:3] API djon - Response (200): true
2023/06/14 00:05:36 [input_streamer:3] Decoding...
2023/06/14 00:07:13 [lang:3] API feedback - Sending POST request to 'http://127.0.0.1:6010/api/internal/4/liquidsoap/feedback' with body: {
2023/06/14 00:07:13 [lang:3]   "artist": "",
2023/06/14 00:07:13 [lang:3]   "title": "Dreas & Alex Robert - Mormugao (Alex Robert 2011 Mix Edit)"
2023/06/14 00:07:13 [lang:3] }
2023/06/14 00:07:13 [lang:3] API feedback - Response (200): true2023/06/14 00:05:36 [lang:3] API auth - Sending POST request to 'http://127.0.0.1:6010/api/internal/4/liquidsoap/auth' with body: { "password": "xxxxxxxxxxxxxx", "user": "xxxxxxx" }
2023/06/14 00:05:36 [lang:3] API auth - Response (200): true
2023/06/14 00:05:36 [lang:3] DJ Source connected! Last authenticated DJ: xxxxxxxx - [("Host", "stream.dreamvision.club:8035"), ("icy-name", "No Name"), ("icy-pub", "0"), ("icy-br", "256"), ("content-type", "audio/mpeg")]
2023/06/14 00:05:36 [lang:3] API djon - Sending POST request to 'http://127.0.0.1:6010/api/internal/4/liquidsoap/djon' with body: { "user": "xxxxxxxx" }
2023/06/14 00:05:36 [lang:3] API djon - Response (200): true
2023/06/14 00:05:36 [input_streamer:3] Decoding...
2023/06/14 00:07:13 [lang:3] API feedback - Sending POST request to 'http://127.0.0.1:6010/api/internal/4/liquidsoap/feedback' with body: {
2023/06/14 00:07:13 [lang:3]   "artist": "",
2023/06/14 00:07:13 [lang:3]   "title": "Dreas & Alex Robert - Mormugao (Alex Robert 2011 Mix Edit)"
2023/06/14 00:07:13 [lang:3] }
2023/06/14 00:07:13 [lang:3] API feedback - Response (200): true

At 00:07:13 there is the Now playing infos change got from the remote URL, not from the DJ stream.
Alex-65 commented 1 year ago

I just upgraded to Rolling Release #1e729cb (2023-06-17 19:50) but the problem is still present. Can anyone of the developers team have a lokk on this?

Moonbase59 commented 1 year ago

Just realized, same here on Rolling Release #9f7825e (2023-06-10 16:39).

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Moonbase59 commented 1 year ago

Fighting the bot time again… Let’s keep this open for follow-up.

It’s a bad thing a DJ can’t play their show only because some syndication is going on at the time.

BusterNeece commented 1 year ago

I'm not sure how this is even possible. The live playback is farther down in the code and will always take priority over any other broadcast coming in from any queue, including remote URLs.

This may well be a Liquidsoap bug.