You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
'PlexSonosClient' object has no attribute '_timeout' #1490
Using the code snippet from the front page I can retrieve my sonos speaker and I was originally able to control it, but for some days whenever I try to execute a command I am facing the following error:
AttributeError: 'PlexSonosClient' object has no attribute '_timeout'
Code Snippets
fromplexapi.mypleximportMyPlexAccountfromplexapi.serverimportPlexServeraccount=MyPlexAccount('<EMAIL>', '<PASSWORD>')
plex=account.resource('<PLEXINSTANCE>').connect()
# List available speakers/groupsforspeakerinaccount.sonos_speakers():
print(speaker.title)
speaker.stop()
Expected Behavior
Stop playing music on (any) sonos speaker.
Additional Context
Tested this on a raspberry (with python 3.12.3) and from another ubuntu (python 3.11.11). Same error on all instances.
Activity
JonnyWong16 commentedon Dec 20, 2024
There is already PR #1489 to fix this.