python-songpal icon indicating copy to clipboard operation
python-songpal copied to clipboard

Support for BDV-N9200W

Open steven52880 opened this issue 2 years ago • 1 comments

Hello. I noticed on the homepage that python-songpal supports BDV-N9200W, but I encountered the following issue when I attempted to control it:

songpal --endpoint http://192.168.1.187:10000/sony -dd power
Setting debug level to 2
DEBUG:root:Using endpoint http://192.168.1.187:10000/sony
DEBUG:songpal.device:Endpoint: http://192.168.1.187:10000/sony
DEBUG:songpal.device:Guide endpoint: http://192.168.1.187:10000/sony/guide
DEBUG:songpal.device:> POST http://192.168.1.187:10000/sony/guide with body: {'method': 'getSupportedApiInfo', 'params': [{}], 'id': 1, 'version': '1.0'}
DEBUG:songpal.device:Received 200: <bound method ClientResponse.text of <ClientResponse(http://192.168.1.187:10000/sony/guide) [200 OK]>
<CIMultiDictProxy('Connection': 'close', 'Content-Length': '43', 'Content-Type': 'application/json')>
>
Unable to get supported methods: Got an error for getSupportedApiInfo: NoSuchMethod (12): getSupportedApiInfo

I found this issue and some pr related to this, but I didn't see specific instructions on what I should do. https://github.com/rytilahti/python-songpal/issues/29 And there is a branch feat/allow_local_devinfo. Should I use it for my device?

steven52880 avatar Jan 26 '24 11:01 steven52880

I'm not sure when it got added to the list of supported devices, but apparently it shouldn't be there. That PR got never finished, so there's unfortunately no easy way to control that device.

rytilahti avatar Jan 26 '24 13:01 rytilahti