Open dkmh opened 7 years ago
The notifying seems to work on a Chromecast-app level. When iniatiating playback on the Youtube cc-app with this fork of pychromecast, the notification pops up on my android phone. So it would seem that the problem is caused by this not being implemented in the Default Media Receiver
(as used by media_controller.play_media
), and not because of pychromecast.
Thanks for the reply. I have looked a bit further into it and discovered that android applications using the DefaultMediaReceiver seem to trigger the notification as well:
I will try to investigate what are the differences in communication between that and pychromecast.
Same issue here.
Do you know if it affects all pychromecast users (incl. home-assistant & co), or if this can be related to local setup (dhcp, hostname, standard port, whatever)?
A few months ago, google enabled so called "cast remote control notifications" on android devices. (https://support.google.com/chromecast/answer/7206638?hl=en)
In short: all android devices on the same network get an notification to control the chromecast when playing, even if they dont started the cast session by themselves. Which is very convenient because i can stop the stream from any device.
Dont know if its a bug or even related directly with pychromecast, but I dont get the remote control notifications on any of my android devices if the cast was started by a pychromecast script.
Besides that, casting works nicely and also the chromecast/home app on android shows the chromecast as playing.
In all other cases (started by android device - different apps - casting via chrome from same PC as pychromcast) the notification shows up on all my android devices.
Has someone else observed this? Any other idea what could cause the different behaviour?