pychromecast
pychromecast copied to clipboard
cast.media_controller.update_status() puts blackscreen with blue chromecast logo on chromecasts
With chromecast 1st gen at least, calling cast.media_controller.update_status() puts a black screen with blue chromecast logo as if it's going to play something, on chromecasts that aren't playing anything and showing background. In past versions of pychromecast, the media status handler was called automatically on connect and this did not happen but now with latest (12.1.4) I have to call update_status(), which makes the chromecasts black screen. I haven't checked the code for this yet. Any idea why this might be happening?
This is a workaround:
if chromecast.media_controller.is_playing:
chromecast.media_controller.update_status()
but it would still be nice to know why this happens.