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.02k stars 563 forks source link

enabling replay gain causes radio to stop working. #6002

Closed nunotfc closed 1 year ago

nunotfc commented 1 year ago

Installation Method

Docker Installation

AzuraCast Release Channel

Rolling Release Channel

Current AzuraCast Version

0c938b2 (2023-01-08 4:24) • Docker • PHP 8.1

What happened?

hello, if i enable the use replay gain option, and restart station, my station just keeps playing the error sound. i can give access to my instalation because i cant find something relevant in logs. when i disabled thath option, radio started to work again.

Relevant log output

No response

ItsMitchh commented 1 year ago

I was able to reproduce this partly, the only logs that I can find that are remotely relevant are the ones below. The station becomes 'hung' on the AutoDJ is ready. This seems like a Upstream issue with LS.

2023/01/12 22:59:36 [lang:3] API nextsong - Sending POST request to 'http://127.0.0.1:6010/api/internal/1/liquidsoap/nextsong' with body: 
2023/01/12 22:59:36 [lang:3] API nextsong - Response (200): annotate:title="i ran (so far away) (hq)",artist="a flock of seagulls",duration="304.00",song_id="3f6fbe89428a5da1ee6ceaa9c2fe5717",media_id="1",liq_amplify="0.00dB",liq_cross_duration="3.00",liq_fade_in="2.00",liq_fade_out="2.00",playlist_id="1":media:a_flock_of_seagulls_-_i_ran_(so_far_away)_(hq).mp3
2023/01/12 22:59:36 [safe_fallback:3] Switch to error_jingle.
[mp3float @ 0x7f9400004d40] Could not update timestamps for skipped samples.
2023/01/12 22:59:36 [local_1:3] Connecting mount /radio.mp3 for source@127.0.0.1...
2023/01/12 22:59:36 [local_1:3] Connection setup was successful.
2023/01/12 22:59:37 [lang:3] API feedback - Sending POST request to 'http://127.0.0.1:6010/api/internal/1/liquidsoap/feedback' with body: { "artist": "AzuraCast.com", "title": "AzuraCast is Live!" }
2023/01/12 22:59:37 [playlist_default:3] Prepared "/var/azuracast/stations/primary_test/media/kim_wilde_-_kids_in_america_(1981).mp3" (RID 2).
2023/01/12 22:59:37 [safe_fallback:3] Switch to amplify_1 with transition.
2023/01/12 22:59:37 [lang:3] API feedback - Response (200): true
2023/01/12 22:59:37 [live_fallback:3] Switch to cross_0.
2023/01/12 22:59:37 [interrupting_fallback:3] Switch to requests_fallback.
2023/01/12 22:59:37 [requests_fallback:3] Switch to autodj_fallback.
2023/01/12 22:59:37 [autodj_fallback:3] Switch to standard_playlists.
2023/01/12 22:59:37 [standard_playlists:3] Switch to on_track_0.
2023/01/12 22:59:37 [switch_0:3] Switch to cue_playlist_default.
[mp3float @ 0x7f94000e13c0] Could not update timestamps for skipped samples.
2023/01/12 22:59:37 [cue_playlist_default:3] Cueing in...
2023/01/12 22:59:37 [lang:3] API feedback - Sending POST request to 'http://127.0.0.1:6010/api/internal/1/liquidsoap/feedback' with body: {
2023/01/12 22:59:37 [lang:3]   "song_id": "93cbdf8903ad9032df36ac99a646ec47",
2023/01/12 22:59:37 [lang:3]   "playlist_id": "1",
2023/01/12 22:59:37 [lang:3]   "media_id": "24"
2023/01/12 22:59:37 [lang:3] }
2023/01/12 22:59:37 [lang:3] API feedback - Response (200): true
2023/01/12 22:59:37 [next_song:3] Prepared "/var/azuracast/stations/primary_test/media/a_flock_of_seagulls_-_i_ran_(so_far_away)_(hq).mp3" (RID 3).
2023/01/12 22:59:37 [lang:3] AutoDJ is ready!

As per Docker logs


azuracast          | [2023-01-12T23:02:51.182278+00:00] AzuraCast.ERROR: No track to update. {"exception":"[object] (RuntimeException(code: 0): No track to update. at /var/azuracast/www/src/Entity/Repository/SongHistoryRepository.php:78)"} {"station":{"id":1,"name":"Primary Test"}}```
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.

github-actions[bot] commented 1 year ago

Thank you for your bug report, this issue has been closed due to inactivity. Should this issue persist, please re-open the bug report.