forked from abrasive/shairport
-
-
Notifications
You must be signed in to change notification settings - Fork 635
Open
Labels
Description
What happened?
Thanks for the great piece of software!
I'm reporting the following issue. When my computer (MacBook Pro M1, Tahoe 26.0.1) is connected to Shairport Sync and after I take the AirPods out of their case, the audio from my computer is automatically switched to AirPods, then I'm not able to reconnect to Shairport Sync anymore:
I'm able to connect again after restarting the container:
$ docker compose down
$ docker compose up -dThe attached log (log_verbosity = 2) covers the following steps:
- initial connection from my computer,
- when the audio from my computer is switched automatically to AirPods, and
- when I'm not able to reconnect anymore from my computer.
This issue has been occurring for at least two or three years.
Relevant log output
shairport-sync-1 | s6-rc: info: service s6rc-fdholder: starting
shairport-sync-1 | s6-rc: info: service s6rc-oneshot-runner: starting
shairport-sync-1 | s6-rc: info: service s6rc-oneshot-runner successfully started
shairport-sync-1 | s6-rc: info: service fix-attrs: starting
shairport-sync-1 | s6-rc: info: service s6rc-fdholder successfully started
shairport-sync-1 | s6-rc: info: service fix-attrs successfully started
shairport-sync-1 | s6-rc: info: service legacy-cont-init: starting
shairport-sync-1 | s6-rc: info: service legacy-cont-init successfully started
shairport-sync-1 | s6-rc: info: service syslogd-prepare: starting
shairport-sync-1 | s6-rc: info: service 01-startup: starting
shairport-sync-1 | STARTING - Sat Nov 15 18:50:06 UTC 2025
shairport-sync-1 | s6-rc: info: service 01-startup successfully started
shairport-sync-1 | s6-rc: info: service 04-nqptp: starting
shairport-sync-1 | s6-rc: info: service 02-dbus: starting
shairport-sync-1 | s6-rc: info: service 04-nqptp successfully started
shairport-sync-1 | Starting dbus
shairport-sync-1 | Starting nqptp
shairport-sync-1 | s6-rc: info: service syslogd-prepare successfully started
shairport-sync-1 | s6-rc: info: service syslogd-log: starting
shairport-sync-1 | s6-rc: info: service syslogd-log successfully started
shairport-sync-1 | s6-rc: info: service syslogd: starting
shairport-sync-1 | s6-rc: info: service syslogd successfully started
shairport-sync-1 | s6-rc: info: service 02-dbus successfully started
shairport-sync-1 | s6-rc: info: service 03-avahi: starting
shairport-sync-1 | Starting avahi
shairport-sync-1 | Found user 'avahi' (UID 86) and group 'avahi' (GID 86).
shairport-sync-1 | Successfully dropped root privileges.
shairport-sync-1 | avahi-daemon 0.8 starting up.
shairport-sync-1 | WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
shairport-sync-1 | No service file found in /etc/avahi/services.
shairport-sync-1 | *** WARNING: Detected another IPv4 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. ***
shairport-sync-1 | *** WARNING: Detected another IPv6 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. ***
shairport-sync-1 | Joining mDNS multicast group on interface docker0.IPv4 with address 172.17.0.1.
shairport-sync-1 | New relevant interface docker0.IPv4 for mDNS.
shairport-sync-1 | Joining mDNS multicast group on interface wlan0.IPv6 with address fe80::b2b3:2fc0:f03f:3f9d.
shairport-sync-1 | New relevant interface wlan0.IPv6 for mDNS.
shairport-sync-1 | Joining mDNS multicast group on interface wlan0.IPv4 with address 10.0.1.15.
shairport-sync-1 | New relevant interface wlan0.IPv4 for mDNS.
shairport-sync-1 | Joining mDNS multicast group on interface lo.IPv6 with address ::1.
shairport-sync-1 | New relevant interface lo.IPv6 for mDNS.
shairport-sync-1 | Joining mDNS multicast group on interface lo.IPv4 with address 127.0.0.1.
shairport-sync-1 | New relevant interface lo.IPv4 for mDNS.
shairport-sync-1 | Network interface enumeration completed.
shairport-sync-1 | Registering new address record for 172.17.0.1 on docker0.IPv4.
shairport-sync-1 | Registering new address record for fe80::b2b3:2fc0:f03f:3f9d on wlan0.*.
shairport-sync-1 | Registering new address record for 10.0.1.15 on wlan0.IPv4.
shairport-sync-1 | Registering new address record for ::1 on lo.*.
shairport-sync-1 | Registering new address record for 127.0.0.1 on lo.IPv4.
shairport-sync-1 | Server startup complete. Host name is olohuone.local. Local service cookie is 1209964158.
shairport-sync-1 | s6-rc: info: service 03-avahi successfully started
shairport-sync-1 | s6-rc: info: service legacy-services: starting
shairport-sync-1 | s6-rc: info: service legacy-services successfully started
shairport-sync-1 | Starting shairport-sync
shairport-sync-1 | 0.003843594 "shairport.c:1474" default metadata_pipename is "/tmp/shairport-sync-metadata".
shairport-sync-1 | 0.000705781 "shairport.c:2282" Startup in AirPlay 2 mode, with features 0x405fca00,0x1c340 on device "b8:27:eb:0e:48:f6".
shairport-sync-1 | 0.000195521 "shairport.c:2321" Version String: "4.3.7-dirty-AirPlay2-smi10-alac-OpenSSL-Avahi-ALSA-pa-pw-dummy-stdout-pipe-soxr-convolution-metadata-mqtt-dbus-mpris-sysconfdir:/etc"
shairport-sync-1 | 0.000084636 "shairport.c:2340" Command Line: "/usr/local/bin/shairport-sync".
shairport-sync-1 | 0.000135312 "shairport.c:2347" libsodium initialised.
shairport-sync-1 | 0.000503854 "shairport.c:2372" libgcrypt initialised.
shairport-sync-1 | 0.000010052 "shairport.c:2376" Log Verbosity is 2.
shairport-sync-1 | 0.000012084 "audio_alsa.c:1065" alsa: init() -- alsa_backend_state => abm_disconnected.
shairport-sync-1 | 0.000008906 "audio_alsa.c:1082" alsa: alsa_maximum_stall_time of 0.200000 sec.
shairport-sync-1 | 0.000049427 "audio_alsa.c:1371" alsa: disable_standby_mode is "never".
shairport-sync-1 | 0.000007865 "audio_alsa.c:1375" alsa: disable_standby_mode_silence_threshold is 0.040000 seconds.
shairport-sync-1 | 0.000008593 "audio_alsa.c:1377" alsa: disable_standby_mode_silence_scan_interval is 0.004000 seconds.
shairport-sync-1 | 0.000026094 "audio_alsa.c:1417" alsa: output device name is "default".
shairport-sync-1 | 0.000235052 "audio_alsa.c:2110" keep_dac_busy is now "no"
shairport-sync-1 | 0.000493594 "shairport.c:2411" The processor is running little-endian.
shairport-sync-1 | 0.000030781 "shairport.c:2444" disable_resend_requests is off.
shairport-sync-1 | 0.000033854 "shairport.c:2445" diagnostic_drop_packet_fraction is 0.000000. A value of 0.0 means no packets will be dropped deliberately.
shairport-sync-1 | 0.000010157 "shairport.c:2449" statistics_requester status is 0.
shairport-sync-1 | 0.000007864 "shairport.c:2454" rtsp listening port is 7000.
shairport-sync-1 | 0.000008386 "shairport.c:2455" udp base port is 6001.
shairport-sync-1 | 0.000007343 "shairport.c:2456" udp port range is 10.
shairport-sync-1 | 0.000007344 "shairport.c:2457" player name is "Olohuone".
shairport-sync-1 | 0.000008125 "shairport.c:2458" backend is "alsa".
shairport-sync-1 | 0.000028958 "shairport.c:2459" run_this_before_play_begins action is "(null)".
shairport-sync-1 | 0.000009115 "shairport.c:2460" run_this_after_play_ends action is "(null)".
shairport-sync-1 | 0.000008177 "shairport.c:2461" wait-cmd status is 0.
shairport-sync-1 | 0.000031771 "shairport.c:2462" run_this_before_play_begins may return output is 0.
shairport-sync-1 | 0.000008854 "shairport.c:2463" run_this_if_an_unfixable_error_is_detected action is "(null)".
shairport-sync-1 | 0.000032448 "shairport.c:2465" run_this_before_entering_active_state action is "(null)".
shairport-sync-1 | 0.000009115 "shairport.c:2467" run_this_after_exiting_active_state action is "(null)".
shairport-sync-1 | 0.000007864 "shairport.c:2469" active_state_timeout is 10.000000 seconds.
shairport-sync-1 | 0.000008594 "shairport.c:2470" mdns backend "(null)".
shairport-sync-1 | 0.000007135 "shairport.c:2471" userSuppliedLatency is 0.
shairport-sync-1 | 0.000007709 "shairport.c:2472" interpolation setting is "auto".
shairport-sync-1 | 0.000007396 "shairport.c:2476" interpolation soxr_delay_threshold is 30000000.
shairport-sync-1 | 0.000029270 "shairport.c:2477" resync time is 0.050000 seconds.
shairport-sync-1 | 0.000009792 "shairport.c:2478" resync recovery time is 0.100000 seconds.
shairport-sync-1 | 0.000008906 "shairport.c:2479" allow a session to be interrupted: 0.
shairport-sync-1 | 0.000007813 "shairport.c:2480" busy timeout time is 120.
shairport-sync-1 | 0.000017760 "shairport.c:2481" drift tolerance is 0.010000 seconds.
shairport-sync-1 | 0.000009375 "shairport.c:2482" password is not set.
shairport-sync-1 | 0.000036771 "shairport.c:2483" default airplay volume is: -24.000000.
shairport-sync-1 | 0.000010729 "shairport.c:2484" high threshold airplay volume is: -16.000000.
shairport-sync-1 | 0.000008698 "shairport.c:2486" check for higher-than-threshold volume for new play session is disabled.
shairport-sync-1 | 0.000007656 "shairport.c:2492" ignore_volume_control is 0.
shairport-sync-1 | 0.000008230 "shairport.c:2496" volume_max_db is not set
shairport-sync-1 | 0.000006822 "shairport.c:2497" volume range in dB (zero means use the range specified by the mixer): 0.
shairport-sync-1 | 0.000008386 "shairport.c:2499" volume_range_combined_hardware_priority (1 means hardware mixer attenuation is used first) is 0.
shairport-sync-1 | 0.000008489 "shairport.c:2503" playback_mode is 0 (0-stereo, 1-mono, 1-reverse_stereo, 2-both_left, 3-both_right).
shairport-sync-1 | 0.000008490 "shairport.c:2505" disable_synchronization is 0.
shairport-sync-1 | 0.000007448 "shairport.c:2506" use_mmap_if_available is 1.
shairport-sync-1 | 0.000015573 "shairport.c:2507" output_format automatic selection is enabled.
shairport-sync-1 | 0.000008594 "shairport.c:2511" output_rate automatic selection is enabled.
shairport-sync-1 | 0.000007812 "shairport.c:2515" audio backend desired buffer length is 0.200000 seconds.
shairport-sync-1 | 0.000010104 "shairport.c:2517" audio_backend_buffer_interpolation_threshold_in_seconds is 0.120000 seconds.
shairport-sync-1 | 0.000009115 "shairport.c:2519" audio backend latency offset is 0.000000 seconds.
shairport-sync-1 | 0.000008125 "shairport.c:2521" audio backend silence lead-in time is "auto".
shairport-sync-1 | 0.000007239 "shairport.c:2525" zeroconf regtype is "_raop._tcp".
shairport-sync-1 | 0.000007553 "shairport.c:2526" decoders_supported field is 3.
shairport-sync-1 | 0.000007447 "shairport.c:2527" use_apple_decoder is 1.
shairport-sync-1 | 0.000007292 "shairport.c:2528" alsa_use_hardware_mute is 0.
shairport-sync-1 | 0.000007761 "shairport.c:2532" no special mdns service interface was requested.
shairport-sync-1 | 0.000047187 "shairport.c:2535" configuration file name "/etc/shairport-sync.conf" resolves to "/etc/shairport-sync.conf".
shairport-sync-1 | 0.000022448 "shairport.c:2542" metadata enabled is 1.
shairport-sync-1 | 0.000008281 "shairport.c:2543" metadata pipename is "/tmp/shairport-sync-metadata".
shairport-sync-1 | 0.000008542 "shairport.c:2544" metadata socket address is "(null)" port 0.
shairport-sync-1 | 0.000008802 "shairport.c:2546" metadata socket packet size is "500".
shairport-sync-1 | 0.000007448 "shairport.c:2547" get-coverart is 1.
shairport-sync-1 | 0.000007344 "shairport.c:2550" mqtt is disabled.
shairport-sync-1 | 0.000007083 "shairport.c:2551" mqtt hostname is (null), port is 1883.
shairport-sync-1 | 0.000007917 "shairport.c:2552" mqtt topic is /Olohuone.
shairport-sync-1 | 0.002473073 "shairport.c:2553" mqtt will not publish raw metadata.
shairport-sync-1 | 0.000020781 "shairport.c:2554" mqtt will not publish parsed metadata.
shairport-sync-1 | 0.000008437 "shairport.c:2555" mqtt will not publish cover Art.
shairport-sync-1 | 0.000007709 "shairport.c:2556" mqtt remote control is disabled.
shairport-sync-1 | 0.000007500 "shairport.c:2557" mqtt autodiscovery is disabled.
shairport-sync-1 | 0.000007760 "shairport.c:2561" convolution is 0.
shairport-sync-1 | 0.000007240 "shairport.c:2562" convolution IR file is "(null)"
shairport-sync-1 | 0.000029791 "shairport.c:2563" convolution max length 8192
shairport-sync-1 | 0.000008229 "shairport.c:2564" convolution gain is 0.000000
shairport-sync-1 | 0.000007657 "shairport.c:2566" loudness is 0.
shairport-sync-1 | 0.000007187 "shairport.c:2567" loudness reference level is -20.000000
shairport-sync-1 | 0.000678646 "rtsp.c:4189" metadata pipe name is "/tmp/shairport-sync-metadata".
shairport-sync-1 | 0.000060052 "rtsp.c:373" Creating metadata queue "pipe".
shairport-sync-1 | 0.000150104 "rtsp.c:373" Creating metadata queue "multicast".
shairport-sync-1 | 0.000087188 "rtsp.c:373" Creating metadata queue "hub".
shairport-sync-1 | 0.000080781 "rtsp.c:373" Creating metadata queue "mqtt".
shairport-sync-1 | 0.002261823 "ptp-utilities.c:225" Send control message to NQPTP: "/nqptp T"
shairport-sync-1 | 0.000493021 "ptp-utilities.c:165" ptp_shm_interface_open with mapped_addr = 0
shairport-sync-1 | 0.000839219 "ptp-utilities.c:196" ptp_shm_interface_open -- success!
shairport-sync-1 | 0.000138177 "shairport.c:2694" NQPTP is online.
shairport-sync-1 | 0.001431927 "activity_monitor.c:163" am_state: am_inactive
shairport-sync-1 | 0.005747708 "dbus-service.c:610" >> setting loudness threshold to -20.000000.
shairport-sync-1 | 0.000428646 "dbus-service.c:623" >> setting drift tolerance to 0.010000 seconds.
shairport-sync-1 | 0.000042656 "dbus-service.c:636" >> setting volume to -24.0000.
shairport-sync-1 | 0.000065156 "dbus-service.c:1021" >> ALACDecoder set to "apple"
shairport-sync-1 | 0.000022657 "dbus-service.c:1030" >> Active set to "false"
shairport-sync-1 | 0.000053750 "dbus-service.c:1035" >> disable standby mode set to "off"
shairport-sync-1 | 0.000023802 "dbus-service.c:1056" >> interpolation set to "auto" (soxr support built in)
shairport-sync-1 | 0.000063593 "dbus-service.c:518" >> deactivating disable standby
shairport-sync-1 | 0.000020730 "dbus-service.c:600" >> deactivating loudness
shairport-sync-1 | 0.000044948 "dbus-service.c:534" >> deactivating convolution
shairport-sync-1 | 0.000680572 "dbus-service.c:503" >> log verbosity set to 2.
shairport-sync-1 | 0.000031771 "dbus-service.c:488" >> stop logging statistics
shairport-sync-1 | 0.000018854 "dbus-service.c:448" >> stop including elapsed time in logs
shairport-sync-1 | 0.000019688 "dbus-service.c:458" >> start including delta time in logs
shairport-sync-1 | 0.000019844 "dbus-service.c:471" >> start including file and line in logs
shairport-sync-1 | 0.000433333 "dbus-service.c:1175" Shairport Sync native D-Bus service started at "org.gnome.ShairportSync" on the system bus.
shairport-sync-1 | 0.001483646 "mpris-service.c:342" MPRIS service started at "org.mpris.MediaPlayer2.ShairportSync" on the system bus.
shairport-sync-1 | 0.005667656 "mdns_avahi.c:220" avahi: service 'B827EB0E48F6@Olohuone' group is not yet committed.
shairport-sync-1 | 0.003542813 "mdns_avahi.c:277" avahi: avahi_entry_group_commit 0
shairport-sync-1 | 0.000164635 "mdns_avahi.c:477" avahi_dacp_monitor_start Avahi DACP monitor successfully started
shairport-sync-1 | 0.000087604 "mdns_avahi.c:224" avahi: service 'B827EB0E48F6@Olohuone' group is registering.
shairport-sync-1 | 0.779139010 "mdns_avahi.c:191" avahi: service 'B827EB0E48F6@Olohuone' successfully added.
shairport-sync-1 | 0.704071146 "shairport.c:248" soxr_delay: 10471306 nanoseconds, soxr_delay_threshold: 30 milliseconds.
shairport-sync-1 | 0.000035052 "shairport.c:255" "soxr" interpolation has been chosen.
shairport-sync-1 | 24.810509522 "rtsp.c:669" No active connections.
shairport-sync-1 | 0.000369531 "rtsp.c:5694" Connection 1: New connection from fe80::1b:ac0e:e5ed:f6f2:60816 to self at fe80::b2b3:2fc0:f03f:3f9d:7000.
shairport-sync-1 | 0.068245677 "rtsp.c:2259" Connection 1: handle_pair-setup Content-Length 9
shairport-sync-1 | 0.187142396 "rtsp.c:2259" Connection 1: handle_pair-setup Content-Length 457
shairport-sync-1 | 0.126652760 "rtsp.c:2880" Connection 1: SETUP (AirPlay 2)
shairport-sync-1 | 0.000135365 "rtsp.c:2900" Connection 1 SETUP: No "streams" array has been found -- create an event thread and open a TCP port.
shairport-sync-1 | 0.000012604 "rtsp.c:2913" Connection 1: AP2 PTP connection from fe80::1b:ac0e:e5ed:f6f2:60816 ("nora") to self at fe80::b2b3:2fc0:f03f:3f9d:7000.
shairport-sync-1 | 0.000012708 "rtsp.c:586" Connection 1: request to acquire principal_conn.
shairport-sync-1 | 0.000061250 "ptp-utilities.c:165" ptp_shm_interface_open with mapped_addr = 1922142208
shairport-sync-1 | 0.000011146 "ptp-utilities.c:200" ptp_shm_interface_open -- already open!
shairport-sync-1 | 0.000011979 "rtsp.c:3001" Updated groupContainsGroupLeader to 0
shairport-sync-1 | 0.000048438 "metadata_hub.c:570" MH Client IP set to: "fe80::1b:ac0e:e5ed:f6f2"
shairport-sync-1 | 0.000193333 "dbus-service.c:226" Build metadata
shairport-sync-1 | 0.000108802 "mpris-service.c:167" Build metadata
shairport-sync-1 | 0.000062813 "metadata_hub.c:622" MH Server IP set to: "fe80::b2b3:2fc0:f03f:3f9d"
shairport-sync-1 | 0.000030416 "ptp-utilities.c:225" Send control message to NQPTP: "/nqptp T fe80::1b:ac0e:e5ed:f6f2"
shairport-sync-1 | 0.000042500 "dbus-service.c:226" Build metadata
shairport-sync-1 | 0.000067917 "mpris-service.c:167" Build metadata
shairport-sync-1 | 0.000743490 "ptp-utilities.c:225" Send control message to NQPTP: "/nqptp B"
shairport-sync-1 | 0.000833020 "rtsp.c:3111" Connection 1: TCP PTP event port opened: 58899.
shairport-sync-1 | 0.000221615 "rtp.c:1572" Connection 1: AP2 Event Receiver started
shairport-sync-1 | 0.000468021 "rtsp.c:3138" Connection 1: SETUP mdns_update on PTP stream.
shairport-sync-1 | 0.001356719 "metadata_hub.c:578" MH Client Name set to: "nora"
shairport-sync-1 | 0.000173229 "dbus-service.c:226" Build metadata
shairport-sync-1 | 0.000096562 "mpris-service.c:167" Build metadata
shairport-sync-1 | 0.134429271 "rtp.c:1584" Connection 1: rtp_event_receiver accepted a connection on socket 13 and moved to a new socket 14.
shairport-sync-1 | 0.013522448 "rtsp.c:4405" Connection 1: current volume (-24.000000) requested
shairport-sync-1 | 0.012370417 "rtsp.c:1585" Connection 1: RECORD on PTP stream
shairport-sync-1 | 0.023171250 "rtsp.c:2479" Connection 1: POST /command Content-Length 128
shairport-sync-1 | 0.011646562 "rtsp.c:2479" Connection 1: POST /command Content-Length 571
shairport-sync-1 | 0.172302917 "rtsp.c:2880" Connection 1: SETUP (AirPlay 2)
shairport-sync-1 | 0.000069583 "rtsp.c:3223" Connection 1: SETUP on PTP stream. A "streams" array has been found
shairport-sync-1 | 0.000012448 "ptp-utilities.c:225" Send control message to NQPTP: "/nqptp B"
shairport-sync-1 | 0.000407604 "rtsp.c:3251" Connection 1: UDP control port opened: 53223.
shairport-sync-1 | 0.000172136 "rtsp.c:3270" Connection 1: SETUP AP2 no Active-Remote information the SETUP Record.
shairport-sync-1 | 0.000011458 "rtsp.c:3289" Connection 1: SETUP AP2 doesn't include DACP-ID string information.
shairport-sync-1 | 0.000012812 "rtsp.c:3304" Connection 1. AP2 Realtime Audio Stream.
shairport-sync-1 | 0.000009011 "rtsp.c:3305" Realtime Audio Stream SETUP incoming message
shairport-sync-1 | 0.000007396 "rtsp.c:3305" Type: "Content-Length", content: "350"
shairport-sync-1 | 0.000008229 "rtsp.c:3305" Type: "Content-Type", content: "application/x-apple-binary-plist"
shairport-sync-1 | 0.000031146 "rtsp.c:3305" Type: "CSeq", content: "13"
shairport-sync-1 | 0.000008437 "rtsp.c:3305" Type: "User-Agent", content: "AirPlay/890.79.5"
shairport-sync-1 | 0.000137344 "rtsp.c:3305" Content Plist (as XML):
shairport-sync-1 | --
shairport-sync-1 | <?xml version="1.0" encoding="UTF-8"?>
shairport-sync-1 | <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
shairport-sync-1 | <plist version="1.0">
shairport-sync-1 | <dict>
shairport-sync-1 | <key>streams</key>
shairport-sync-1 | <array>
shairport-sync-1 | <dict>
shairport-sync-1 | <key>audioFormat</key>
shairport-sync-1 | <integer>262144</integer>
shairport-sync-1 | <key>supportsDynamicStreamID</key>
shairport-sync-1 | <true/>
shairport-sync-1 | <key>streamConnectionID</key>
shairport-sync-1 | <integer>1034452835188031539</integer>
shairport-sync-1 | <key>ct</key>
shairport-sync-1 | <integer>2</integer>
shairport-sync-1 | <key>audioMode</key>
shairport-sync-1 | <string>default</string>
shairport-sync-1 | <key>spf</key>
shairport-sync-1 | <integer>352</integer>
shairport-sync-1 | <key>controlPort</key>
shairport-sync-1 | <integer>53510</integer>
shairport-sync-1 | <key>latencyMax</key>
shairport-sync-1 | <integer>88200</integer>
shairport-sync-1 | <key>isMedia</key>
shairport-sync-1 | <true/>
shairport-sync-1 | <key>type</key>
shairport-sync-1 | <integer>96</integer>
shairport-sync-1 | <key>sr</key>
shairport-sync-1 | <integer>44100</integer>
shairport-sync-1 | <key>shk</key>
shairport-sync-1 | <data>
shairport-sync-1 | aDeF48neCbPiLM91moUhz7h7key1j6u5lbaOqcNdJ9c=
shairport-sync-1 | </data>
shairport-sync-1 | <key>latencyMin</key>
shairport-sync-1 | <integer>11025</integer>
shairport-sync-1 | </dict>
shairport-sync-1 | </array>
shairport-sync-1 | </dict>
shairport-sync-1 | </plist>
shairport-sync-1 | --
shairport-sync-1 | 0.000067969 "rtsp.c:3315" Connection 1: UDP realtime audio port opened: 49465.
shairport-sync-1 | 0.000181354 "rtsp.c:3349" Realtime Stream Play
shairport-sync-1 | 0.000015208 "activity_monitor.c:64" abeg
shairport-sync-1 | 0.000318698 "activity_monitor.c:167" am_state: am_active
shairport-sync-1 | 0.000030938 "dbus-service.c:226" Build metadata
shairport-sync-1 | 0.000110312 "mpris-service.c:167" Build metadata
shairport-sync-1 | 0.011915938 "audio_alsa.c:608" alsa: output format chosen is "S32".
shairport-sync-1 | 0.000226041 "audio_alsa.c:651" alsa: output speed chosen is 44100.
shairport-sync-1 | 0.020316146 "audio_alsa.c:1599" alsa: update timestamps available
shairport-sync-1 | 0.000018646 "audio_alsa.c:257" alsa: precision delay timing is not available because it's not definitely a hardware device.
shairport-sync-1 | 0.000009219 "audio_alsa.c:820" PCM handle name = 'default'
shairport-sync-1 | 0.000008541 "audio_alsa.c:834" alsa device parameters:
shairport-sync-1 | 0.000008802 "audio_alsa.c:837" access type = MMAP_INTERLEAVED
shairport-sync-1 | 0.000009375 "audio_alsa.c:840" format = 'S32_LE' (Signed 32 bit Little Endian)
shairport-sync-1 | 0.000036615 "audio_alsa.c:844" subformat = 'STD' (Standard)
shairport-sync-1 | 0.000009167 "audio_alsa.c:848" number of channels = 2
shairport-sync-1 | 0.000008073 "audio_alsa.c:851" number of significant bits = 32
shairport-sync-1 | 0.000008125 "audio_alsa.c:859" rate = 44100 frames per second (precisely).
shairport-sync-1 | 0.000008645 "audio_alsa.c:868" precise (rational) rate = 0.000 frames per second (i.e. 0/1088784512).
shairport-sync-1 | 0.000012552 "audio_alsa.c:882" period_time = 5804 us (>).
shairport-sync-1 | 0.000008646 "audio_alsa.c:892" period_size = 256 frames (precisely).
shairport-sync-1 | 0.000008490 "audio_alsa.c:908" buffer_time = 1486077 us (>).
shairport-sync-1 | 0.000008385 "audio_alsa.c:921" buffer_size = 65536 frames (>).
shairport-sync-1 | 0.000008438 "audio_alsa.c:931" periods_per_buffer = 256 (precisely).
shairport-sync-1 | 0.000009375 "audio_alsa.c:1980" alsa: prepare() -- opened output device
shairport-sync-1 | 0.000052916 "player.c:3632" Connection 1: player_play.
shairport-sync-1 | 0.002005209 "dbus-service.c:226" Build metadata
shairport-sync-1 | 0.001155833 "mpris-service.c:167" Build metadata
shairport-sync-1 | 0.003589688 "dacp.c:411" set_dacp_server_information set IP to "fe80::1b:ac0e:e5ed:f6f2" and DACP id to "".
shairport-sync-1 | 0.000049375 "player.c:2259" Set initial volume to -24.000000.
shairport-sync-1 | 0.000016145 "player.c:3515" Software attenuation set to -5489.100000, i.e 118.013022 out of 65,536, for airplay volume of -24.000000
shairport-sync-1 | 0.000012865 "loudness.c:47" Volume: -54.9 dB - Loudness gain @10Hz: 17.4 dB
shairport-sync-1 | 0.000051667 "player.c:3538" player_volume_without_notification: volume mode is 0, airplay volume is -24.00, software_attenuation dB: -54.89, hardware_attenuation dB: 0.00, muting is disabled.
shairport-sync-1 | 0.000015208 "player.c:2262" Play begin
shairport-sync-1 | 0.000241458 "dbus-service.c:226" Build metadata
shairport-sync-1 | 0.000114219 "mpris-service.c:167" Build metadata
shairport-sync-1 | 0.001233438 "rtp.c:1738" AP2 Realtime Clock receiver initialised.
shairport-sync-1 | 0.000020364 "rtp.c:1755" First packet is a sentinel packet.
shairport-sync-1 | 0.000031250 "rtp.c:1274" set_ptp_anchor_info: clock: 4244a30c0d5a0008, rtptime: 1807497529, networktime: 74315b44f3cf0.
shairport-sync-1 | 0.000706667 "rtp.c:1277" Connection 1: Set Anchor Clock: 4244a30c0d5a0008.
shairport-sync-1 | 0.008407135 "rtsp.c:3629" Connection 1: request to set AirPlay Volume to: -24.000000.
shairport-sync-1 | 0.000074167 "dbus-service.c:636" >> setting volume to -24.0000.
shairport-sync-1 | 0.000016250 "player.c:3515" Software attenuation set to -5489.100000, i.e 118.013022 out of 65,536, for airplay volume of -24.000000
shairport-sync-1 | 0.000034479 "loudness.c:47" Volume: -54.9 dB - Loudness gain @10Hz: 17.4 dB
shairport-sync-1 | 0.000204740 "player.c:3538" player_volume_without_notification: volume mode is 0, airplay volume is -24.00, software_attenuation dB: -54.89, hardware_attenuation dB: 0.00, muting is disabled.
shairport-sync-1 | 0.020935625 "rtp.c:1406" Connection 1: NQPTP master clock 4244a30c0d5a0008.
shairport-sync-1 | 0.268201250 "player.c:489" Connection 1: synced by first packet, seqno 22690.
shairport-sync-1 | 0.000059947 "player.c:164" Apple ALAC Decoder used on encrypted audio.
shairport-sync-1 | 0.000173125 "player.c:1136" Accepting packet 22690 with timestamp 1807598424. Lead time is 1.990408 seconds.
shairport-sync-1 | 0.000156875 "player.c:1214" Connection 1: Lead time for first frame 1807598424: 1.990386 seconds.
shairport-sync-1 | 0.001562553 "rtsp.c:2825" FLUSH request
shairport-sync-1 | 0.000038072 "rtsp.c:2825" Type: "RTP-Info", content: "seq=22690;rtptime=1807598424"
shairport-sync-1 | 0.000021355 "rtsp.c:2825" Type: "CSeq", content: "15"
shairport-sync-1 | 0.000018385 "rtsp.c:2825" Type: "User-Agent", content: "AirPlay/890.79.5"
shairport-sync-1 | 0.000114635 "rtsp.c:2825" No Content Plist. Content length: 0.
shairport-sync-1 | 0.000031875 "rtsp.c:2841" RTSP Flush Requested: 1807598424.
shairport-sync-1 | 0.001556719 "audio_alsa.c:1949" alsa: play() -- alsa_backend_state => abm_playing
shairport-sync-1 | 0.000074688 "audio_alsa.c:1823" alsa: recovering from a previous underrun.
shairport-sync-1 | 0.012897396 "audio_alsa.c:1914" alsa: do_flush() -- flushing the output device
shairport-sync-1 | 0.012554322 "player.c:961" flush request: flush output device.
shairport-sync-1 | 0.000024428 "player.c:1077" flush request: flush frame 1807598424 expired -- buffer contains 704 frames, from 1807598424 to 1807599127
shairport-sync-1 | 0.001557291 "audio_alsa.c:1949" alsa: play() -- alsa_backend_state => abm_playing
shairport-sync-1 | 0.449736510 "player.c:1247" Change in estimated first_packet_time: -0.050344 milliseconds for first_packet.
shairport-sync-1 | 0.234792813 "player.c:1247" Change in estimated first_packet_time: 0.008373 milliseconds for first_packet.
shairport-sync-1 | 0.125619323 "player.c:1247" Change in estimated first_packet_time: -0.002957 milliseconds for first_packet.
shairport-sync-1 | 0.391005156 "player.c:1247" Change in estimated first_packet_time: 0.009765 milliseconds for first_packet.
shairport-sync-1 | 0.238625000 "player.c:1247" Change in estimated first_packet_time: -0.011062 milliseconds for first_packet.
shairport-sync-1 | 0.116620104 "rtp.c:1272" set_ptp_anchor_info: clock: 4244a30c0d5a0008, rtptime: 1807580665, networktime: 7431624acb7d5, frame adjustment: -0.195.
shairport-sync-1 | 0.013297864 "metadata_hub.c:542" MH Picture received, length 14629 bytes.
shairport-sync-1 | 0.002322917 "dbus-service.c:226" Build metadata
shairport-sync-1 | 0.000254219 "mpris-service.c:167" Build metadata
shairport-sync-1 | 0.004987031 "metadata_hub.c:587" MH Progress String set to: "939049629/1807580976/3086533276"
shairport-sync-1 | 0.000290365 "dbus-service.c:226" Build metadata
shairport-sync-1 | 0.001811718 "mpris-service.c:167" Build metadata
shairport-sync-1 | 0.006726146 "metadata_hub.c:531" MH Metadata stream processing start.
shairport-sync-1 | 0.000183334 "metadata_hub.c:376" MH Item ID seen: "325759457dbca5e0" of length 8.
shairport-sync-1 | 0.000021823 "metadata_hub.c:381" MH Item ID set to: "325759457dbca5e0"
shairport-sync-1 | 0.000712031 "metadata_hub.c:441" MH Track Name set to: "(1) ESAMarathon2 - Twitch"
shairport-sync-1 | 0.000160833 "metadata_hub.c:360" MH Song Data Kind seen: "0" of length 1.
shairport-sync-1 | 0.000019531 "metadata_hub.c:366" MH Song Data Kind set to: "0"
shairport-sync-1 | 0.000296667 "metadata_hub.c:387" MH Song Time seen: "4294967295" of length 4.
shairport-sync-1 | 0.000019219 "metadata_hub.c:393" MH Song Time set to: "4294967295"
shairport-sync-1 | 0.000157864 "metadata_hub.c:536" MH Metadata stream processing end with changes.
shairport-sync-1 | 0.000199375 "dbus-service.c:226" Build metadata
shairport-sync-1 | 0.001200990 "mpris-service.c:167" Build metadata
shairport-sync-1 | 0.008771302 "rtsp.c:2479" Connection 1: POST /command Content-Length 571
shairport-sync-1 | 0.133922500 "player.c:1247" Change in estimated first_packet_time: 0.009765 milliseconds for first_packet.
shairport-sync-1 | 0.101160469 "player.c:2778" first frame sync error (positive --> late): 1 frames, 0.023 mS at 44100 frames per second output.
shairport-sync-1 | 0.000046302 "player.c:2797" final sync adjustment: 7 silent frames added with a bias of 8 frames.
shairport-sync-1 | 0.000683229 "metadata_hub.c:614" MH Stream Type set to: "Realtime"
shairport-sync-1 | 0.000312396 "dbus-service.c:226" Build metadata
shairport-sync-1 | 0.001077344 "mpris-service.c:167" Build metadata
shairport-sync-1 | 0.158029218 "metadata_hub.c:531" MH Metadata stream processing start.
shairport-sync-1 | 0.000183646 "metadata_hub.c:376" MH Item ID seen: "325759457dbca5e0" of length 8.
shairport-sync-1 | 0.000993698 "metadata_hub.c:538" MH Metadata stream processing end without changes.
shairport-sync-1 | 0.008116250 "metadata_hub.c:587" MH Progress String set to: "939095986/1807599280/3086579633"
shairport-sync-1 | 0.000992917 "dbus-service.c:226" Build metadata
shairport-sync-1 | 0.000348281 "mpris-service.c:167" Build metadata
shairport-sync-1 | 0.007287239 "metadata_hub.c:542" MH Picture received, length 0 bytes.
shairport-sync-1 | 0.000364115 "dbus-service.c:226" Build metadata
shairport-sync-1 | 0.000403281 "mpris-service.c:167" Build metadata
shairport-sync-1 | 0.005308750 "metadata_hub.c:531" MH Metadata stream processing start.
shairport-sync-1 | 0.000033438 "metadata_hub.c:376" MH Item ID seen: "325759457dbca5e0" of length 8.
shairport-sync-1 | 0.000045989 "metadata_hub.c:538" MH Metadata stream processing end without changes.
shairport-sync-1 | 0.013940313 "metadata_hub.c:542" MH Picture received, length 14629 bytes.
shairport-sync-1 | 0.000973646 "dbus-service.c:226" Build metadata
shairport-sync-1 | 0.002411198 "mpris-service.c:167" Build metadata
shairport-sync-1 | 1.531742239 "rtp.c:1272" set_ptp_anchor_info: clock: 4244a30c0d5a0008, rtptime: 1807669231, networktime: 743169c610e07, frame adjustment: -0.350.
shairport-sync-1 | 1.674744895 "rtsp.c:2749" Connection 1: TEARDOWN 2 PTP stream.
shairport-sync-1 | 0.000032656 "rtsp.c:2751" TEARDOWN:
shairport-sync-1 | 0.000015885 "rtsp.c:2751" Type: "Content-Length", content: "200"
shairport-sync-1 | 0.000017709 "rtsp.c:2751" Type: "Content-Type", content: "application/x-apple-binary-plist"
shairport-sync-1 | 0.000055625 "rtsp.c:2751" Type: "CSeq", content: "27"
shairport-sync-1 | 0.000018489 "rtsp.c:2751" Type: "User-Agent", content: "AirPlay/890.79.5"
shairport-sync-1 | 0.000491875 "rtsp.c:2751" Content Plist (as XML):
shairport-sync-1 | --
shairport-sync-1 | <?xml version="1.0" encoding="UTF-8"?>
shairport-sync-1 | <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
shairport-sync-1 | <plist version="1.0">
shairport-sync-1 | <dict>
shairport-sync-1 | <key>streams</key>
shairport-sync-1 | <array>
shairport-sync-1 | <dict>
shairport-sync-1 | <key>ccCountSender</key>
shairport-sync-1 | <integer>0</integer>
shairport-sync-1 | <key>ccCountNonAPSender</key>
shairport-sync-1 | <integer>0</integer>
shairport-sync-1 | <key>ioDiscontinuityCount</key>
shairport-sync-1 | <integer>0</integer>
shairport-sync-1 | <key>primaryPacketDropCount</key>
shairport-sync-1 | <integer>0</integer>
shairport-sync-1 | <key>streamID</key>
shairport-sync-1 | <integer>0</integer>
shairport-sync-1 | <key>type</key>
shairport-sync-1 | <integer>96</integer>
shairport-sync-1 | <key>ccCountAPSender</key>
shairport-sync-1 | <integer>0</integer>
shairport-sync-1 | </dict>
shairport-sync-1 | </array>
shairport-sync-1 | </dict>
shairport-sync-1 | </plist>
shairport-sync-1 | --
shairport-sync-1 | 0.000137552 "rtsp.c:2760" Connection 1: TEARDOWN PTP stream -- close the stream.
shairport-sync-1 | 0.000065678 "player.c:3655" Connection 1: player_stop.
shairport-sync-1 | 0.000246770 "audio_alsa.c:1883" alsa: do_close()
shairport-sync-1 | 0.016146042 "audio_alsa.c:1896" alsa: do_close() -- closing alsa handle
shairport-sync-1 | 0.001290104 "player.c:1827" Cancelling AP2 timing, control and audio threads...
shairport-sync-1 | 0.000021823 "player.c:1830" Connection 1: Delete Realtime Audio Stream thread
shairport-sync-1 | 0.000129271 "rtp.c:1890" Realtime Audio Receiver Cleanup Start.
shairport-sync-1 | 0.000081354 "rtp.c:1893" Connection 49465: closing realtime audio port 1
shairport-sync-1 | 0.000019636 "rtp.c:1895" Realtime Audio Receiver Cleanup Done.
shairport-sync-1 | 0.000137552 "player.c:1844" Connection 1: Delete AirPlay 2 Control thread
shairport-sync-1 | 0.000109895 "rtp.c:1633" Connection 1: AP2 Control Receiver Cleanup.
shairport-sync-1 | 0.000064115 "rtp.c:1635" Connection 1: UDP control port 53223 closed.
shairport-sync-1 | 0.000093281 "rtp.c:1322" Connection 1: Clear anchor information.
shairport-sync-1 | 0.003694844 "player.c:432" 1024 buffers allocated, 1024 buffers released.
shairport-sync-1 | 0.000046250 "player.c:1897" Connection 1: player terminated.System Information.
Raspberry Pi 3 B+ and HiFiBerry DAC+ Pro RCA
Configuration Information.
0.003905572 "shairport.c:1474" default metadata_pipename is "/tmp/shairport-sync-metadata".
0.000121928 "shairport.c:2133" >> Display Config Start.
0.002969322 "shairport.c:2133"
0.000049896 "shairport.c:2133" From "uname -a":
0.000022084 "shairport.c:2133" Linux olohuone 5.10.103-v7+ #1529 SMP Tue Mar 8 12:21:37 GMT 2022 armv7l Linux
0.009735416 "shairport.c:2133"
0.000051615 "shairport.c:2133" From /etc/os-release:
0.000022448 "shairport.c:2133" Alpine Linux v3.20
0.003409635 "shairport.c:2133"
0.000046406 "shairport.c:2133" Shairport Sync Version String:
0.000022917 "shairport.c:2133" 4.3.7-dirty-AirPlay2-smi10-alac-OpenSSL-Avahi-ALSA-pa-pw-dummy-stdout-pipe-soxr-convolution-metadata-mqtt-dbus-mpris-sysconfdir:/etc
0.000096458 "shairport.c:2133"
0.000022240 "shairport.c:2133" Command Line:
0.000020365 "shairport.c:2133" shairport-sync --displayConfig
0.000095156 "shairport.c:2133"
0.000050052 "shairport.c:2133" Configuration File:
0.000021719 "shairport.c:2133" /etc/shairport-sync.conf
0.000044531 "shairport.c:2133"
0.000333333 "shairport.c:2133" Configuration File Settings:
0.000065469 "shairport.c:2133" general :
0.000021875 "shairport.c:2133" {
0.000051094 "shairport.c:2133" drift_tolerance_in_seconds = 0.01;
0.000022708 "shairport.c:2133" };
0.000020208 "shairport.c:2133" diagnostics :
0.000044167 "shairport.c:2133" {
0.000018802 "shairport.c:2133" log_output_to = "stdout";
0.000018750 "shairport.c:2133" log_verbosity = 2;
0.000047396 "shairport.c:2133" };
0.000021250 "shairport.c:2133"
0.000017604 "shairport.c:2133" >> Display Config End.
0.000043386 "shairport.c:2135" >> Goodbye!
0.000023593 "shairport.c:1596" exit function called...
0.000021302 "shairport.c:1606" Stopping the activity monitor.
0.000046094 "shairport.c:1608" Stopping the activity monitor done.
0.000021511 "shairport.c:1611" Stopping DACP Monitor
0.000047083 "shairport.c:1613" Stopping DACP Monitor Done
0.000021979 "shairport.c:1624" Stopping D-Bus service
0.000020261 "dbus-service.c:1219" stopping dbus service
0.000044531 "shairport.c:1626" Stopping D-Bus service done
0.000022344 "shairport.c:1642" Stopping metadata hub
0.000020625 "shairport.c:1644" Stopping metadata done
0.000043229 "shairport.c:1648" Stopping metadata
0.000053385 "shairport.c:1650" Stopping metadata done
0.000068490 "shairport.c:1733" normal exitPulseAudio or PipeWire installed?
- Check if your system uses a Sound Server.
How did you install Shairport Sync?
Docker
Check previous issues
- Confirm
Reactions are currently unavailable