steve228uk / YouTube-Music

:musical_note: A Mac app wrapper for music.youtube.com
https://ytmusic.app
MIT License
2.77k stars 202 forks source link

No cast button or option #141

Open jjrchrds opened 3 years ago

jjrchrds commented 3 years ago

The application is missing cast functionality.

ebramanti commented 3 years ago

This is not even supported in YouTube Music on Chrome, so not sure if we will see this without rolling something custom.

gth001 commented 3 years ago

It's supported in Chrome. I think that bug thread is talking about some 3rd party Windows app. They are probably using electron/chromium and didn't include the cast library or something, but I'm no expert. But in Chrome browser it's worked flawlessly on all my devices for years, otherwise I never would have bought into the ecosystem...Mac, Windows, Google Home speakers, Chromecast audio dongle, speaker group. image

EDIT: I guess folks in that thread are complaining that casting a tab routes the data stream thru their computer, rather than directly to the speaker device. They're probably under the false impression that there is a quality difference, but I'd place my bets that it's identical binary data. Google is full of smart people. Or maybe folks are annoyed they have to keep their computer awake.

Either way, yeah, I was surprised there's no casting in this app too, but it makes more sense now that I realize I've been "tab casting" this whole time.

gth001 commented 3 years ago

Actually the PWA app supports cast too I just noticed. image @jjrchrds Just go to youtube music in a chrome tab, then click Menu > More Tools > Create Shortcut > New Window. You'll then have a PWA app that supports cast. Looks identical to this app.

arigato-one commented 3 years ago

Indeed, the PWA has this option to cast to other devices. Thanks.

dlnr commented 2 years ago

Any progress on this feature? I love the app but keep having to switch between the PWA (which doesn't have playback controls) and YT Music.

image

God I hate that puzzle icon

TimOliver commented 2 years ago

Hmmm, apparently adding Chromecast support might be possible with JS injection.

https://stackoverflow.com/questions/31937269/how-to-implement-chromecast-support-for-html5-player

If anyone's interested in giving it a shot, please feel free to file a PR!