mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 15:26:01 +03:00
[GH-ISSUE #235] Playing a YTMusic song via Chromecast not working #183
Labels
No labels
a/b
bug
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
yt-error
yt-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ytmusicapi#183
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @maxpd1 on GitHub (Nov 17, 2021).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/235
Hello,
What are the possibilities to launch a song from YouTube Music via API on Google Home?
I use iobroker with chromecast adapter https://github.com/iobroker-community-adapters/ioBroker.chromecast where I can't insert an authrization header. Perhaps only if I set up ja JavaScript for that. But I think thats too difficult for me.
I play YTMusic with Google Home.
When I read the Google Home Api, the media.contentID is ExvqA9I_gsQ for example. This is the ID of the song that is playing.
Now I want to send a trigger via API that will continue playing the song after a previously triggered pause.
Normally you enter a URL in the player.url2play attribute.
The corresponding URL of YTMusic which works in the browser would be https://music.youtube.com/watch?v=ExvqA9I_gsQ.
However, Google Home does not recognize the URL of YTMusic and does not play the song. Also the media.contentID in the url2play field alone does not work.
What are the possibilities to start a song from YouTube Music via API on Google Home?
Spotify offers an extra API backend for this, which you can use to create a premium login URL if the missing login on the YT URL would be the problem. Do YT have something like this?
Regards