AmpliPi icon indicating copy to clipboard operation
AmpliPi copied to clipboard

Feature: Add Youtube Music support

Open SteveMicroNova opened this issue 1 year ago • 2 comments

Add Youtube Music support. Find a good way to do this that won't run into youtube's crackdown of all bots that consume their content without giving money or ad views to youtube.

SteveMicroNova avatar Oct 29 '24 14:10 SteveMicroNova

Its been almost a year, but I wanted to ping that I would be interested in this feature, and we might see more. Several credit cards just added a credit for YT Premium, and I cancelled Pandora to move to YTM to save the money.

I'll poke around and see if I can find anything meaningful I can contribute.

aron7676 avatar Oct 14 '25 02:10 aron7676

We'd love to provide Youtube Music support, it's a growing platform that many people have been requesting. Unfortunately, it seems that every current tool for streaming Youtube Music is hampered by Youtube itself due to them being fairly hostile towards anyone touching their servers.

This leads to all implementations requiring bad user experiences such as harvesting your cookies or copying URL args to be able to log in and for both methods you'd have to redo that bad experience every now and again to reup your login session.

The only thing that seems to let you actually just log in and use it would be Home Assistant's Music Assistant, so perhaps we could copy their notes or leverage their work in some other way. In the meantime, a good workaround would be to set up Home Assistant and Music Assistant with our HACS plugin to route it all together Note that Music Assistant, and all other implementations, are liable to break at random for undetermined amount of time due to Google and Youtube often changing their API to shake third party users off of their servers. Some explanation from Music Assistant on that topic can be found here

SteveMicroNova avatar Oct 14 '25 14:10 SteveMicroNova