Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Learnings about Group - Memory #78

Open
maximoei opened this issue Aug 25, 2020 · 3 comments
Open

Learnings about Group - Memory #78

maximoei opened this issue Aug 25, 2020 · 3 comments

Comments

@maximoei
Copy link
Contributor

maximoei commented Aug 25, 2020

Done some further digging into the different group functions. Since latest PRs, now have confirmed that following are working in my set up (XT-2 + X-88 + X-77)

  • Create / Start group
  • Abort group
  • Mute group
  • Change group volume

Not working

  • Stop
  • Play

Furthermore; the GetAllGroupMemory works, and returns the last five groups in XML embedded Json:
Memory: {'GroupMemory': '<?xml version="1.0"?>\n<groupMemoryList>\n <groupMemory>\n <MemoryID>7</MemoryID>\n <GroupMode>GROUP</GroupMode>\n <GroupName>Test</GroupName>\n <SlaveList>uuid:00000000-0000-1010-8000-ac9b0a2163d9,uuid:00000000-0000-1010-8000-ac9b0a300c02</SlaveList>\n <CodecType>64</CodecType>\n <CodecBitrate>3</CodecBitrate>\n </groupMemory>\n <groupMemory>\n <MemoryID>6</MemoryID>\n <GroupMode>GROUP</GroupMode>\n <GroupName>Link</GroupName>\n <SlaveList>uuid:00000000-0000-1010-8000-ac9b0a2163d9</SlaveList>\n <CodecType>64</CodecType>\n <CodecBitrate>3</CodecBitrate>\n </groupMemory>\n <groupMemory>\n <MemoryID>5</MemoryID>\n <GroupMode>GROUP</GroupMode>\n <GroupName>Gekoppeld</GroupName>\n <SlaveList>uuid:00000000-0000-1010-8000-ac9b0a2163d9</SlaveList>\n <CodecType>64</CodecType>\n <CodecBitrate>3</CodecBitrate>\n </groupMemory>\n <groupMemory>\n <MemoryID>4</MemoryID>\n <GroupMode>GROUP</GroupMode>\n <GroupName>Group</GroupName>\n <SlaveList>uuid:00000000-0000-1010-8000-ac9b0a2163d9,uuid:00000000-0000-1010-8000-ac9b0a300c02</SlaveList>\n <CodecType>64</CodecType>\n <CodecBitrate>3</CodecBitrate>\n </groupMemory>\n <groupMemory>\n <MemoryID>3</MemoryID>\n <GroupMode>GROUP</GroupMode>\n <GroupName>Group</GroupName>\n <SlaveList>uuid:00000000-0000-1010-8000-ac9b0a2163d9</SlaveList>\n <CodecType>64</CodecType>\n <CodecBitrate>3</CodecBitrate>\n </groupMemory>\n</groupMemoryList>\n'}
Don't know how to apply the other Memory related functions; would expect a StartM based on group id to recreate a group, but that doesn't exist.

Anyway, latest changes are already useful. @rytilahti , can a new release be created? I'm working on building support into HomeAssistant to create/abort groups.

@rytilahti
Copy link
Owner

rytilahti commented Aug 25, 2020

Okay, let's keep this issue open in case something new comes up, it could be that those commands take the parameter in somehow, but the service description file just doesn't list all the parameters. One way to find out would be to see if the mobile app provides this functionality and do a packet capture to see what is happening.

I'll prepare a new release this week, btw, you are likely interested in home-assistant/architecture#364 for homeassistant. Also related #49.

@osk666neo666
Copy link

Is it able to create a group with the device not supporting wireless surround? like st5000.
If not, is it able to add this to support list by myself using the audio api? Willing to make group with st5000 and 2 zr5.
thx

@rytilahti
Copy link
Owner

@osk666neo666 check the output of songpal discover, if the relevant devices are listing urn:schemas-sony-com:service:Group:1 in the supported services, it may be doable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants