I'm honestly surprised you were able to log in, typically Google has blocked embedded web browsers from logging into YouTube in general. Maybe they haven't gotten around to blocking YouTube Music yet? Nonetheless I don't think this will work under macOS or Linux unfortunately, only on Windows with Microsoft Edge (via WebView2) and the WDM driver. If it did work through the embedded web browser it unfortunately won't play through Media Center's audio engine for Mac/Linux because neither platform has an equivalent to the WDM driver.