pychromecast icon indicating copy to clipboard operation
pychromecast copied to clipboard

Controls in Google Home App

Open vanadinit opened this issue 2 years ago • 0 comments

Hello everyone,

I am searching for a possibility to control start/stop/pause/seek via the Google Home App after invoking the video stream via pychromecast.

My actual setup:

  • local video files at my PC
  • serving video file via a HTTP Server to have a streaming URL
  • discovering and selecting chromecast via pychromecast
  • giving URL to cast.play_media to start casting

Interestingly appears the play/pause button, if I have the Google Home App open on my smartphone when starting to cast. If I open the app later on or reopen it after a while the button is missing. The seek bar for jumping in time is always missing (but I know it from casting from several apps, Youtube, ...).

Any idea how to get these controls? Is there a specific information or format needed?

My actual code: https://github.com/vanadinit/terminalcast/blob/main/terminalcast/init.py

vanadinit avatar Oct 08 '22 18:10 vanadinit