AzuraCast / azuracast.com

Online and peer-editable documentation for the AzuraCast web radio management suite.
https://azuracast.com/
MIT License
7 stars 40 forks source link

Autodj is taking over the live broadcast #97

Closed Mirel81 closed 7 months ago

Mirel81 commented 7 months ago

When a dj connects , works fine , then autodj interrupts the live broadcast every 2 minutes for a few seconds after it resumes to the live broadcast.

BusterNeece commented 7 months ago

Most of the time, what folks are hearing as the AutoDJ "interrupting" a live broadcast is actually the live broadcast signal not being stable and the AutoDJ just falling back to its regular programming because it thinks the DJ has disconnected.

On the "Broadcasting" tab of your station's profile, you can increase the buffer for DJs until this issue doesn't happen as often. What buffer works well for you will depend on your installation and many other factors.

Mirel81 commented 7 months ago

Thanks for your resonse , i increased the buffer in broadcast tab from 5 to 35 , but the result to this is that it does not do it so often , so now instead of interrupting every 2 minutes , the interuptions are every 12 min , but the problem is still there.About signal consistency i would say that is not the problem since the sound comes from a broadcast processor , which has the signal stable at the same volume all the time. Is there any other way to instruct liquidsoap not to do this?Below is the log.

2024/02/01 18:41:21 [lang:3] API feedback - Sending POST request to 'http://127.0.0.1:6010/api/internal/1/liquidsoap/feedback' with body: { 2024/02/01 18:41:21 [lang:3] "song_id": "ccdf38319246a7002cb439769fbe7765", 2024/02/01 18:41:21 [lang:3] "playlist_id": "2", 2024/02/01 18:41:21 [lang:3] "media_id": "331" 2024/02/01 18:41:21 [lang:3] } 2024/02/01 18:41:21 [lang:3] API feedback - Response (200): true 2024/02/01 18:41:35 [lang:3] API auth - Sending POST request to 'http://127.0.0.1:6010/api/internal/1/liquidsoap/auth' with body: { "user": "Mirel", "password": "Live" } 2024/02/01 18:41:36 [lang:3] API auth - Response (200): true 2024/02/01 18:41:36 [lang:3] DJ Source connected! Last authenticated DJ: Mirel - [("Host", "myip:8005"), ("icy-name", "No Name"), ("icy-pub", "0"), ("icy-br", "320"), ("content-type", "audio/mpeg")] 2024/02/01 18:41:36 [lang:3] API djon - Sending POST request to 'http://127.0.0.1:6010/api/internal/1/liquidsoap/djon' with body: { "user": "Mirel" } 2024/02/01 18:41:36 [lang:3] API djon - Response (200): true 2024/02/01 18:41:36 [input_streamer:3] Decoding... 2024/02/01 18:41:51 [lang:3] API auth - Sending POST request to 'http://127.0.0.1:6010/api/internal/1/liquidsoap/auth' with body: { "user": "Mirel", "password": "Live" } 2024/02/01 18:41:51 [lang:3] API auth - Response (200): true 2024/02/01 18:41:51 [input_streamer:3] New metadata chunk ? -- Mirel Live! - Just Good Music! . 2024/02/01 18:41:52 [live_fallback:3] Switch to metadata_map.2 with transition. 2024/02/01 18:41:52 [metadata_map:3] Inserting missing metadata. 2024/02/01 18:41:52 [lang:3] API feedback - Sending POST request to 'http://127.0.0.1:6010/api/internal/1/liquidsoap/feedback' with body: { "artist": "", "title": "Emisie Live" } 2024/02/01 18:41:52 [lang:3] API feedback - Response (200): true 2024/02/01 18:41:57 [lang:3] API auth - Sending POST request to 'http://127.0.0.1:6010/api/internal/1/liquidsoap/auth' with body: { "user": "Mirel", "password": "Live" } 2024/02/01 18:41:57 [lang:3] API auth - Response (200): true 2024/02/01 18:41:57 [input_streamer:3] New metadata chunk ? -- Mirel Live! - Just Good Music! . 2024/02/01 18:42:06 [lang:3] API feedback - Sending POST request to 'http://127.0.0.1:6010/api/internal/1/liquidsoap/feedback' with body: { "artist": "", "title": "Mirel Live! - Just Good Music! " } 2024/02/01 18:42:06 [lang:3] API feedback - Response (200): true 2024/02/01 18:42:10 [lang:3] API auth - Sending POST request to 'http://127.0.0.1:6010/api/internal/1/liquidsoap/auth' with body: { "user": "Mirel", "password": "Live" } 2024/02/01 18:42:10 [lang:3] API auth - Response (200): true 2024/02/01 18:42:10 [input_streamer:3] New metadata chunk ? -- Ada Petcu - Prostuto . 2024/02/01 18:42:15 [lang:3] API auth - Sending POST request to 'http://127.0.0.1:6010/api/internal/1/liquidsoap/auth' with body: { "user": "Mirel", "password": "Live" } 2024/02/01 18:42:15 [lang:3] API auth - Response (200): true 2024/02/01 18:42:15 [input_streamer:3] New metadata chunk ? -- Ada Petcu - Prostuto . 2024/02/01 18:42:24 [lang:3] API feedback - Sending POST request to 'http://127.0.0.1:6010/api/internal/1/liquidsoap/feedback' with body: { "artist": "", "title": "Ada Petcu - Prostuto " } 2024/02/01 18:42:24 [lang:3] API feedback - Response (200): true 2024/02/01 18:44:46 [lang:3] API auth - Sending POST request to 'http://127.0.0.1:6010/api/internal/1/liquidsoap/auth' with body: { "user": "Mirel", "password": "Live" } 2024/02/01 18:44:47 [lang:3] API auth - Response (200): true 2024/02/01 18:44:47 [input_streamer:3] New metadata chunk ? -- 3 Sud Est si Andia - Inseparabili . 2024/02/01 18:44:53 [lang:3] API feedback - Sending POST request to 'http://127.0.0.1:6010/api/internal/1/liquidsoap/feedback' with body: { "artist": "", "title": "3 Sud Est si Andia - Inseparabili " } 2024/02/01 18:44:53 [lang:3] API feedback - Response (200): true 2024/02/01 18:46:44 [live_fallback:3] Switch to ladspa with forgetful transition. 2024/02/01 18:46:44 [replay_metadata.472:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:46:44 [cue_playlist_muzica_radio:3] End of track reached before cue-out point. 2024/02/01 18:46:44 [playlist_muzica_radio:3] Prepared "/var/azuracast/stations/bandit/media/kylie_minogue-padam_padam-radio_edit-128.mp3" (RID 223). 2024/02/01 18:46:44 [lang:3] API feedback - Sending POST request to 'http://127.0.0.1:6010/api/internal/1/liquidsoap/feedback' with body: { 2024/02/01 18:46:44 [lang:3] "song_id": "ccdf38319246a7002cb439769fbe7765", 2024/02/01 18:46:44 [lang:3] "playlist_id": "2", 2024/02/01 18:46:44 [lang:3] "media_id": "331" 2024/02/01 18:46:44 [lang:3] } 2024/02/01 18:46:44 [lang:3] API feedback - Response (200): true [mp3float @ 0x7f2ce301de00] Could not update timestamps for skipped samples. 2024/02/01 18:46:44 [cue_playlist_muzica_radio:3] Cueing in... 2024/02/01 18:46:44 [cross:3] Analysis: -8.158674dB / -18.607306dB (2.96s / 2.96s) 2024/02/01 18:46:44 [source.650:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:46:44 [audio.add.215:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:46:44 [fade_in.215:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:46:44 [track_amplify.431:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:46:44 [on_track.862:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:46:44 [on_metadata.430:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:46:44 [on_track.861:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:46:44 [cross_after.215:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:46:44 [buffer.430:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:46:44 [fade_out.215:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:46:44 [track_amplify.430:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:46:44 [on_end.215:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:46:44 [on_track.860:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:46:44 [on_metadata.429:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:46:44 [on_track.859:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:46:44 [cross_before.215:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:46:44 [buffer.429:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:46:44 [decoder.ffmpeg:3] Requested content-type for "/var/azuracast/stations/bandit/media/block_crown__richard_greylissat-gypsy_player-original_mix-32912991.mp3": {audio=pcm(stereo)} 2024/02/01 18:46:44 [decoder.ffmpeg:3] FFmpeg recognizes "/var/azuracast/stations/bandit/media/block_crown__richard_greylissat-gypsy_player-original_mix-32912991.mp3" as audio: {codec: mp3, 44100Hz, 2 channel(s)}, video: {codec: mjpeg, 600x600, yuvj420p} 2024/02/01 18:46:44 [decoder.ffmpeg:3] Decoded content-type for "/var/azuracast/stations/bandit/media/block_crown__richard_greylissat-gypsy_player-original_mix-32912991.mp3": {audio=pcm(stereo)} 2024/02/01 18:46:44 [lang:3] API feedback - Sending POST request to 'http://127.0.0.1:6010/api/internal/1/liquidsoap/feedback' with body: { 2024/02/01 18:46:44 [lang:3] "song_id": "9db752625979159dad4fee88d7adfac7", 2024/02/01 18:46:44 [lang:3] "playlist_id": "2", 2024/02/01 18:46:44 [lang:3] "media_id": "348" 2024/02/01 18:46:44 [lang:3] } 2024/02/01 18:46:45 [lang:3] API feedback - Response (200): true 2024/02/01 18:47:00 [live_fallback:3] Switch to metadata_map.2 with transition. 2024/02/01 18:47:00 [replay_metadata.475:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:47:00 [lang:3] API feedback - Sending POST request to 'http://127.0.0.1:6010/api/internal/1/liquidsoap/feedback' with body: { "artist": "", "title": "3 Sud Est si Andia - Inseparabili " } 2024/02/01 18:47:00 [lang:3] API feedback - Response (200): true 2024/02/01 18:47:19 [playlist_muzica_radio:3] Reloading playlist with URI /var/azuracast/stations/bandit/playlists/playlist_muzica_radio.m3u. 2024/02/01 18:47:19 [request:3] Nonexistent file or ill-formed URI "/var/azuracast/stations/bandit/playlists/playlist_muzica_radio.m3u"! 2024/02/01 18:47:19 [playlist_muzica_radio:3] Couldn't read playlist: request resolution failed. 2024/02/01 18:47:19 [request.dynamic:3] Fetch failed: empty. 2024/02/01 18:47:19 [playlist_jingles:3] Reloading playlist with URI /var/azuracast/stations/bandit/playlists/playlist_jingles.m3u. 2024/02/01 18:47:19 [request:3] Nonexistent file or ill-formed URI "/var/azuracast/stations/bandit/playlists/playlist_jingles.m3u"! 2024/02/01 18:47:19 [playlist_jingles:3] Couldn't read playlist: request resolution failed. 2024/02/01 18:47:19 [request.dynamic:3] Fetch failed: empty. 2024/02/01 18:47:20 [main:3] Shutdown signal received. 2024/02/01 18:47:20 [threads:3] Main loop exited 2024/02/01 18:47:20 [main:3] Shutdown started! 2024/02/01 18:47:20 [threads:3] Waiting for main threads to terminate... 2024/02/01 18:47:20 [input_streamer:2] Feeding stopped: Failure("shutdown called"). 2024/02/01 18:47:20 [lang:3] API djoff - Sending POST request to 'http://127.0.0.1:6010/api/internal/1/liquidsoap/djoff' with body: { "user": "Mirel" } 2024/02/01 18:47:20 [lang:3] API djoff - Response (520): 2024/02/01 18:47:20 [local_4:3] Closing connection... 2024/02/01 18:47:20 [local_3:3] Closing connection... 2024/02/01 18:47:20 [local_2:3] Closing connection... 2024/02/01 18:47:20 [local_1:3] Closing connection... 2024/02/01 18:47:20 [clock.main:3] Streaming loop stopped. 2024/02/01 18:47:20 [threads:3] Main threads terminated. 2024/02/01 18:47:20 [threads:3] Shutting down scheduler... 2024/02/01 18:47:27 >>> LOG START 2024/02/01 18:47:20 [main:3] Liquidsoap 2.2.3 2024/02/01 18:47:20 [main:3] Using: alsa=0.3.0 angstrom=0.15.0 ao=0.2.4 asetmap=0.8.1 asn1-combinators=0.2.6 astring=0.8.5 base64=3.5.1 bigarray=[distributed with Ocaml] bigarray-compat=1.1.0 bigstringaf=0.9.1 bjack=0.1.6 bos=0.2.1 bytes=[distributed with OCaml 4.02 or above] ca-certs=v0.2.3 camlimages.all_formats=4.2.6 camlimages.core=5.0.4 camlimages.exif=5.0.4 camlimages.gif=5.0.4 camlimages.jpeg=5.0.4 camlimages.png=5.0.4 camlimages.tiff=5.0.4 camlimages.xpm=5.0.4 camlp-streams camomile.lib=2.0 cohttp=5.3.0 cohttp-lwt=5.3.0 cohttp-lwt-unix=5.3.0 conduit=6.2.0 conduit-lwt=6.2.0 conduit-lwt-unix=6.2.0 cry=1.0.2 cstruct=6.2.0 ctypes=0.21.1 ctypes-foreign=0.21.1 ctypes.stubs=0.21.1 curl=0.9.2 domain-name=0.4.0 dssi=0.1.5 dtools=0.4.5 dune-build-info=3.11.1 dune-private-libs.dune-section=3.11.1 dune-site=3.11.1 dune-site.private=3.11.1 duppy=0.9.3 eqaf=0.9 eqaf.bigstring=0.9 eqaf.cstruct=0.9 faad=0.5.2 fdkaac=0.3.3 ffmpeg-av=1.1.9 ffmpeg-avcodec=1.1.9 ffmpeg-avdevice=1.1.9 ffmpeg-avfilter=1.1.9 ffmpeg-avutil=1.1.9 ffmpeg-swresample=1.1.9 ffmpeg-swscale=1.1.9 fileutils=0.6.4 flac=0.5.1 flac.decoder=0.5.1 flac.ogg=0.5.1 fmt=0.9.0 fpath=0.7.3 frei0r=0.1.2 gd=1.0a5 gen=1.1 gmap=0.3.0 hkdf=1.0.4 inotify=2.4.1 integers ipaddr=5.5.0 ipaddr-sexp=5.5.0 ipaddr.unix=5.5.0 irc-client irc-client-unix jemalloc ladspa=0.2.2 lame=0.3.7 lastfm=0.3.3 lilv=0.1.0 liquidsoap-lang=2.2.3 liquidsoap-lang.console=2.2.3 liquidsoap_alsa=c6c618f-dirty liquidsoap_ao=c6c618f-dirty liquidsoap_bjack=c6c618f-dirty liquidsoap_builtins=c6c618f-dirty liquidsoap_camlimages=c6c618f-dirty liquidsoap_core=c6c618f-dirty liquidsoap_dssi=c6c618f-dirty liquidsoap_faad=c6c618f-dirty liquidsoap_fdkaac=c6c618f-dirty liquidsoap_ffmpeg=c6c618f-dirty liquidsoap_flac=c6c618f-dirty liquidsoap_frei0r=c6c618f-dirty liquidsoap_gd=c6c618f-dirty liquidsoap_irc=c6c618f-dirty liquidsoap_jemalloc=c6c618f-dirty liquidsoap_ladspa=c6c618f-dirty liquidsoap_lame=c6c618f-dirty liquidsoap_lastfm=c6c618f-dirty liquidsoap_lilv=c6c618f-dirty liquidsoap_lo=c6c618f-dirty liquidsoap_mad=c6c618f-dirty liquidsoap_magic=c6c618f-dirty liquidsoap_mem_usage=c6c618f-dirty liquidsoap_memtrace=c6c618f-dirty liquidsoap_ogg=c6c618f-dirty liquidsoap_ogg_flac=c6c618f-dirty liquidsoap_optionals=c6c618f-dirty liquidsoap_opus=c6c618f-dirty liquidsoap_osc=c6c618f-dirty liquidsoap_oss=c6c618f-dirty liquidsoap_portaudio=c6c618f-dirty liquidsoap_posix_time=c6c618f-dirty liquidsoap_prometheus=c6c618f-dirty liquidsoap_pulseaudio=c6c618f-dirty liquidsoap_runtime=c6c618f-dirty liquidsoap_samplerate=c6c618f-dirty liquidsoap_sdl=c6c618f-dirty liquidsoap_shine=c6c618f-dirty liquidsoap_soundtouch=c6c618f-dirty liquidsoap_speex=c6c618f-dirty liquidsoap_srt=c6c618f-dirty liquidsoap_ssl=c6c618f-dirty liquidsoap_stereotool=c6c618f-dirty liquidsoap_taglib=c6c618f-dirty liquidsoap_theora=c6c618f-dirty liquidsoap_tls=c6c618f-dirty liquidsoap_vorbis=c6c618f-dirty liquidsoap_xmlplaylist=c6c618f-dirty liquidsoap_yaml=c6c618f-dirty lo=0.2.0 logs=0.7.0 logs.fmt=0.7.0 logs.lwt=0.7.0 lwt=5.7.0 lwt.unix=5.7.0 macaddr=5.5.0 mad=0.5.3 magic=0.7.3 magic-mime=1.3.1 mem_usage=0.0.4 memtrace=0.2.3 menhirLib=20230608 metadata=0.3.0 mirage-crypto=0.11.2 mirage-crypto-ec=0.11.2 mirage-crypto-pk=0.11.2 mirage-crypto-rng=0.11.2 mirage-crypto-rng.unix=0.11.2 mm=0.8.4 mm.audio=0.8.4 mm.base=0.8.4 mm.image=0.8.4 mm.midi=0.8.4 mm.video=0.8.4 ocplib-endian ocplib-endian.bigstring ogg=0.7.4 ogg.decoder=0.7.4 opus=0.2.3 opus.decoder=0.2.3 osc osc-unix parsexp=v0.16.0 pbkdf pcre=7.5.0 portaudio=0.2.3 posix-base=5a7f328 posix-socket=5a7f328 posix-socket.constants=5a7f328 posix-socket.stubs=5a7f328 posix-socket.types=5a7f328 posix-time2=5a7f328 posix-time2.constants=5a7f328 posix-time2.stubs=5a7f328 posix-time2.types=5a7f328 posix-types=5a7f328 posix-types.constants=5a7f328 ppx_sexp_conv.runtime-lib=v0.16.0 prometheus=1.2 prometheus-app=1.2 ptime=1.1.0 ptime.clock.os=1.1.0 pulseaudio=0.1.6 re=1.11.0 result=1.5 rresult=0.7.0 samplerate=0.1.7 sedlex=3.2 seq=[distributed with OCaml 4.07 or above] sexplib=v0.16.0 sexplib0=v0.16.0 shine=0.2.3 soundtouch=0.1.9 speex=0.4.2 speex.decoder=0.4.2 srt=0.3.0 srt.constants=0.3.0 srt.stubs=0.3.0 srt.stubs.locked=0.3.0 srt.types=0.3.0 ssl=0.7.0 stdlib-shims=0.3.0 stereotool=c6c618f-dirty str=[distributed with Ocaml] stringext=1.6.0 taglib=0.3.10 theora=0.4.1 theora.decoder=0.4.1 threads=[distributed with Ocaml] threads.posix=[internal] tls=0.17.1 tsdl=v1.0.0 tsdl-image=0.5 tsdl-ttf=0.6 unix=[distributed with Ocaml] unix-errno=52c6ecb unix-errno.errno_bindings=52c6ecb unix-errno.errno_types=52c6ecb unix-errno.errno_types_detected=52c6ecb unix-errno.unix=52c6ecb uri=4.4.0 uri-sexp=4.4.0 uri.services=4.4.0 vorbis=0.8.1 vorbis.decoder=0.8.1 x509=0.16.5 xmlm=1.4.0 xmlplaylist=0.1.5 yaml=3.2.0 yaml.bindings=3.2.0 yaml.bindings.types=3.2.0 yaml.c=3.2.0 yaml.ffi=3.2.0 yaml.types=3.2.0 zarith=1.13 2024/02/01 18:47:20 [clock:3] Using native (high-precision) implementation for latency control 2024/02/01 18:47:26 [main:3] Standard library loaded in 5.56 seconds. 2024/02/01 18:47:26 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz main. 2024/02/01 18:47:26 [frame:3] Video frame size set to: 1280x720 2024/02/01 18:47:26 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples. 2024/02/01 18:47:26 [frame:3] Targeting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks. 2024/02/01 18:47:26 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks. 2024/02/01 18:47:27 [sandbox:3] Sandboxing disabled 2024/02/01 18:47:27 [startup:3] DSSI plugins registration: 0.00s 2024/02/01 18:47:27 [startup:3] FFmpeg filters registration: 0.03s 2024/02/01 18:47:27 [startup:3] FFmpeg bitstream filters registration: 0.00s 2024/02/01 18:47:27 [startup:3] Lilv plugins registration: 0.01s 2024/02/01 18:47:27 [startup:3] Frei0r plugin registration: 0.00s 2024/02/01 18:47:27 [startup:3] LADSPA plugins registration: 0.07s 2024/02/01 18:47:27 [startup:3] Typechecking: 5.09s 2024/02/01 18:47:27 [startup:3] Evaluation: 0.02s 2024/02/01 18:47:27 [startup:3] Typechecking: 0.04s 2024/02/01 18:47:27 [startup:3] Evaluation: 0.00s 2024/02/01 18:47:27 [startup:3] Typechecking: 0.04s 2024/02/01 18:47:27 [startup:3] Evaluation: 0.29s 2024/02/01 18:47:27 [startup:3] Loaded /var/azuracast/stations/bandit/config/liquidsoap.liq: 0.34s 2024/02/01 18:47:27 [input_streamer:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:47:27 [harbor:3] Adding mountpoint '/' on port 8005 2024/02/01 18:47:27 [local_1:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:47:27 [metadata_map.6:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:47:27 [metadata_map.5:3] Content type is {}. 2024/02/01 18:47:27 [custom_metadata:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:47:27 [on_frame:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:47:27 [metadata_map.2:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:47:27 [metadata_map:3] Content type is {}. 2024/02/01 18:47:27 [ladspa:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:47:27 [cross:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:47:27 [amplify:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:47:27 [track_amplify:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:47:27 [cue_interrupting_requests:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:47:27 [interrupting_requests:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:47:27 [cue_requests:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:47:27 [requests:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:47:27 [on_track.2:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:47:27 [source:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:47:27 [cue_playlist_jingles:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:47:27 [playlist_jingles:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:47:27 [on_track:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:47:27 [cue_playlist_muzica_radio:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:47:27 [playlist_muzica_radio:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:47:27 [metadata_map.4:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:47:27 [metadata_map.3:3] Content type is {}. 2024/02/01 18:47:27 [error_jingle:3] "/usr/local/share/icecast/web/error.mp3" is static, resolving once for all... 2024/02/01 18:47:27 [decoder.ffmpeg:3] Requested content-type for "/usr/local/share/icecast/web/error.mp3": {audio=pcm(stereo)} 2024/02/01 18:47:27 [decoder.ffmpeg:3] FFmpeg recognizes "/usr/local/share/icecast/web/error.mp3" as audio: {codec: mp3, 44100Hz, 2 channel(s)} 2024/02/01 18:47:27 [decoder.ffmpeg:3] Decoded content-type for "/usr/local/share/icecast/web/error.mp3": {audio=pcm(stereo)} 2024/02/01 18:47:27 [error_jingle:3] Prepared "/usr/local/share/icecast/web/error.mp3" (RID 2). 2024/02/01 18:47:27 [local_2:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:47:27 [local_3:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:47:27 [local_4:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:47:27 [/var/azuracast/stations/bandit/hls/live_m3u8:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:47:27 [clock.main:3] Streaming loop starts in auto-sync mode 2024/02/01 18:47:27 [clock.main:3] Delegating synchronization to CPU clock 2024/02/01 18:47:27 [video.converter:3] Using preferred video converter: ffmpeg. 2024/02/01 18:47:27 [audio.converter:3] Using samplerate converter: libsamplerate. 2024/02/01 18:47:27 [video.text:3] Using sdl implementation [mp3 @ 0x7f389ab77000] Estimating duration from bitrate, this may be inaccurate 2024/02/01 18:47:27 [decoder.ffmpeg:3] Requested content-type for "/var/azuracast/stations/bandit/media/imaging_elements4.mp3": {audio=pcm(stereo)} 2024/02/01 18:47:27 [decoder.ffmpeg:3] FFmpeg recognizes "/var/azuracast/stations/bandit/media/imaging_elements4.mp3" as audio: {codec: mp3, 44100Hz, 2 channel(s)} 2024/02/01 18:47:27 [decoder.ffmpeg:3] Decoded content-type for "/var/azuracast/stations/bandit/media/imaging_elements4.mp3": {audio=pcm(stereo)} 2024/02/01 18:47:27 [decoder.ffmpeg:3] Requested content-type for "/var/azuracast/stations/bandit/media/the_motans_xinna-tare(_albwhoremix).mp3": {audio=pcm(stereo)} [mp3float @ 0x7f389a21c000] Could not update timestamps for skipped samples. 2024/02/01 18:47:27 [decoder.ffmpeg:3] FFmpeg recognizes "/var/azuracast/stations/bandit/media/the_motans_xinna-tare(_albwhoremix).mp3" as audio: {codec: mp3, 48000Hz, 2 channel(s)} 2024/02/01 18:47:27 [safe_fallback:3] Switch to metadata_map.4. 2024/02/01 18:47:27 [decoder.ffmpeg:3] Decoded content-type for "/var/azuracast/stations/bandit/media/the_motans_xinna-tare(_albwhoremix).mp3": {audio=pcm(stereo)} [mp3 @ 0x7f389ab77000] Estimating duration from bitrate, this may be inaccurate [mp3 @ 0x7f389a29a000] Estimating duration from bitrate, this may be inaccurate [mp3 @ 0x7f389a29a000] Estimating duration from bitrate, this may be inaccurate 2024/02/01 18:47:27 [playlist_jingles:3] Prepared "/var/azuracast/stations/bandit/media/imaging_elements4.mp3" (RID 3). 2024/02/01 18:47:27 [safe_fallback:3] Switch to custom_metadata with transition. 2024/02/01 18:47:27 [local_1:3] Connecting mount /stream.mp3 for source@127.0.0.1... 2024/02/01 18:47:27 [lang:3] API auth - Sending POST request to 'http://127.0.0.1:6010/api/internal/1/liquidsoap/auth' with body: { "user": "Mirel", "password": "Live" } 2024/02/01 18:47:27 [local_1:3] Connection setup was successful. 2024/02/01 18:47:27 [local_2:3] Connecting mount /320.mp3 for source@127.0.0.1... 2024/02/01 18:47:28 [local_2:3] Connection setup was successful. 2024/02/01 18:47:28 [local_3:3] Connecting mount /48.aac for source@127.0.0.1... [mp3 @ 0x7f389af77000] Estimating duration from bitrate, this may be inaccurate 2024/02/01 18:47:28 [decoder.ffmpeg:3] Requested content-type for "/var/azuracast/stations/bandit/media/imaging_elements6.mp3": {audio=pcm(stereo)} 2024/02/01 18:47:28 [decoder.ffmpeg:3] FFmpeg recognizes "/var/azuracast/stations/bandit/media/imaging_elements6.mp3" as audio: {codec: mp3, 44100Hz, 2 channel(s)} 2024/02/01 18:47:28 [decoder.ffmpeg:3] Decoded content-type for "/var/azuracast/stations/bandit/media/imaging_elements6.mp3": {audio=pcm(stereo)} [mp3 @ 0x7f389af77000] Estimating duration from bitrate, this may be inaccurate 2024/02/01 18:47:28 [local_3:3] Connection setup was successful. 2024/02/01 18:47:28 [lang:3] API auth - Response (200): true 2024/02/01 18:47:28 [lang:3] DJ Source connected! Last authenticated DJ: Mirel - [("Host", "193.39.13.174:8005"), ("icy-name", "No Name"), ("icy-pub", "0"), ("icy-br", "320"), ("content-type", "audio/mpeg")] 2024/02/01 18:47:28 [lang:3] API djon - Sending POST request to 'http://127.0.0.1:6010/api/internal/1/liquidsoap/djon' with body: { "user": "Mirel" } 2024/02/01 18:47:28 [local_4:3] Connecting mount /128.aac for source@127.0.0.1... 2024/02/01 18:47:28 [lang:3] API djon - Response (200): true 2024/02/01 18:47:28 [input_streamer:3] Decoding... 2024/02/01 18:47:28 [local_4:3] Connection setup was successful. [mpegts @ 0x7f38c2901c00] frame size not set [mpegts @ 0x7f38c2902800] frame size not set [mpegts @ 0x7f38c2903400] frame size not set 2024/02/01 18:47:28 [live_fallback:3] Switch to ladspa. 2024/02/01 18:47:28 [interrupting_fallback:3] Switch to requests_fallback. 2024/02/01 18:47:28 [requests_fallback:3] Switch to switch.4. 2024/02/01 18:47:28 [switch.4:3] Switch to on_track.2. 2024/02/01 18:47:28 [switch.3:3] Switch to source. 2024/02/01 18:47:28 [cue_playlist_jingles:3] Cueing in... 2024/02/01 18:47:28 [metadata_map.5:3] Inserting missing metadata. 2024/02/01 18:47:36 [cue_playlist_jingles:3] Cueing out... 2024/02/01 18:47:36 [playlist_muzica_radio:3] Prepared "/var/azuracast/stations/bandit/media/the_motans_xinna-tare(_albwhoremix).mp3" (RID 4). 2024/02/01 18:47:36 [switch.3:3] Switch to standard_playlists with forgetful transition. 2024/02/01 18:47:36 [standard_playlists:3] Switch to on_track. 2024/02/01 18:47:36 [switch:3] Switch to cue_playlist_muzica_radio. [mp3float @ 0x7f389a21ca00] Could not update timestamps for skipped samples. 2024/02/01 18:47:36 [cue_playlist_muzica_radio:3] Cueing in... 2024/02/01 18:47:36 [decoder.ffmpeg:3] Requested content-type for "/var/azuracast/stations/bandit/media/anne-marie,_littlemix-_kissmy(uhoh)(lyrics).mp3": {audio=pcm(stereo)} 2024/02/01 18:47:36 [decoder.ffmpeg:3] FFmpeg recognizes "/var/azuracast/stations/bandit/media/anne-marie,_littlemix-_kissmy(uhoh)(lyrics).mp3" as audio: {codec: mp3, 48000Hz, 2 channel(s)} 2024/02/01 18:47:36 [decoder.ffmpeg:3] Decoded content-type for "/var/azuracast/stations/bandit/media/anne-marie,_littlemix-_kissmy(uhoh)(lyrics).mp3": {audio=pcm(stereo)} 2024/02/01 18:47:36 [cross:3] Analysis: -12.443524dB / -24.409505dB (2.96s / 2.96s) 2024/02/01 18:47:36 [source.8:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:47:36 [audio.add:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:47:36 [fade_in:3] Content type is {audio=pcm(stereo)}. 2024/02/01 18:47:36 [track_amplify.3:3] Content type is {audio=pcm(stereo)}.

Mirel81 commented 7 months ago

Just an update , to the above the problem seems to be ocurring only when i live stream , my other colleagues don't experience the same proble ,to them it works as it shoud . The difference that i see in logs is this line :Switch to metadata_map.4 with transition. But when i connect and starts to interrupt it shows :Switch to metadata_map.2 with transition. I wonder why , or wether i shoud try to with a new streamer account

Mirel81 commented 7 months ago

Right i figured out why autodj was interupting live dj , it has to do with the actual clocks, physical server is in utc+1 , the azuracst configuration on the broadcasting side was set to utc+2 , and i was streaming from utc 0, aparently this made the liquidsoap not to be able to unify clocks.So , after i set the azuracast server to the same clock as the physical server on utc+1 , the problem was solved .Also , when you are live streaming you are sending your actual local computer clock to liquidsoap , one way to trick liquidsoap, not to be confused about the clocks is to set your own computer clock to match the actual server clock if you are on a different timezone. I can confirm this was tested , and works.