Skip to content

How to use it #26

Open
Open
@mbrebion

Description

@mbrebion

Hi,
I'm using snapcast for a multiroom audio setup (3 RPIs)
Audio is provided by mpd and I get good results with the combo snapserver on the master pi and snapclients everywhere (meaning I hear synchronized music everywhere)

Now I want to control the volume in each room and I think your library can help but when I test your code on the master pi while running snapserver/client and playing music, I get :

import snapcast.control
server = snapcast.control.Snapserver('localhost', snapcast.control.CONTROL_PORT)
server.clients
[]

Am I suppose to change localhost by something else ?

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