pychromecast icon indicating copy to clipboard operation
pychromecast copied to clipboard

cast.media_controller.update_status() puts blackscreen with blue chromecast logo on chromecasts

Open soreau opened this issue 2 years ago • 1 comments

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?

soreau avatar Jul 03 '22 07:07 soreau

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.

soreau avatar Jul 03 '22 08:07 soreau