Skip to content

Airplay 2 -- run_this_before_entering_active_state sometimes gets run twice #1440

Closed
@ben-willmore

Description

During repeated tests for #1430, I noticed that, with Airplay 2 only, my run_this_before_entering_active_state script sometimes gets run twice, even though playback is only initiated once:

ben@pi-dining:~ $ ./shairport-sync-airplay2/shairport-sync -c ./precision-timing-off.conf
Switching on socket 1
^Cben@pi-dining:~ $ ./shairport-sync-airplay2/shairport-sync -c ./precision-timing-off.conf
Switching on socket 1
^Cben@pi-dining:~ $ ./shairport-sync-airplay2/shairport-sync -c ./precision-timing-off.conf
Switching on socket 1
Switching on socket 1

(The Switching on socket 1 message is produced by my script.)

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions