MusicBot icon indicating copy to clipboard operation
MusicBot copied to clipboard

[Feature Request] Add possibility to play age restricted videos / add error handler

Open cornholio21 opened this issue 3 years ago • 2 comments

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

At the moment you can't play YouTube videos that are age restricted. Bot will show the name of the song but leaves channel immideately after joining.

What is your ideal solution to the problem?

Bot should handle this type of error and reply that this content is not available (due to age restriction).

Ideal solution would be to log in to a YouTube account on the bot to by-pass this issue.

How would this feature be used?

On setup phase, add a step to type in credentials

Additional Info

No response

Checklist

cornholio21 avatar Jan 06 '23 18:01 cornholio21

There is a greasyfork script for bypassing age restriction, it works rn (just tested it in incognito tab), mb that code would be useful somehow: https://greasyfork.org/en/scripts/423851-simple-youtube-age-restriction-bypass

Bibovsky avatar Mar 13 '23 10:03 Bibovsky

I have a working fork. Releases for a jar file. It will need to be rebased to commit cleanly, as I have a bunch of old intermediate changes and an extra feature (queueplay, to append to playlist at the end). I hooked in Youtube email and password auth through config.txt. It kind of works without the auth, but it's spotty. Reports appreciated. I know Jagrosh is not interested in the extra auth steps.

The major difference is swapping the lavaplayer dependency with Walkyst's lavaplayer-fork. If this is to be merged, the correct thing to do is to merge those changes into Jagrosh's lavaplayer.

Amavect avatar May 11 '23 04:05 Amavect