Open Enigma1309 opened 7 months ago
That should be possible using the same library that we use for skipping/muting chromecasts - go-chromecast
For example:
go-chromecast load-app YouTube <yt-video-id> -u <chromecast-uuid>
Should play a specific video on the chromecast, but for me it gets stuck after it opens the youtube UI. It seems it's broken as Vishen notes in this bug: https://github.com/vishen/go-chromecast/issues/112#issuecomment-894786620
You can also just use the load command with the url of any publicly accessible media file and that should work, for example:
go-chromecast load "http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4" -u <chromecast-uuid>
Streams big buck bunny to the chromecast.
okay i'll check it out and tell
hey thanks for go-chromecast, but how do i get the chromecast-uuid of the device?
edit :- never mind found out that (go-chromecast ls
in case anyone's interested)
Ik this is a bit out of scope but is there any way i can use this to switch the currently playing video to the video id of my choice?