Hey guys I'm working on a little project to automate some of my playlists on YouTube Music, although I am running into a problem where some of the songs I am finding are available on YouTube, but not YouTube Music specifically.
Right now I am just running a check to see if the page returns a 404 which sort of works, except YouTube music likes to just auto play the next song if the requested song is unavailable so I'll need a bit more robust system.
For a bit of an example, you can go to this video on YouTube with a video ID of Xge20AqKSRE
on YouTube you can watch the video no problem, although it is unavailable on YouTube Music. If you try this other link you get a little popup in the bottom left saying "This song is unavailable. Skipping to the next one." which is a problem since right now I'm just checking to see if the page returns a 404, which this obviously wont.
I have been digging through the YouTube API but I cannot find anything specific to YouTube Music.
Xge20AqKSRE
on YouTube you can watch the video no problem, even though this video is unavailable on YouTube Music. You can try this with this other link, what should* happen is you get a little popup in the bottom left saying "This song is unavailable. Skipping to the next one." which is a problem since right now I'm just checking to see if the page returns a 404, which this obviously wont. – Thisbee