Skip to content

Start listener without starting shairport-sync? #2

@domb84

Description

@domb84

This library seems great and does nearly exactly what I require, but I already have a service that controls shairport. When I start the listener using the below, it starts it's own shairport-sync daemon that then conflicts with my existing service.

Is there an option to just read the pipe? I can't find an example for that. I've tried all the listener options and it always starts up it's own daemon.

    def listener(self):
        listener = AirplayPipeListener()
        listener.bind(track_info=self.on_track_info)  # receive callbacks for metadata changes
        listener.start_listening()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions