Trying to use the websocket API addToQueue to add music to the queue.
It appears the attempt is made as the title appears in an "add to queue"popup followed by a “Youtube Music” invalid URI error.
My payloads are as follows:
payload = {
"uri": "https://www.youtube.com/watch?v=ve6R_p4hsfk,
"title": "Italian Restaurant",
"service": "ytmusic"
}
searching the web I see recommendation for formatting the uri:
I’ve also tried uri formatted as follows:
ytmusic:ve6R_p4hsfk
ytmusic:video:ve6R_p4hsfk
youtube:ve6R_p4hsfk
ytmusic/video/ve6R_p4hsfk
what is the correct uri to add a youtube music URL to the queue?