Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_artist: Don't fail on channels with only one category of content #267

Merged
merged 1 commit into from
Apr 14, 2022

Conversation

jbruechert
Copy link
Contributor

The current check is meant to detect channels with only video content,
but it also hits small bands that for example have only released singles
so far. An example for this is "UC1uK8RT3m4nNpXmOSsFsZeg".

Since failing is not really helpful anyway (for example audiotub could still play only the sound of a channel that contains only videos),
I propose to remove the check altogether.

The current check is meant to detect channels with only video content,
but it also hits small bands that for example have only released singles
so far. An example for this is "UC1uK8RT3m4nNpXmOSsFsZeg".

Since failing is not really helpful anyway (for example in audiotube, it
could still play only the sound of a channel that contains only videos),
I propose to remove the check altogether.
@sigma67
Copy link
Owner

sigma67 commented Apr 8, 2022

This exception was introduced in #181. It seems reasonable in my opinion to filter out invalid channels with a proper exception.

There should be a better way to filter these though than just checking for the length. I agree that the current solution is far from ideal since it affects small artists.

@sigma67 sigma67 merged commit d6f8d5d into sigma67:master Apr 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants