Skip to content

Adding functionality for using "artists" as album level query #5743

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

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

Conversation

amelimik
Copy link

Description

I have added the ability to query based on the "artists" field at an album level, along with the existing functionality for "albumartists" field. I have also written 2 tests ensuring that this saves correctly and is correctly query-able.
I have done this by adding "artists" with a string type to the Album class fields.

Addresses Issue #5690, by adding this functionality that user expected, but was previously not supported.

  • [X ] Documentation. I believe documentation changes are not necessarily required for such a small change, beyond updating the Changelog. Correct me if I'm wrong, but I didn't see a place in the documentation where this small change would feel appropriate to mention.
  • [X ] Changelog.
  • [X ] Tests. Added 2 tests in test_query.py in RelatedQueriesTest class

@wisp3rwind
Copy link
Member

I'm not sure that this is a good fix to the problem, rather than just papering over it. I'm fairly sure that not having artists (and also artist: note that with this PR, the situation becomes inconsistent) defined as an album field is intentional.

Please also see my comment at #5690.

@amelimik
Copy link
Author

Thank you for the feedback @wisp3rwind! I went more in depth in my response on #5690 but will also mention here that if anyone is to continue working on this issue I'd be happy to try my best to help! :) My "quick fix" here is definitely not addressing the root of the issue.

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