Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Play Custom Videos #62

Open
Enigma1309 opened this issue Jan 26, 2024 · 3 comments
Open

Play Custom Videos #62

Enigma1309 opened this issue Jan 26, 2024 · 3 comments

Comments

@Enigma1309
Copy link

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?

@stephen304
Copy link
Contributor

stephen304 commented Apr 23, 2024

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: vishen/go-chromecast#112 (comment)

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.

@Enigma1309
Copy link
Author

okay i'll check it out and tell

@Enigma1309
Copy link
Author

Enigma1309 commented May 4, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants