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

Support for audio groups #3

Closed
rgruebel opened this issue Jan 7, 2017 · 5 comments · Fixed by #8
Closed

Support for audio groups #3

rgruebel opened this issue Jan 7, 2017 · 5 comments · Fixed by #8

Comments

@rgruebel
Copy link

rgruebel commented Jan 7, 2017

At the moment audio groups are not supported because they have the same IP as one of the devices.
Do you think its possible to use the friendly_name instead?
Also the player_state and some other propeties of the single devices are not correct if i stream something to a group (Maybe this is a limitation of pychromecast?).

@nohum
Copy link
Owner

nohum commented Jan 8, 2017

I think using friendly name instead is possible, though the ip address in the MQTT topic is also used for connecting to the chromecast if it has not been discovered yet, meaning that would not work anymore (but you could still implement some sort of cache that would map previously known friendly name to IPs).

Regarding the second issue. According to home-assistant-libs/pychromecast#65 pychromecast supports multi-room setups. My educated guess would be that this is because the same IP address is being used for multi-room and single-chromecast devices and there is no special handling build in by now (and I haven't tested this with multi-room setups actually).

You could still check if you see log lines beginning with:

DEBUG:pychromecast.controllers:Media:Received status

If these log lines show the correct properties when streaming to a group, then the problem lies definitely somewhere in the MQTT connector code.

@nohum nohum self-assigned this Jan 8, 2017
@nohum
Copy link
Owner

nohum commented Jan 9, 2017

Update: I talked to a friend who owns a multi-room setup and he controls it successfully via pychromecast.

@anderssv
Copy link

anderssv commented Apr 2, 2017

I would love for this to be supported as well. In addition I think friendly name as the queue name would be much better when integrating with other solutions. :)

Great work!

@nohum
Copy link
Owner

nohum commented Apr 3, 2017

@anderssv Hey! I would love that too, but fortunately I currently do not have time to implement this. But if you are willing to implement that function and submit it as a PR I would gladly welcome that. 👍

@berryk
Copy link
Contributor

berryk commented Aug 12, 2017

Have proposed a pull request that publishes topics using friendly_name. This also allows groups to be supported.

@nohum nohum closed this as completed in #8 Aug 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants