Open FlyingDiver opened 1 year ago
Interactive Terminal output:
Python 3.10.2 (v3.10.2:a58ebcc701, Jan 13 2022, 14:50:16) [Clang 13.0.0 (clang-1300.0.29.30)]
Connected to Indigo Server v2023.1.0, api v3.3 (localhost:1176)
Started Plugin Sonos v2023.0.27
>>> $ ip_address:
$ 192.168.111.242:
$ speaker_info:
$ {}:
$ avTransport:
$ soco: <SoCo object at ip 192.168.111.242>
$ service_type: AVTransport
$ version: 1
$ service_id: AVTransport
$ base_url: http://192.168.111.242:1400
$ control_url: /MediaRenderer/AVTransport/Control
$ scpd_url: /xml/AVTransport1.xml
$ event_subscription_url: /MediaRenderer/AVTransport/Event
$ cache: <soco.cache.TimedCache object at 0x10b31e1d0>
$ _actions: None
$ _event_vars: None
$ UPNP_ERRORS: {400: 'Bad Request', 401: 'Invalid Action', 402: 'Invalid Args', 404: 'Invalid Var', 412: 'Precondition Failed', 501: 'Action Failed', 600: 'Argument Value Invalid', 601: 'Argument Value Out of Range', 602: 'Optional Action Not Implemented', 603: 'Out Of Memory', 604: 'Human Intervention Required', 605: 'String Argument Too Long', 606: 'Action Not Authorized', 607: 'Signature Failure', 608: 'Signature Missing', 609: 'Not Encrypted', 610: 'Invalid Sequence', 611: 'Invalid Control URL', 612: 'No Such Session', 701: 'Transition not available', 702: 'No contents', 703: 'Read error', 704: 'Format not supported for playback', 705: 'Transport is locked', 706: 'Write error', 707: 'Media is protected or not writeable', 708: 'Format not supported for recording', 709: 'Media is full', 710: 'Seek mode not supported', 711: 'Illegal seek target', 712: 'Play mode not supported', 713: 'Record quality not supported', 714: 'Illegal MIME-Type', 715: 'Content "BUSY"', 716: 'Resource Not found', 717: 'Play speed not supported', 718: 'Invalid InstanceID', 737: 'No DNS Server', 738: 'Bad Domain Name', 739: 'Server Error'}
$ DEFAULT_ARGS: {'InstanceID': 0}
$ contentDirectory:
$ soco: <SoCo object at ip 192.168.111.242>
$ service_type: ContentDirectory
$ version: 1
$ service_id: ContentDirectory
$ base_url: http://192.168.111.242:1400
$ control_url: /MediaServer/ContentDirectory/Control
$ scpd_url: /xml/ContentDirectory1.xml
$ event_subscription_url: /MediaServer/ContentDirectory/Event
$ cache: <soco.cache.TimedCache object at 0x10b31e050>
$ _actions: None
$ _event_vars: None
$ UPNP_ERRORS: {400: 'Bad Request', 401: 'Invalid Action', 402: 'Invalid Args', 404: 'Invalid Var', 412: 'Precondition Failed', 501: 'Action Failed', 600: 'Argument Value Invalid', 601: 'Argument Value Out of Range', 602: 'Optional Action Not Implemented', 603: 'Out Of Memory', 604: 'Human Intervention Required', 605: 'String Argument Too Long', 606: 'Action Not Authorized', 607: 'Signature Failure', 608: 'Signature Missing', 609: 'Not Encrypted', 610: 'Invalid Sequence', 611: 'Invalid Control URL', 612: 'No Such Session', 701: 'No such object', 702: 'Invalid CurrentTagValue', 703: 'Invalid NewTagValue', 704: 'Required tag', 705: 'Read only tag', 706: 'Parameter Mismatch', 708: 'Unsupported or invalid search criteria', 709: 'Unsupported or invalid sort criteria', 710: 'No such container', 711: 'Restricted object', 712: 'Bad metadata', 713: 'Restricted parent object', 714: 'No such source resource', 715: 'Resource access denied', 716: 'Transfer busy', 717: 'No such file transfer', 718: 'No such destination resource', 719: 'Destination resource access denied', 720: 'Cannot process the request'}
$ DEFAULT_ARGS: {}
$ deviceProperties:
$ soco: <SoCo object at ip 192.168.111.242>
$ service_type: DeviceProperties
$ version: 1
$ service_id: DeviceProperties
$ base_url: http://192.168.111.242:1400
$ control_url: /DeviceProperties/Control
$ scpd_url: /xml/DeviceProperties1.xml
$ event_subscription_url: /DeviceProperties/Event
$ cache: <soco.cache.TimedCache object at 0x108e39f90>
$ _actions: [Action(name='SetLEDState', in_args=[Argument(name='DesiredLEDState', vartype=Vartype(datatype='string', default=None, list=['On', 'Off'], range=None))], out_args=[]), Action(name='GetLEDState', in_args=[], out_args=[Argument(name='CurrentLEDState', vartype=Vartype(datatype='string', default=None, list=['On', 'Off'], range=None))]), Action(name='AddBondedZones', in_args=[Argument(name='ChannelMapSet', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[]), Action(name='RemoveBondedZones', in_args=[Argument(name='ChannelMapSet', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='KeepGrouped', vartype=Vartype(datatype='boolean', default=None, list=None, range=None))], out_args=[]), Action(name='CreateStereoPair', in_args=[Argument(name='ChannelMapSet', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[]), Action(name='SeparateStereoPair', in_args=[Argument(name='ChannelMapSet', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[]), Action(name='SetZoneAttributes', in_args=[Argument(name='DesiredZoneName', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='DesiredIcon', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='DesiredConfiguration', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='DesiredTargetRoomName', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[]), Action(name='GetZoneAttributes', in_args=[], out_args=[Argument(name='CurrentZoneName', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='CurrentIcon', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='CurrentConfiguration', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='CurrentTargetRoomName', vartype=Vartype(datatype='string', default=None, list=None, range=None))]), Action(name='GetHouseholdID', in_args=[], out_args=[Argument(name='CurrentHouseholdID', vartype=Vartype(datatype='string', default=None, list=None, range=None))]), Action(name='GetZoneInfo', in_args=[], out_args=[Argument(name='SerialNumber', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='SoftwareVersion', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='DisplaySoftwareVersion', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='HardwareVersion', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='IPAddress', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='MACAddress', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='CopyrightInfo', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='ExtraInfo', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='HTAudioIn', vartype=Vartype(datatype='ui4', default=None, list=None, range=None)), Argument(name='Flags', vartype=Vartype(datatype='ui4', default=None, list=None, range=None))]), Action(name='SetAutoplayLinkedZones', in_args=[Argument(name='IncludeLinkedZones', vartype=Vartype(datatype='boolean', default=None, list=None, range=None)), Argument(name='Source', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[]), Action(name='GetAutoplayLinkedZones', in_args=[Argument(name='Source', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[Argument(name='IncludeLinkedZones', vartype=Vartype(datatype='boolean', default=None, list=None, range=None))]), Action(name='SetAutoplayRoomUUID', in_args=[Argument(name='RoomUUID', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='Source', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[]), Action(name='GetAutoplayRoomUUID', in_args=[Argument(name='Source', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[Argument(name='RoomUUID', vartype=Vartype(datatype='string', default=None, list=None, range=None))]), Action(name='SetAutoplayVolume', in_args=[Argument(name='Volume', vartype=Vartype(datatype='ui2', default=None, list=None, range=['0', '100', '1'])), Argument(name='Source', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[]), Action(name='GetAutoplayVolume', in_args=[Argument(name='Source', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[Argument(name='CurrentVolume', vartype=Vartype(datatype='ui2', default=None, list=None, range=['0', '100', '1']))]), Action(name='SetUseAutoplayVolume', in_args=[Argument(name='UseVolume', vartype=Vartype(datatype='boolean', default=None, list=None, range=None)), Argument(name='Source', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[]), Action(name='GetUseAutoplayVolume', in_args=[Argument(name='Source', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[Argument(name='UseVolume', vartype=Vartype(datatype='boolean', default=None, list=None, range=None))]), Action(name='AddHTSatellite', in_args=[Argument(name='HTSatChanMapSet', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[]), Action(name='RemoveHTSatellite', in_args=[Argument(name='SatRoomUUID', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[]), Action(name='EnterConfigMode', in_args=[Argument(name='Mode', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='Options', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[Argument(name='State', vartype=Vartype(datatype='string', default=None, list=None, range=None))]), Action(name='ExitConfigMode', in_args=[Argument(name='Options', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[]), Action(name='GetButtonState', in_args=[], out_args=[Argument(name='State', vartype=Vartype(datatype='string', default=None, list=None, range=None))]), Action(name='GetHTForwardState', in_args=[], out_args=[Argument(name='IsHTForwardEnabled', vartype=Vartype(datatype='boolean', default=None, list=None, range=None))]), Action(name='SetButtonLockState', in_args=[Argument(name='DesiredButtonLockState', vartype=Vartype(datatype='string', default=None, list=['On', 'Off'], range=None))], out_args=[]), Action(name='GetButtonLockState', in_args=[], out_args=[Argument(name='CurrentButtonLockState', vartype=Vartype(datatype='string', default=None, list=['On', 'Off'], range=None))]), Action(name='RoomDetectionStartChirping', in_args=[Argument(name='Channel', vartype=Vartype(datatype='ui2', default=None, list=None, range=['0', '7', '1'])), Argument(name='DurationMilliseconds', vartype=Vartype(datatype='ui4', default=None, list=None, range=None)), Argument(name='ChirpIfPlayingSwappableAudio', vartype=Vartype(datatype='boolean', default=None, list=None, range=None))], out_args=[Argument(name='PlayId', vartype=Vartype(datatype='ui4', default=None, list=None, range=None))]), Action(name='RoomDetectionStopChirping', in_args=[Argument(name='PlayId', vartype=Vartype(datatype='ui4', default=None, list=None, range=None))], out_args=[])]
$ _event_vars: None
$ UPNP_ERRORS: {400: 'Bad Request', 401: 'Invalid Action', 402: 'Invalid Args', 404: 'Invalid Var', 412: 'Precondition Failed', 501: 'Action Failed', 600: 'Argument Value Invalid', 601: 'Argument Value Out of Range', 602: 'Optional Action Not Implemented', 603: 'Out Of Memory', 604: 'Human Intervention Required', 605: 'String Argument Too Long', 606: 'Action Not Authorized', 607: 'Signature Failure', 608: 'Signature Missing', 609: 'Not Encrypted', 610: 'Invalid Sequence', 611: 'Invalid Control URL', 612: 'No Such Session'}
$ DEFAULT_ARGS: {}
$ GetHouseholdID: <bound method Service.__getattr__.<locals>._dispatcher of <soco.services.DeviceProperties object at 0x10b31e0b0>>
$ renderingControl:
$ soco: <SoCo object at ip 192.168.111.242>
$ service_type: RenderingControl
$ version: 1
$ service_id: RenderingControl
$ base_url: http://192.168.111.242:1400
$ control_url: /MediaRenderer/RenderingControl/Control
$ scpd_url: /xml/RenderingControl1.xml
$ event_subscription_url: /MediaRenderer/RenderingControl/Event
$ cache: <soco.cache.TimedCache object at 0x10b3874c0>
$ _actions: None
$ _event_vars: None
$ UPNP_ERRORS: {400: 'Bad Request', 401: 'Invalid Action', 402: 'Invalid Args', 404: 'Invalid Var', 412: 'Precondition Failed', 501: 'Action Failed', 600: 'Argument Value Invalid', 601: 'Argument Value Out of Range', 602: 'Optional Action Not Implemented', 603: 'Out Of Memory', 604: 'Human Intervention Required', 605: 'String Argument Too Long', 606: 'Action Not Authorized', 607: 'Signature Failure', 608: 'Signature Missing', 609: 'Not Encrypted', 610: 'Invalid Sequence', 611: 'Invalid Control URL', 612: 'No Such Session'}
$ DEFAULT_ARGS: {'InstanceID': 0}
$ groupRenderingControl:
$ soco: <SoCo object at ip 192.168.111.242>
$ service_type: GroupRenderingControl
$ version: 1
$ service_id: GroupRenderingControl
$ base_url: http://192.168.111.242:1400
$ control_url: /MediaRenderer/GroupRenderingControl/Control
$ scpd_url: /xml/GroupRenderingControl1.xml
$ event_subscription_url: /MediaRenderer/GroupRenderingControl/Event
$ cache: <soco.cache.TimedCache object at 0x10b387370>
$ _actions: None
$ _event_vars: None
$ UPNP_ERRORS: {400: 'Bad Request', 401: 'Invalid Action', 402: 'Invalid Args', 404: 'Invalid Var', 412: 'Precondition Failed', 501: 'Action Failed', 600: 'Argument Value Invalid', 601: 'Argument Value Out of Range', 602: 'Optional Action Not Implemented', 603: 'Out Of Memory', 604: 'Human Intervention Required', 605: 'String Argument Too Long', 606: 'Action Not Authorized', 607: 'Signature Failure', 608: 'Signature Missing', 609: 'Not Encrypted', 610: 'Invalid Sequence', 611: 'Invalid Control URL', 612: 'No Such Session'}
$ DEFAULT_ARGS: {'InstanceID': 0}
$ zoneGroupTopology:
$ soco: <SoCo object at ip 192.168.111.242>
$ service_type: ZoneGroupTopology
$ version: 1
$ service_id: ZoneGroupTopology
$ base_url: http://192.168.111.242:1400
$ control_url: /ZoneGroupTopology/Control
$ scpd_url: /xml/ZoneGroupTopology1.xml
$ event_subscription_url: /ZoneGroupTopology/Event
$ cache: <soco.cache.TimedCache object at 0x10b387460>
$ _actions: [Action(name='CheckForUpdate', in_args=[Argument(name='UpdateType', vartype=Vartype(datatype='string', default=None, list=['All', 'Software'], range=None)), Argument(name='CachedOnly', vartype=Vartype(datatype='boolean', default=None, list=None, range=None)), Argument(name='Version', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[Argument(name='UpdateItem', vartype=Vartype(datatype='string', default=None, list=None, range=None))]), Action(name='BeginSoftwareUpdate', in_args=[Argument(name='UpdateURL', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='Flags', vartype=Vartype(datatype='ui4', default=None, list=None, range=None)), Argument(name='ExtraOptions', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[]), Action(name='ReportUnresponsiveDevice', in_args=[Argument(name='DeviceUUID', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='DesiredAction', vartype=Vartype(datatype='string', default=None, list=['Remove', 'TopologyMonitorProbe', 'VerifyThenRemoveSystemwide'], range=None))], out_args=[]), Action(name='SubmitDiagnostics', in_args=[Argument(name='IncludeControllers', vartype=Vartype(datatype='boolean', default=None, list=None, range=None)), Argument(name='Type', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[Argument(name='DiagnosticID', vartype=Vartype(datatype='ui4', default=None, list=None, range=None))]), Action(name='RegisterMobileDevice', in_args=[Argument(name='MobileDeviceName', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='MobileDeviceUDN', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='MobileIPAndPort', vartype=Vartype(datatype='string', default=None, list=None, range=None))], out_args=[]), Action(name='GetZoneGroupAttributes', in_args=[], out_args=[Argument(name='CurrentZoneGroupName', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='CurrentZoneGroupID', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='CurrentZonePlayerUUIDsInGroup', vartype=Vartype(datatype='string', default=None, list=None, range=None)), Argument(name='CurrentMuseHouseholdId', vartype=Vartype(datatype='string', default=None, list=None, range=None))]), Action(name='GetZoneGroupState', in_args=[], out_args=[Argument(name='ZoneGroupState', vartype=Vartype(datatype='string', default=None, list=None, range=None))])]
$ _event_vars: None
$ UPNP_ERRORS: {400: 'Bad Request', 401: 'Invalid Action', 402: 'Invalid Args', 404: 'Invalid Var', 412: 'Precondition Failed', 501: 'Action Failed', 600: 'Argument Value Invalid', 601: 'Argument Value Out of Range', 602: 'Optional Action Not Implemented', 603: 'Out Of Memory', 604: 'Human Intervention Required', 605: 'String Argument Too Long', 606: 'Action Not Authorized', 607: 'Signature Failure', 608: 'Signature Missing', 609: 'Not Encrypted', 610: 'Invalid Sequence', 611: 'Invalid Control URL', 612: 'No Such Session'}
$ DEFAULT_ARGS: {}
$ GetZoneGroupState: <bound method Service.__getattr__.<locals>._dispatcher of <soco.services.ZoneGroupTopology object at 0x10b3873d0>>
$ alarmClock:
$ soco: <SoCo object at ip 192.168.111.242>
$ service_type: AlarmClock
$ version: 1
$ service_id: AlarmClock
$ base_url: http://192.168.111.242:1400
$ control_url: /AlarmClock/Control
$ scpd_url: /xml/AlarmClock1.xml
$ event_subscription_url: /AlarmClock/Event
$ cache: <soco.cache.TimedCache object at 0x10b3872b0>
$ _actions: None
$ _event_vars: None
$ UPNP_ERRORS: {400: 'Bad Request', 401: 'Invalid Action', 402: 'Invalid Args', 404: 'Invalid Var', 412: 'Precondition Failed', 501: 'Action Failed', 600: 'Argument Value Invalid', 601: 'Argument Value Out of Range', 602: 'Optional Action Not Implemented', 603: 'Out Of Memory', 604: 'Human Intervention Required', 605: 'String Argument Too Long', 606: 'Action Not Authorized', 607: 'Signature Failure', 608: 'Signature Missing', 609: 'Not Encrypted', 610: 'Invalid Sequence', 611: 'Invalid Control URL', 612: 'No Such Session', 801: 'Already an alarm for this time'}
$ DEFAULT_ARGS: {}
$ systemProperties:
$ soco: <SoCo object at ip 192.168.111.242>
$ service_type: SystemProperties
$ version: 1
$ service_id: SystemProperties
$ base_url: http://192.168.111.242:1400
$ control_url: /SystemProperties/Control
$ scpd_url: /xml/SystemProperties1.xml
$ event_subscription_url: /SystemProperties/Event
$ cache: <soco.cache.TimedCache object at 0x10b3872e0>
$ _actions: None
$ _event_vars: None
$ UPNP_ERRORS: {400: 'Bad Request', 401: 'Invalid Action', 402: 'Invalid Args', 404: 'Invalid Var', 412: 'Precondition Failed', 501: 'Action Failed', 600: 'Argument Value Invalid', 601: 'Argument Value Out of Range', 602: 'Optional Action Not Implemented', 603: 'Out Of Memory', 604: 'Human Intervention Required', 605: 'String Argument Too Long', 606: 'Action Not Authorized', 607: 'Signature Failure', 608: 'Signature Missing', 609: 'Not Encrypted', 610: 'Invalid Sequence', 611: 'Invalid Control URL', 612: 'No Such Session'}
$ DEFAULT_ARGS: {}
$ musicServices:
$ soco: <SoCo object at ip 192.168.111.242>
$ service_type: MusicServices
$ version: 1
$ service_id: MusicServices
$ base_url: http://192.168.111.242:1400
$ control_url: /MusicServices/Control
$ scpd_url: /xml/MusicServices1.xml
$ event_subscription_url: /MusicServices/Event
$ cache: <soco.cache.TimedCache object at 0x10b387190>
$ _actions: None
$ _event_vars: None
$ UPNP_ERRORS: {400: 'Bad Request', 401: 'Invalid Action', 402: 'Invalid Args', 404: 'Invalid Var', 412: 'Precondition Failed', 501: 'Action Failed', 600: 'Argument Value Invalid', 601: 'Argument Value Out of Range', 602: 'Optional Action Not Implemented', 603: 'Out Of Memory', 604: 'Human Intervention Required', 605: 'String Argument Too Long', 606: 'Action Not Authorized', 607: 'Signature Failure', 608: 'Signature Missing', 609: 'Not Encrypted', 610: 'Invalid Sequence', 611: 'Invalid Control URL', 612: 'No Such Session'}
$ DEFAULT_ARGS: {}
$ audioIn:
$ soco: <SoCo object at ip 192.168.111.242>
$ service_type: AudioIn
$ version: 1
$ service_id: AudioIn
$ base_url: http://192.168.111.242:1400
$ control_url: /AudioIn/Control
$ scpd_url: /xml/AudioIn1.xml
$ event_subscription_url: /AudioIn/Event
$ cache: <soco.cache.TimedCache object at 0x10b3871c0>
$ _actions: None
$ _event_vars: None
$ UPNP_ERRORS: {400: 'Bad Request', 401: 'Invalid Action', 402: 'Invalid Args', 404: 'Invalid Var', 412: 'Precondition Failed', 501: 'Action Failed', 600: 'Argument Value Invalid', 601: 'Argument Value Out of Range', 602: 'Optional Action Not Implemented', 603: 'Out Of Memory', 604: 'Human Intervention Required', 605: 'String Argument Too Long', 606: 'Action Not Authorized', 607: 'Signature Failure', 608: 'Signature Missing', 609: 'Not Encrypted', 610: 'Invalid Sequence', 611: 'Invalid Control URL', 612: 'No Such Session'}
$ DEFAULT_ARGS: {}
$ music_library:
$ soco: <SoCo object at ip 192.168.111.242>
$ contentDirectory: <soco.services.ContentDirectory object at 0x10b31e5c0>
$ queue:
$ soco: <SoCo object at ip 192.168.111.242>
$ service_type: Queue
$ version: 1
$ service_id: Queue
$ base_url: http://192.168.111.242:1400
$ control_url: /MediaRenderer/Queue/Control
$ scpd_url: /xml/Queue1.xml
$ event_subscription_url: /MediaRenderer/Queue/Event
$ cache: <soco.cache.TimedCache object at 0x10b386fb0>
$ _actions: None
$ _event_vars: None
$ UPNP_ERRORS: {400: 'Bad Request', 401: 'Invalid Action', 402: 'Invalid Args', 404: 'Invalid Var', 412: 'Precondition Failed', 501: 'Action Failed', 600: 'Argument Value Invalid', 601: 'Argument Value Out of Range', 602: 'Optional Action Not Implemented', 603: 'Out Of Memory', 604: 'Human Intervention Required', 605: 'String Argument Too Long', 606: 'Action Not Authorized', 607: 'Signature Failure', 608: 'Signature Missing', 609: 'Not Encrypted', 610: 'Invalid Sequence', 611: 'Invalid Control URL', 612: 'No Such Session'}
$ DEFAULT_ARGS: {}
$ groupManagement:
$ soco: <SoCo object at ip 192.168.111.242>
$ service_type: GroupManagement
$ version: 1
$ service_id: GroupManagement
$ base_url: http://192.168.111.242:1400
$ control_url: /GroupManagement/Control
$ scpd_url: /xml/GroupManagement1.xml
$ event_subscription_url: /GroupManagement/Event
$ cache: <soco.cache.TimedCache object at 0x10b386fe0>
$ _actions: None
$ _event_vars: None
$ UPNP_ERRORS: {400: 'Bad Request', 401: 'Invalid Action', 402: 'Invalid Args', 404: 'Invalid Var', 412: 'Precondition Failed', 501: 'Action Failed', 600: 'Argument Value Invalid', 601: 'Argument Value Out of Range', 602: 'Optional Action Not Implemented', 603: 'Out Of Memory', 604: 'Human Intervention Required', 605: 'String Argument Too Long', 606: 'Action Not Authorized', 607: 'Signature Failure', 608: 'Signature Missing', 609: 'Not Encrypted', 610: 'Invalid Sequence', 611: 'Invalid Control URL', 612: 'No Such Session'}
$ DEFAULT_ARGS: {}
$ _boot_seqnum:
$ 8:
$ _channel_map:
$ None:
$ _ht_sat_chan_map:
$ None:
$ _is_bridge:
$ False:
$ _is_coordinator:
$ True:
$ _is_satellite:
$ False:
$ _has_satellites:
$ False:
$ _satellite_parent:
$ None:
$ _channel:
$ None:
$ _is_soundbar:
$ None:
$ _voice_config_state:
$ 0:
$ _mic_enabled:
$ 0:
$ _player_name:
$ Family Room:
$ _uid:
$ RINCON_B8E9379ECB9C01400:
$ _household_id:
$ Sonos_ZbkoiK0FMeuJYCaE7pp895QAyB:
Unhandled error in Deferred:
Traceback (most recent call last):
File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/soco/events_twisted.py", line 508, in _wrap
callnext()
File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/soco/events_twisted.py", line 435, in callnext
d.callback(None)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/internet/defer.py", line 696, in callback
self._startRunCallbacks(result)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/internet/defer.py", line 798, in _startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/internet/defer.py", line 892, in _runCallbacks
current.result = callback( # type: ignore[misc]
File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/soco/events_twisted.py", line 492, in handle_outcome
failure.trap()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/python/failure.py", line 480, in trap
self.raiseException()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/python/failure.py", line 504, in raiseException
raise self.value.with_traceback(self.tb)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/internet/defer.py", line 892, in _runCallbacks
current.result = callback( # type: ignore[misc]
File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/soco/events_twisted.py", line 427, in execute
return method(*args, **kwargs)
File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/soco/events_base.py", line 416, in subscribe
ip_address, port = self.event_listener.address
builtins.ValueError: not enough values to unpack (expected 2, got 0)
Maybe I have the wrong version of Twisted installed?
Twisted 22.10.0
Twisted==23.8.0 is the latest but there is a bug in the requirements checking that means it will be flagged as an error. You could change the requirements.txt file to specify this version of twisted and see what happens?
I am not sure it is a Twisted issue though.
Strange. I changed the requirements file, got the error that the wrong version was installed and it told me to install the version I already had. Went back to 22.10.0 (changed req file, reloaded, got error, pip install, reload, no error). Tried going to 23.8.0 by changing the req file. Reload, get error message, run pip install, reload, still get error message.
Now back on 22.10.0. No Twisted error, but still getting errors above.
I will hopefully have a new pre-relaese version up on Github later this afternoon that will fix the requirements issue. Still looking at the other one.
Is this still an issue?
Documenting Indigo log and Interactive Terminal errors for @autolog
Last group repeats.