Skip to content

Lastgenre forbidden for artist list #5744

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

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Lastgenre forbidden for artist list #5744

wants to merge 2 commits into from

Conversation

JOJ0
Copy link
Member

@JOJ0 JOJ0 commented Apr 20, 2025

Description

Addresses parts of #5721

A blacklist feature that forbids a list of genres configurable separately for each artist. It uses a yaml file formatted like this:

---
"fracture":
    - "metal"
    - "death metal"
"gilles peterson":
    - "samba"
"Trio Mocotó":
    - "samba"
"*":
    - "samba"

To Do

  • Documentation.
  • Changelog.
  • Tests.

JOJ0 added 2 commits April 20, 2025 08:13
- Helper _is_forbidden (similar to _is_valid) checks whether a genre and
  artist combination is forbidden.
- A special artist name "*" can be included in blacklist.yaml to support
  kicking out via the blacklist (and not only the whitelist). TODO: Is
  that redundant or convenient?
Copy link

Thank you for the PR! The changelog has not been updated, so here is a friendly reminder to check if you need to add an entry.

@JOJ0 JOJ0 changed the title Lastgenre forbidden Lastgenre forbidden for artist list Apr 20, 2025
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.

1 participant