Skip to content

Instantly share code, notes, and snippets.

@FleXoft
Created January 22, 2022 16:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FleXoft/b3ecd515855949e8bc49d0ef413191c7 to your computer and use it in GitHub Desktop.
Save FleXoft/b3ecd515855949e8bc49d0ef413191c7 to your computer and use it in GitHub Desktop.
import soco
from soco import SoCo
speaker_list = list(soco.discovery.scan_network())
speaker_list[0].player_name
speaker_list[0].mute
speaker_list[0].mute()
speaker_list[0]
my_zone = SoCo('192.168.0.2')
my_zone.mute
my_zone.loudness
my_zone.trueplay
my_zone.is_soundbar
my_zone.cross_fade
my_zone.treble
my_zone.bass
my_zone.balance
my_zone.deviceProperties
my_zone.deviceProperties.actions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment