rytilahti / python-songpal

Python library for interfacing with Sony's Songpal devices
GNU General Public License v3.0
66 stars 24 forks source link

CMT-X7CD(B) player not detected #123

Open buitre-buitaker opened 1 year ago

buitre-buitaker commented 1 year ago

Hi!

I have problems detecting my Sony player CMT-X7CD(B).

It works with the songpal Sony app (random errors from time to time, not flawlesly but well enough).

If I execute the songpal discovery command I get info from other upnp devices but not from Sony player.

If I use upnp_info.py from https://github.com/lynxbee/upnp_info I get the following output for my player:

[+] Loading http://192.168.1.66:8000/serverxml.xml... -> No server string ==== XML Attributes === -> Device Type: urn:schemas-upnp-org:device:MediaServer:1 -> Friendly Name: AUDIO SALON -> Manufacturer: Sony Corporation -> Manufacturer URL: http://www.sony.net/ -> Model Description: PERSONAL AUDIO SYSTEM -> Model Name: CMT-X7CD(B) -> Services: => Service Type: urn:schemas-upnp-org:service:ContentDirectory:1 => Control: /ContentDirectory_ctrl => Events: /ContentDirectory_evt => API: http://192.168.1.66:8000/ContentDirectory_desc.xml

How can I control the player using songpal script?

Thank you

rytilahti commented 1 year ago

Hi, so it really depends on what you are trying to accomplish (what type of controls you are looking for), but this device does not seem to support the same protocol that is implemented by this library. If you are looking to control media playback, you could probably use any upnp-supporting library as all those listed interfaces besides that X_Tandem one are just standard playback controls.