YouTube music videos not playing
Whenever I heard of playing a YouTube music video Fail to load video plugin YouTube music. YouTube music cannot use in operator to search for URL is undefined. 140 14-15
I see. I'll look into it whenever I can next
I figured out the issue, and it's that it requires login. I just made a change to throw an exception when it requires login, but that's kinda weird as you can play it on the website without login. Maybe google finally figured it out and I'm going to need to change the whole code to do web scraping.
I'll give the web scraping a shot (which requires much work, this'll take a while), but I think I'll keep in the API just in case
Issue is still there while loggedIn as well.
Yeah sorry I haven't been able to work on it recently and I'm kinda on holidays but I'll try to fix it soon!
Thanks for helping the community.
<3 tsym!
Just got back. There's been much procrastination (sorry) (I mean, dealing with Google changing something that was already complex and obfuscated is very annoying) and issues with connecting to mobile (which fueled the procrastination) (I kept saying it wasn't the firewall, it can't be; but it was), then holiday, and now after 1/2 a day of working on it (the other half fixing the connection issue), I've managed to half fix the problem. 🎉
I'll try working more on it but in the very limited time I've had so far fixing the next issue it seems really weird, and I have nothing on how to fix at the moment. But as I said, only spend about 2 mins looking into, maybe can find out something tomorrow?
Current issue is now: it's gaining the URL from Google, but when you follow the url it doesn't show the video >:(
I have made a real quick hotfix; I added an option to make the link use the youtube plugin instead of ytm for playing the audio, so you can actually listen to it now. I'll still try to fix the root issue tho
I got lead down a large rabbit hole of 'how to reverse engineer YouTube's API' where I wrote some cool code that still didn't fix the problem. I did find out that it's getting a 403 forbidden response, but I have no clue what YT did or how to make it work again :( Everything I try gives the same result; a link leading to a blank page, with a 403 error in the console. That guide was the 2nd edition but I tried some of the things in it and got different results, so methinks YT did something after that was made. I really don't know how to fix this. I'm going to try a little more later still; there has to be a way, I just have no idea what anymore.
Actually, I believe I have figured out what the problem is.
According to other issues, it seems as though YouTube is trying it's hardest to stop simple IOS (& other) streams via ip blocking (or something similar) BUT nevertheless, it means that ways that worked before now won't. You'll notice that the regular YT plugin also is having problems, and that's because the UMP streams Grayjay has emplored as a solution is working less and less and now we're all a bit stuck.
They're trying their hardest to fix it, but again; it's only a matter of time. Someone once said it's like a game of cat and mouse; one side trying to break it as fast as possible and the other trying to fix it.
So, all we can do rn is wait.