[Feature Request] Add possibility to play age restricted videos / add error handler
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
- [X] I have checked the documentation to make sure this feature doesn't already exist
- [X] I have searched for similar feature requests
- [X] I have confirmed that my requests is not on the list of things that will not be added
- [X] I am running the latest version of the bot:
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
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.