Skip to content

Sonos device discovery #11

@lgousenbourger123

Description

@lgousenbourger123

Hello,

I installed the library and start using it.

I don't succeed to run discovery like it is documented:
List devices = SonosDiscovery.discover();

My program runs infinitely at this line and never discover anything.

But when I access directly a Sonos device by its IP address, it works fine.
SonosDevice sonos = new SonosDevice("192.168.0.3");

It seems that the SonosDevice constructor is deprecated. Why is it deprecated?
If I set a fix IP address (via my router address reservation), I don't need the discovery and I can instantiate a device base on its IP address.

Is it a problem with the UPNP discovery?

Thanks,
Laurent

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