mikebrady / shairport-sync

AirPlay and AirPlay 2 audio player
Other
7.27k stars 573 forks source link

[Problem]: Streaming media from Home Assistant fails #1739

Closed ddppddpp closed 1 year ago

ddppddpp commented 1 year ago

What happened?

I've setup shairtport-sync on a newly updated Raspian bullseye (Rpi 3-B). I can successfully stream media from various iOS devices with no issues. I've then gone and configured same shairport-sync device as an apple-tv integration on home assistant. When attempting to stream media form home assistant to shairport sync I get the following home assistant error: pyatv.exceptions.HttpError: HTTP/1.1 method POST failed with code 400: Bad Request Obviously, this could be a home assistant issue and I'll be happy to pursue it with their team if needed. Tried various media types and formats. I'm providing the output of shairport-sync -vvv. Relevant section should be for connection 4.

Relevant log output

0.000504271 "shairport.c:579" looking for configuration file at full path "/etc/shairport-sync.conf"
         0.001952031 "shairport.c:2252" Startup in AirPlay 2 mode, with features 0x405c4a00,0x1c340 on device "b8:27:eb:aa:d0:49".
         0.000077500 "shairport.c:2291" Version String: "4.3.1-24-g7e0e3af6-AirPlay2-smi10-OpenSSL-Avahi-ALSA-soxr-sysconfdir:/etc"
         0.000016042 "shairport.c:2310" Command Line: "shairport-sync -vvv".
         0.000105520 "shairport.c:2317" libsodium initialised.
         0.000390157 "shairport.c:2342" libgcrypt initialised.
         0.000018906 "shairport.c:2346" Log Verbosity is 3.
         0.000022864 "audio_alsa.c:1004" alsa: init() -- alsa_backend_state => abm_disconnected.
         0.000012292 "audio_alsa.c:1021" alsa: alsa_maximum_stall_time of 0.200000 sec.
         0.000053906 "audio_alsa.c:1310" alsa: disable_standby_mode is "never".
         0.000011980 "audio_alsa.c:1314" alsa: disable_standby_mode_silence_threshold is 0.040000 seconds.
         0.000012291 "audio_alsa.c:1316" alsa: disable_standby_mode_silence_scan_interval is 0.004000 seconds.
         0.000047292 "audio_alsa.c:1356" alsa: output device name is "hw:Headphones".
         0.000246510 "shairport.c:2361" The processor is running little-endian.
         0.000019584 "shairport.c:2394" disable_resend_requests is off.
         0.000013125 "shairport.c:2395" diagnostic_drop_packet_fraction is 0.000000. A value of 0.0 means no packets will be dropped deliberately.
         0.000005990 "shairport.c:2399" statistics_requester status is 0.
         0.000012292 "shairport.c:2404" rtsp listening port is 7000.
         0.000010885 "shairport.c:2405" udp base port is 6001.
         0.000011406 "shairport.c:2406" udp port range is 10.
         0.000010625 "shairport.c:2407" player name is "Kitchen Tivoli".
         0.000010781 "shairport.c:2408" backend is "alsa".
         0.000010678 "shairport.c:2409" run_this_before_play_begins action is "(null)".
         0.000010729 "shairport.c:2410" run_this_after_play_ends action is "(null)".
         0.000010625 "shairport.c:2411" wait-cmd status is 0.
         0.000010573 "shairport.c:2412" run_this_before_play_begins may return output is 0.
         0.000011041 "audio_alsa.c:2039" keep_dac_busy is now "no"
         0.000011041 "shairport.c:2413" run_this_if_an_unfixable_error_is_detected action is "(null)".
         0.000022813 "shairport.c:2415" run_this_before_entering_active_state action is  "(null)".
         0.000013229 "shairport.c:2417" run_this_after_exiting_active_state action is  "(null)".
         0.000010885 "shairport.c:2419" active_state_timeout is  10.000000 seconds.
         0.000015782 "shairport.c:2420" mdns backend "(null)".
         0.000010468 "shairport.c:2421" userSuppliedLatency is 0.
         0.000010625 "shairport.c:2422" interpolation setting is "auto".
         0.000010677 "shairport.c:2426" interpolation soxr_delay_threshold is 30000000.
         0.000010938 "shairport.c:2427" resync time is 0.050000 seconds.
         0.000011667 "shairport.c:2428" resync recovery time is 0.100000 seconds.
         0.000011823 "shairport.c:2429" allow a session to be interrupted: 0.
         0.000010312 "shairport.c:2430" busy timeout time is 0.
         0.000010469 "shairport.c:2431" drift tolerance is 0.002000 seconds.
         0.000011666 "shairport.c:2432" password is "(null)".
         0.000010209 "shairport.c:2433" default airplay volume is: -24.000000.
         0.000013125 "shairport.c:2434" high threshold airplay volume is: -16.000000.
         0.000012708 "shairport.c:2436" check for higher-than-threshold volume for new play session is disabled.
         0.000010417 "shairport.c:2442" ignore_volume_control is 0.
         0.000010677 "shairport.c:2446" volume_max_db is not set
         0.000010000 "shairport.c:2447" volume range in dB (zero means use the range specified by the mixer): 0.
         0.000010937 "shairport.c:2449" volume_range_combined_hardware_priority (1 means hardware mixer attenuation is used first) is 0.
         0.000011823 "shairport.c:2453" playback_mode is 1 (0-stereo, 1-mono, 1-reverse_stereo, 2-both_left, 3-both_right).
         0.000011198 "shairport.c:2455" disable_synchronization is 0.
         0.000010781 "shairport.c:2456" use_mmap_if_available is 1.
         0.000010365 "shairport.c:2457" output_format automatic selection is enabled.
         0.000010573 "shairport.c:2461" output_rate automatic selection is enabled.
         0.000010573 "shairport.c:2465" audio backend desired buffer length is 0.200000 seconds.
         0.000011875 "shairport.c:2467" audio_backend_buffer_interpolation_threshold_in_seconds is 0.120000 seconds.
         0.000012187 "shairport.c:2469" audio backend latency offset is 0.000000 seconds.
         0.000011771 "shairport.c:2471" audio backend silence lead-in time is "auto".
         0.000010417 "shairport.c:2475" zeroconf regtype is "_raop._tcp".
         0.000010573 "shairport.c:2476" decoders_supported field is 1.
         0.000010312 "shairport.c:2477" use_apple_decoder is 0.
         0.000010521 "shairport.c:2478" alsa_use_hardware_mute is 0.
         0.000010573 "shairport.c:2482" no special mdns service interface was requested.
         0.000041094 "shairport.c:2485" configuration file name "/etc/shairport-sync.conf" resolves to "/etc/shairport-sync.conf".
         0.000014583 "shairport.c:2515" loudness is 0.
         0.000011146 "shairport.c:2516" loudness reference level is -20.000000
         0.000151823 "ptp-utilities.c:223" Send control message to NQPTP: "/nqptp T"
         0.000202135 "ptp-utilities.c:163" ptp_shm_interface_open with mapped_addr = 0
         0.000020729 "ptp-utilities.c:167" ptp_shm_interface_open is NULL
         0.000154532 "ptp-utilities.c:194" ptp_shm_interface_open -- success!
         0.000033125 "shairport.c:2643" NQPTP is online.
         0.004249687 "activity_monitor.c:163" am_state: am_inactive
         0.006241094 "mdns_avahi.c:220" avahi: service 'B827EBAAD049@Kitchen Tivoli' group is not yet committed.
         0.004801354 "mdns_avahi.c:268" avahi: avahi_entry_group_commit 0
         0.000261927 "mdns_avahi.c:463" avahi_dacp_monitor_start Avahi DACP monitor successfully started
         0.000415834 "mdns_avahi.c:224" avahi: service 'B827EBAAD049@Kitchen Tivoli' group is registering.
         0.893125260 "mdns_avahi.c:191" avahi: service 'B827EBAAD049@Kitchen Tivoli' successfully added.
         0.122231250 "rtsp.c:696" mutex_lock "&conns_lock".
         0.000100156 "common.c:1687" mutex_unlock "&conns_lock" at "rtsp.c:712".
         0.000039114 "rtsp.c:716" No active connections.
         0.000013907 "rtsp.c:723" Airplay Volume for new connections is -24.000000.
         0.000795833 "rtsp.c:5598" Connection 1: New connection from <owntone's ip>:46310 to self at <shairport-sync's ip>:7000.
         0.000226198 "rtsp.c:5614" Successfully created RTSP receiver thread 1.
         0.000170417 "rtsp.c:663" mutex_lock "&conns_lock".
         0.000416979 "rtsp.c:1321" Connection 1: Connection closed by client.
         0.000045208 "rtsp.c:5314" Connection 1: Terminate RTSP connection.
         0.000026458 "rtsp.c:5011" Connection 1: unspecified stream rtsp_conversation_thread_func_cleanup_function called.
         0.000247448 "rtsp.c:2641" Connection 1: TEARDOWN unspecified stream connection.
         0.000019427 "rtsp.c:5022" Connection 1: terminating  -- closing timing, control and audio sockets...
         0.000013438 "rtsp.c:5043" Connection 1: terminating -- closing RTSP connection socket 8: from  <owntone's ip>:46310 to self at <shairport-sync's ip>:7000.
         0.000091719 "rtsp.c:5103" Cancel watchdog thread.
         0.000033802 "common.c:1687" mutex_unlock "&conns_lock" at "rtsp.c:685".
         0.000323437 "rtsp.c:5105" Join watchdog thread.
         0.000166250 "rtsp.c:613" Connection 1: Watchdog Exit.
         0.000493594 "rtsp.c:5107" Delete watchdog mutex.
         0.000035365 "rtsp.c:5110" Connection 1: Closed.
         0.000014322 "rtsp.c:5320" Connection 1: RTSP thread exit.
         0.012000365 "rtsp.c:696" mutex_lock "&conns_lock".
         0.000077240 "rtsp.c:699" Found RTSP connection thread 1 in a non-running state.
         0.000019010 "rtsp.c:702" Connection 1: deleted in cleanup.
         0.000016563 "common.c:1687" mutex_unlock "&conns_lock" at "rtsp.c:712".
         0.000013125 "rtsp.c:723" Airplay Volume for new connections is -24.000000.
         0.000091354 "rtsp.c:5598" Connection 2: New connection from <owntone's ip>:46324 to self at <shairport-sync's ip>:7000.
         0.000165000 "rtsp.c:5614" Successfully created RTSP receiver thread 2.
         0.000017812 "rtsp.c:663" mutex_lock "&conns_lock".
         0.000014479 "common.c:1687" mutex_unlock "&conns_lock" at "rtsp.c:685".
         0.000913959 "rtsp.c:1321" Connection 2: Connection closed by client.
         0.000081510 "rtsp.c:5314" Connection 2: Terminate RTSP connection.
         0.000025052 "rtsp.c:5011" Connection 2: unspecified stream rtsp_conversation_thread_func_cleanup_function called.
         0.000014584 "rtsp.c:2641" Connection 2: TEARDOWN unspecified stream connection.
         0.000012291 "rtsp.c:5022" Connection 2: terminating  -- closing timing, control and audio sockets...
         0.000012396 "rtsp.c:5043" Connection 2: terminating -- closing RTSP connection socket 8: from <owntone's ip>:46324 to self at <shairport-sync's ip>:7000.
         0.000070260 "rtsp.c:5103" Cancel watchdog thread.
         0.000035000 "rtsp.c:5105" Join watchdog thread.
         0.000394844 "rtsp.c:613" Connection 2: Watchdog Exit.
         0.000292396 "rtsp.c:5107" Delete watchdog mutex.
         0.000018750 "rtsp.c:5110" Connection 2: Closed.
         0.000012552 "rtsp.c:5320" Connection 2: RTSP thread exit.
         0.460654219 "shairport.c:248" soxr_delay: 10065995 nanoseconds, soxr_delay_threshold: 30 milliseconds.
         0.000099843 "shairport.c:255" "soxr" interpolation has been chosen.
         0.686140677 "rtsp.c:696" mutex_lock "&conns_lock".
         0.000095677 "rtsp.c:699" Found RTSP connection thread 2 in a non-running state.
         0.000034740 "rtsp.c:702" Connection 2: deleted in cleanup.
         0.000031094 "common.c:1687" mutex_unlock "&conns_lock" at "rtsp.c:712".
         0.000024739 "rtsp.c:723" Airplay Volume for new connections is -24.000000.
         0.000153386 "rtsp.c:5598" Connection 3: New connection from <owntone's ip>:46338 to self at <shairport-sync's ip>:7000.
         0.000194791 "rtsp.c:5614" Successfully created RTSP receiver thread 3.
         0.000030313 "rtsp.c:663" mutex_lock "&conns_lock".
         0.000028594 "common.c:1687" mutex_unlock "&conns_lock" at "rtsp.c:685".
         0.000110416 "rtsp.c:1321" Connection 3: Connection closed by client.
         0.000807865 "rtsp.c:5314" Connection 3: Terminate RTSP connection.
         0.000240521 "rtsp.c:5011" Connection 3: unspecified stream rtsp_conversation_thread_func_cleanup_function called.
         0.000035312 "rtsp.c:2641" Connection 3: TEARDOWN unspecified stream connection.
         0.000025990 "rtsp.c:5022" Connection 3: terminating  -- closing timing, control and audio sockets...
         0.000023437 "rtsp.c:5043" Connection 3: terminating -- closing RTSP connection socket 8: from <owntone's ip>:46338 to self at <shairport-sync's ip>:7000.
         0.000109271 "rtsp.c:5103" Cancel watchdog thread.
         0.000049271 "rtsp.c:5105" Join watchdog thread.
         0.000172917 "rtsp.c:613" Connection 3: Watchdog Exit.
         0.000503229 "rtsp.c:5107" Delete watchdog mutex.
         0.000037552 "rtsp.c:5110" Connection 3: Closed.
         0.000026094 "rtsp.c:5320" Connection 3: RTSP thread exit.
         6.083688487 "rtsp.c:696" mutex_lock "&conns_lock".
         0.000090208 "rtsp.c:699" Found RTSP connection thread 3 in a non-running state.
         0.000036406 "rtsp.c:702" Connection 3: deleted in cleanup.
         0.000031355 "common.c:1687" mutex_unlock "&conns_lock" at "rtsp.c:712".
         0.000025104 "rtsp.c:723" Airplay Volume for new connections is -24.000000.
         0.000139166 "rtsp.c:5598" Connection 4: New connection from <home-assistant's ip>:41836 to self at <shairport-sync's ip>:7000.
         0.000180730 "rtsp.c:5614" Successfully created RTSP receiver thread 4.
         0.000029479 "rtsp.c:663" mutex_lock "&conns_lock".
         0.000027031 "common.c:1687" mutex_unlock "&conns_lock" at "rtsp.c:685".
         0.015109688 "rtsp.c:773" msg_init message 1
         0.000124739 "rtsp.c:882" RTSP Message Received: "GET /info RTSP/1.0".
         0.000070781 "rtsp.c:913"     User-Agent: AirPlay/550.10.
         0.000030938 "rtsp.c:913"     CSeq: 0.
         0.000027760 "rtsp.c:913"     DACP-ID: 8A9723A0C0D66C27.
         0.000028334 "rtsp.c:913"     Active-Remote: 3030146289.
         0.000026302 "rtsp.c:913"     Client-Instance: 8A9723A0C0D66C27.
         0.000030364 "rtsp.c:773" msg_init message 2
         0.000039427 "rtsp.c:5182" Connection 4: Received an RTSP Packet of type "GET":
         0.000026980 "rtsp.c:5184"   Type: "User-Agent", content: "AirPlay/550.10"
         0.000022083 "rtsp.c:5184"   Type: "CSeq", content: "0"
         0.000022448 "rtsp.c:5184"   Type: "DACP-ID", content: "8A9723A0C0D66C27"
         0.000021614 "rtsp.c:5184"   Type: "Active-Remote", content: "3030146289"
         0.000021875 "rtsp.c:5184"   Type: "Client-Instance", content: "8A9723A0C0D66C27"
         0.000022240 "rtsp.c:5184"   No Content Plist. Content length: 0.
         0.000031146 "rtsp.c:2021" Connection 4: GET /info :: Content-Length 0
         0.000023958 "rtsp.c:2023" GET request
         0.000020104 "rtsp.c:2023"   Type: "User-Agent", content: "AirPlay/550.10"
         0.000021459 "rtsp.c:2023"   Type: "CSeq", content: "0"
         0.000021041 "rtsp.c:2023"   Type: "DACP-ID", content: "8A9723A0C0D66C27"
         0.000021459 "rtsp.c:2023"   Type: "Active-Remote", content: "3030146289"
         0.000021354 "rtsp.c:2023"   Type: "Client-Instance", content: "8A9723A0C0D66C27"
         0.000021771 "rtsp.c:2023"   No Content Plist. Content length: 0.
         0.000025989 "rtsp.c:1664" GET /info:
         0.000020573 "rtsp.c:1664"   Type: "User-Agent", content: "AirPlay/550.10"
         0.000021302 "rtsp.c:1664"   Type: "CSeq", content: "0"
         0.000020938 "rtsp.c:1664"   Type: "DACP-ID", content: "8A9723A0C0D66C27"
         0.000021093 "rtsp.c:1664"   Type: "Active-Remote", content: "3030146289"
         0.000021250 "rtsp.c:1664"   Type: "Client-Instance", content: "8A9723A0C0D66C27"
         0.000021667 "rtsp.c:1664"   No Content Plist. Content length: 0.
         0.000809063 "rtsp.c:1803" GET /info Stage 2 Response
         0.000032031 "rtsp.c:1803"   Response Code: 501.
         0.000023958 "rtsp.c:1803"   Type: "CSeq", content: "0"
         0.000022188 "rtsp.c:1803"   Type: "Server", content: "AirTunes/366.0"
         0.000021927 "rtsp.c:1803"   Type: "Content-Type", content: "application/x-apple-binary-plist"
         0.000454166 "rtsp.c:1803"   Content Plist (as XML):
--
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>audioLatencies</key>
    <array>
        <dict>
            <key>inputLatencyMicros</key>
            <integer>0</integer>
            <key>outputLatencyMicros</key>
            <integer>400000</integer>
            <key>type</key>
            <integer>100</integer>
        </dict>
        <dict>
            <key>audioType</key>
            <string>default</string>
            <key>inputLatencyMicros</key>
            <integer>0</integer>
            <key>outputLatencyMicros</key>
            <integer>400000</integer>
            <key>type</key>
            <integer>100</integer>
        </dict>
        <dict>
            <key>audioType</key>
            <string>media</string>
            <key>inputLatencyMicros</key>
            <integer>0</integer>
            <key>outputLatencyMicros</key>
            <integer>400000</integer>
            <key>type</key>
            <integer>100</integer>
        </dict>
        <dict>
            <key>audioType</key>
            <string>media</string>
            <key>inputLatencyMicros</key>
            <integer>0</integer>
            <key>outputLatencyMicros</key>
            <integer>400000</integer>
            <key>type</key>
            <integer>102</integer>
        </dict>
    </array>
    <key>keepAliveLowPower</key>
    <true/>
    <key>keepAliveSendStatsAsBody</key>
    <true/>
    <key>manufacturer</key>
    <string>Shairport Sync</string>
    <key>nameIsFactoryDefault</key>
    <false/>
    <key>protocolVersion</key>
    <string>1.1</string>
    <key>sdk</key>
    <string>AirPlay;2.0.2</string>
    <key>sourceVersion</key>
    <string>366.0</string>
    <key>statusFlags</key>
    <integer>4</integer>
    <key>features</key>
    <integer>496155701824000</integer>
    <key>deviceID</key>
    <string>b8:27:eb:aa:d0:49</string>
    <key>pi</key>
    <string>bf840900-6b02-49f4-92ee-c653d6595343</string>
    <key>name</key>
    <string>Kitchen Tivoli</string>
    <key>model</key>
    <string>Shairport Sync</string>
</dict>
</plist>
--
         0.000084011 "rtsp.c:5243" Connection 4: RTSP Response:
         0.000027552 "rtsp.c:5244"   Response Code: 200.
         0.000021510 "rtsp.c:5244"   Type: "CSeq", content: "0"
         0.000021250 "rtsp.c:5244"   Type: "Server", content: "AirTunes/366.0"
         0.000021302 "rtsp.c:5244"   Type: "Content-Type", content: "application/x-apple-binary-plist"
         0.000401459 "rtsp.c:5244"   Content Plist (as XML):
--
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>audioLatencies</key>
    <array>
        <dict>
            <key>inputLatencyMicros</key>
            <integer>0</integer>
            <key>outputLatencyMicros</key>
            <integer>400000</integer>
            <key>type</key>
            <integer>100</integer>
        </dict>
        <dict>
            <key>audioType</key>
            <string>default</string>
            <key>inputLatencyMicros</key>
            <integer>0</integer>
            <key>outputLatencyMicros</key>
            <integer>400000</integer>
            <key>type</key>
            <integer>100</integer>
        </dict>
        <dict>
            <key>audioType</key>
            <string>media</string>
            <key>inputLatencyMicros</key>
            <integer>0</integer>
            <key>outputLatencyMicros</key>
            <integer>400000</integer>
            <key>type</key>
            <integer>100</integer>
        </dict>
        <dict>
            <key>audioType</key>
            <string>media</string>
            <key>inputLatencyMicros</key>
            <integer>0</integer>
            <key>outputLatencyMicros</key>
            <integer>400000</integer>
            <key>type</key>
            <integer>102</integer>
        </dict>
    </array>
    <key>keepAliveLowPower</key>
    <true/>
    <key>keepAliveSendStatsAsBody</key>
    <true/>
    <key>manufacturer</key>
    <string>Shairport Sync</string>
    <key>nameIsFactoryDefault</key>
    <false/>
    <key>protocolVersion</key>
    <string>1.1</string>
    <key>sdk</key>
    <string>AirPlay;2.0.2</string>
    <key>sourceVersion</key>
    <string>366.0</string>
    <key>statusFlags</key>
    <integer>4</integer>
    <key>features</key>
    <integer>496155701824000</integer>
    <key>deviceID</key>
    <string>b8:27:eb:aa:d0:49</string>
    <key>pi</key>
    <string>bf840900-6b02-49f4-92ee-c653d6595343</string>
    <key>name</key>
    <string>Kitchen Tivoli</string>
    <key>model</key>
    <string>Shairport Sync</string>
</dict>
</plist>
--
         0.000053281 "rtsp.c:1522" Responding with content of length 577
         0.000146458 "rtsp.c:858" msg_free freed message 2
         0.000036407 "rtsp.c:858" msg_free freed message 1
         0.111928437 "rtsp.c:773" msg_init message 3
         0.000064479 "rtsp.c:882" RTSP Message Received: "POST /pair-pin-start HTTP/1.1".
         0.000029636 "rtsp.c:924" msg_handle_line fail
         0.000020208 "rtsp.c:858" msg_free freed message 3
         0.000019479 "rtsp.c:1371" Connection 4: rtsp_read_request can't find an RTSP header.
         0.006101563 "rtsp.c:1321" Connection 4: Connection closed by client.
         0.000051250 "rtsp.c:5314" Connection 4: Terminate RTSP connection.
         0.000024895 "rtsp.c:5011" Connection 4: unspecified stream rtsp_conversation_thread_func_cleanup_function called.
         0.000022136 "rtsp.c:2641" Connection 4: TEARDOWN unspecified stream connection.
         0.000020469 "rtsp.c:5022" Connection 4: terminating  -- closing timing, control and audio sockets...
         0.000019531 "rtsp.c:5043" Connection 4: terminating -- closing RTSP connection socket 8: from <home-assistant's ip>:41836 to self at <shairport-sync's ip>:7000.
         0.000089844 "rtsp.c:5103" Cancel watchdog thread.
         0.000050520 "rtsp.c:5105" Join watchdog thread.
         0.000156042 "rtsp.c:613" Connection 4: Watchdog Exit.
         0.000243333 "rtsp.c:5107" Delete watchdog mutex.
         0.000027084 "rtsp.c:5110" Connection 4: Closed.
         0.000021875 "rtsp.c:5320" Connection 4: RTSP thread exit.

System Information.

RPi 3 model B Rev 1.2 Rasbian bullseye 6.1.21-v7+ Output device - headphone jack home assitant 2023.9.3

Configuration Information.

4.3.1-24-g7e0e3af6-AirPlay2-smi10-OpenSSL-Avahi-ALSA-soxr-sysconfdir:/etc

PulseAudio or PipeWire installed?

How did you install Shairport Sync?

Built from source

Check previous issues

mikebrady commented 1 year ago

Thanks for the interesting post. It seems that Home Assistant is using pyatv to do remote control of AirPlay devices, but unfortunately, Shairport Sync just doesn't recognise any of the recent AirPlay remote control protocols.

It's one of those things that would be really nice to have, but Apple has not published anything about them, and so making progress is very difficult indeed.

ddppddpp commented 1 year ago

I understand how this is a challenge. I’m going to check further with pyatv.

djsomi commented 9 months ago

Thanks for this post, this is what I am looking for also. I know its complicated, but did any of you get forward on this?

Thanks!