Error setting up YouTube Music player with Music Assistant

I am trying to set up YouTube Music with Music Assistant.
I was able to install the PO Token Addon.
I was able to get my cookie.
I put this information in and tried to save. I get an error pop-up that says:

ERROR: [youtube+GetPOT] dQw4w9WgXcQ: Requested format is not available. Use --list-formats for a list of available formats

5 Likes

same here :frowning:

Same issue here!

I got the same issue :frowning:

Another here too. Not sure if this is the right place to report issues?

Add another one to this list.

Same, found this post when I searched the error message.

for me, too. Is there a soloution?

This is fixed in Music Assistant Beta, and will be releasing to main release soon.

I downloaded the beta. I was able to get it to accept my cookie. It is showing me some favorites, but when I click to play one, nothing happens.

You’re going to have to give a little more info than “nothing happens”.

  • Where are you trying to initiate the youtube play from?
  • Do you have media players set up in MA?
  • Have you successfully played other media types on those media players?
  • Have you selected a media player in MA for the youtube item you are trying to play (see below)?
  • Are there any errors in the MA log? The HA log?

What version of the POT server is required for this? I tried both brainicism/bgutil-ytdlp-pot-providerv1.1.0 (the latest version) and brainicism/bgutil-ytdlp-pot-providerv0.8.5 (the version that was working for me previously).

I am running everyhing in Docker without any HA addons.

Suffering the same issues mentioned here. I was able to view/search music, but nothing happened when I tried playing it, so I removed it and tried re-adding. Getting the same error every time. I have tried with the Beta, but still getting the same result. Any ideas for alternative fixes?

I have the same issue. I see these messages in the Music Assistant log:

2025-06-10 11:28:29.801 ERROR (MainThread) [music_assistant.webserver] Error handling message: config/providers/save: ERROR: [youtube+GetPOT] dQw4w9WgXcQ: Requested format is not available. Use --list-formats for a list of available formats
2025-06-10 11:28:48.860 ERROR (MainThread) [music_assistant.webserver] Error handling message: config/providers/save: ERROR: [youtube+GetPOT] dQw4w9WgXcQ: Requested format is not available. Use --list-formats for a list of available formats

The message that popped up in Music Assistant was:

ERROR: [youtube+GetPOT] dQw4w9WgXcQ: Requested format is not available. Use --list-formats for a list of available formats

Same issue

ERROR: [youtube+GetPOT] dQw4w9WgXcQ: Requested format is not available. Use --list-formats for a list of available formats

for whatever reason its trying to rickroll whomever…

This will be looked into soon.

Any solution? Same problem here.

We just released BETA 11 with a fix for this. Also make sure to update your YT Music PO Token generator addon.

Little FYI: These problems will keep popping up and it’s a cat and mouse game between Google and third party users / applications like Music Assistant. Google does not provide a stable/supported way of integrating with YT Music, so the provider will need to be updated as soon as they change stuff. They are currently making a lot of changes in their attempt to stop piracy from Youtube videos. We will try to fix these issues as soon as possible but we cannot prevent them from happening unfortunately.

Thanks for the quick update. The problem seems to be fixed but I am getting a different issue. Due to this ongoing issue, I have 2 MA addon installations on HA server, one for stable version which is stopped and one for beta version which is currently running. But when I go to my Integrations tab, it discovers 2 MA. How to fix this? I am only expecting one there since I only have beta MA addon running.

The new beta seems to hardcode the PO Token Generator URL to localhost and ignores the configured URL.

WARNING: [youtube] [pot:bgutil:http] Error reaching GET http://127.0.0.1:4416/ping (caused by TransportError). Please make sure that the server is reachable at http://127.0.0.1:4416.
WARNING: [youtube] dQw4w9WgXcQ: web_music client https formats require a GVS PO Token which was not provided. They will be skipped as they may yield HTTP Error 403. You can manually pass a GVS PO Token for this client with --extractor-args “youtube:po_token=web_music.gvs+XXX”. For more information, refer to PO Token Guide · yt-dlp/yt-dlp Wiki · GitHub . To enable these broken formats anyway, pass --extractor-args “youtube:formats=missing_pot”
2025-06-10 17:25:55.406 ERROR (MainThread) [music_assistant.webserver] Error handling message: config/providers/save: StopIteration interacts badly with generators and cannot be raised into a Future

3 Likes