jagrosh / jagrosh/MusicBot

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

Open
#1,265 2 comments 9 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5.8k
Forks
2.8k
PR merge metrics
No merged PRs in 30d

Description

### 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](https://jmusicbot.com/) to make sure this feature doesn't already exist
- [X] I have searched for [similar feature requests](https://github.com/jagrosh/MusicBot/labels/enhancement)
- [X] I have confirmed that my requests is **not** on the [list of things that will not be added](https://jmusicbot.com/things-that-wont-be-added)
- [X] I am running the latest version of the bot: ![Release](https://img.shields.io/github/release/jagrosh/MusicBot.svg)

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Start by tracing the bot's YouTube playback error handling and setup flow, then determine whether the goal is an explanatory reply or account-based access. Done should mean the chosen behavior is defined, implemented, and covered for age-restricted playback failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
audio-video-rtc, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.