Skip to content

SRS-X88: 'unsupported operation' #149

Closed
@Yuke-hd

Description

@Yuke-hd

Was working fine for years pre homeassitant 2024 releases
Here are some logs

Regards

x511:/config#  songpal  --endpoint http://192.168.0.174:54480/sony command avContent getAvailablePlaybackFunction {}
Calling avContent.getAvailablePlaybackFunction with params {}
INFO:songpal.device:Calling avContent.getAvailablePlaybackFunction({})
Error: Got an error for getAvailablePlaybackFunction: [15, 'unsupported operation']: UnsupportedOperation (15): unsupported operation


x511:/config#  songpal  --endpoint http://192.168.0.174:54480/sony status
Power on
Volume: 13/61
Not playing any media
Error: Got an error for getAvailablePlaybackFunction: [15, 'unsupported operation']: UnsupportedOperation (15): unsupported operation

x511:/config#  songpal --debug  --endpoint http://192.168.0.174:54480/sony command avContent getAvailablePlaybackFunction {}
Setting debug level to 1
DEBUG:root:Using endpoint http://192.168.0.174:54480/sony
DEBUG:songpal.device:Endpoint: http://192.168.0.174:54480/sony
DEBUG:songpal.device:Guide endpoint: http://192.168.0.174:54480/sony/guide
DEBUG:songpal.device:Got 4 services!
DEBUG:songpal.service:Available protocols for audio: ['xhrpost:jsonizer', 'websocket:jsonizer']
DEBUG:songpal.service:Using protocol: ProtocolType.WebSocket
DEBUG:songpal.notification:notification payload: {'name': 'notifyVolumeInformation', 'versions': [{'version': '1.0'}]}
DEBUG:songpal.service:Got notifications: [<Notification notifyVolumeInformation, versions=[{'version': '1.0'}], endpoint=http://192.168.0.174:54480/sony/audio>]
DEBUG:songpal.service:Available protocols for avContent: ['xhrpost:jsonizer', 'websocket:jsonizer']
DEBUG:songpal.service:Using protocol: ProtocolType.WebSocket
DEBUG:songpal.notification:notification payload: {'name': 'notifyAvailablePlaybackFunction', 'versions': [{'version': '1.0'}]}
DEBUG:songpal.notification:notification payload: {'name': 'notifyPlayingContentInfo',
 'versions': [{'authLevel': 'private', 'version': '1.0'}]}
DEBUG:songpal.service:Got notifications: [<Notification notifyAvailablePlaybackFunction, versions=[{'version': '1.0'}], endpoint=http://192.168.0.174:54480/sony/avContent>, <Notification notifyPlayingContentInfo, versions=[{'authLevel': 'private', 'version': '1.0'}], endpoint=http://192.168.0.174:54480/sony/avContent>]
DEBUG:songpal.service:Available protocols for guide: ['xhrpost:jsonizer']
DEBUG:songpal.service:Using protocol: ProtocolType.XHRPost
DEBUG:songpal.service:Available protocols for system: ['xhrpost:jsonizer', 'websocket:jsonizer']
DEBUG:songpal.service:Using protocol: ProtocolType.WebSocket
DEBUG:songpal.notification:notification payload: {'name': 'notifyPowerStatus', 'versions': [{'version': '1.0'}]}
DEBUG:songpal.notification:notification payload: {'name': 'notifySWUpdateInfo', 'versions': [{'version': '1.0'}]}
DEBUG:songpal.notification:notification payload: {'name': 'notifySettingsUpdate', 'versions': [{'version': '1.1'}]}
DEBUG:songpal.notification:notification payload: {'name': 'notifyStorageStatus',
 'versions': [{'authLevel': 'generic', 'version': '1.1'}]}
DEBUG:songpal.service:Got notifications: [<Notification notifyPowerStatus, versions=[{'version': '1.0'}], endpoint=http://192.168.0.174:54480/sony/system>, <Notification notifySWUpdateInfo, versions=[{'version': '1.0'}], endpoint=http://192.168.0.174:54480/sony/system>, <Notification notifySettingsUpdate, versions=[{'version': '1.1'}], endpoint=http://192.168.0.174:54480/sony/system>, <Notification notifyStorageStatus, versions=[{'authLevel': 'generic', 'version': '1.1'}], endpoint=http://192.168.0.174:54480/sony/system>]
Calling avContent.getAvailablePlaybackFunction with params {}
INFO:songpal.device:Calling avContent.getAvailablePlaybackFunction({})
DEBUG:songpal.service:getAvailablePlaybackFunction version 1.0 got called with args (({},)) kwargs ({})
DEBUG:songpal.method:<Method avContent.getAvailablePlaybackFunction({'output': <class 'str'>}) -> {'functions': 'FunctionInfo[]', 'output': <class 'str'>, 'uri': <class 'str'>} version 1.0>
Error: Got an error for getAvailablePlaybackFunction: [15, 'unsupported operation']: UnsupportedOperation (15): unsupported operation
Traceback (most recent call last):
  File "/usr/local/bin/songpal", line 8, in <module>
    sys.exit(cli())
             ^^^^^
  File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/click/decorators.py", line 92, in new_func
    return ctx.invoke(f, obj, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/songpal/main.py", line 59, in wrapper
    raise ex
  File "/usr/local/lib/python3.11/site-packages/songpal/main.py", line 50, in wrapper
    return loop.run_until_complete(f(*args, **kwargs))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/songpal/main.py", line 628, in command
    res = await dev.raw_command(service, method, params)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/songpal/device.py", line 567, in raw_command
    return await self.services[service][method](params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/songpal/method.py", line 136, in __call__
    raise SongpalException(
songpal.common.SongpalException: Got an error for getAvailablePlaybackFunction: [15, 'unsupported operation']: UnsupportedOperation (15): unsupported operation

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