MusicBot icon indicating copy to clipboard operation
MusicBot copied to clipboard

[Feature Request] using Invidious as an alternative to YouTube

Open hydrogenicMetallium opened this issue 1 year ago • 6 comments

Is your feature request related to a problem? Please describe.

Because of YouTube banning IP ranges from various VPS services and patching out the Oauth2 method, people are currently unable to play YouTube links through their bots and thus making YouTube inaccessible until there is a workaround provided which while there are some that exist would probably just be a huge hassle for people that just want their bot to work without doing loops and hoops just to get it to work again

What is your ideal solution to the problem?

However, I really haven't seen anybody suggest so I'll go ahead and say it right now Id really suggest using Invidious as an alternative to YouTube since it acts as a frontend for YouTube and there are plenty of services that use invidious as a service to play YouTube links without contacting Google/YouTube servers to do so, this also lessens the need to use stuff like IPv6 rotation or POtokens for the bot to function

How would this feature be used?

  1. Users can use a invidious link from any of the instances currently available and then the bot will play the link through that
  2. If the link happens to be a normal YouTube link, the bot will then convert the link to an invidious link from one of the instances available
  3. If an instance is unavailable at the moment, the bot will switch to the closest instance that is currently available and play the link from there

Additional Info

Id would also like to mention that invidious has their API readily available for anybody to use right now so if any of the methods do not work anymore, we can at least switch to invidious and we can probably have a smoother experience from there

Checklist

hydrogenicMetallium avatar Nov 18 '24 04:11 hydrogenicMetallium

I might have to look for an alternative bot that I can host as I have been waiting for this bot to fix this issue for a while now. Yes I know it is not an easy fix but this bot is unusable without the ability to play music from YouTube etc. As this is it's only function.

andy01745 avatar Nov 18 '24 18:11 andy01745

I might have to look for an alternative bot that I can host as I have been waiting for this bot to fix this issue for a while now. Yes I know it is not an easy fix but this bot is unusable without the ability to play music from YouTube etc. As this is it's only function.

If you find one please come back to let us know!

Healzangels avatar Nov 18 '24 19:11 Healzangels

I might have to look for an alternative bot that I can host as I have been waiting for this bot to fix this issue for a while now. Yes I know it is not an easy fix but this bot is unusable without the ability to play music from YouTube etc. As this is it's only function.

If you find one please come back to let us know!

We all know their is no good one

andy01745 avatar Nov 18 '24 19:11 andy01745

I just wish there was a play option for the soundcloud scsearch is the only way to play soundcloud.

Lward95 avatar Nov 21 '24 11:11 Lward95

I just swapped to Muse since it doesn't seem like the original developer will be able to fix the issue. Muse doesn't use the same underlying app as JMusicBot for Youtube queries, it seems to be using an api token created against the parent account.

alman1234 avatar Dec 08 '24 00:12 alman1234

Thanks for the suggestion! Gave muse a shot and has been working well so far!

Was wondering if you had found a way to change the prefix used to call the bot. Normally would run a few bot instances to be called on !, /, > etc to be running in multiple channels but hadn't been able to find those settings for muse. Cheers!

Healzangels avatar Dec 10 '24 16:12 Healzangels