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

music modules: implement sanitize_words support for all music modules #2234

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dpeukert
Copy link
Contributor

This PR adds the sanitize_words feature from the spotify module to other music modules. The common functionality has been added to the Py3 module.

I've tested all the modified modules and everything seems to be working as it should.

@dpeukert
Copy link
Contributor Author

Forgot to run tests, changing to a draft for now.

@dpeukert dpeukert marked this pull request as draft February 16, 2024 21:48
@dpeukert
Copy link
Contributor Author

I've fixed the ordering errors, but I wasn't able to fix the docstring errors, which seem to be caused by the default value for sanitize_words being a constant. Not sure how to fix that.

@dpeukert dpeukert marked this pull request as ready for review February 16, 2024 22:00
@ultrabug
Copy link
Owner

ultrabug commented Mar 4, 2024

@dpeukert would you consider switching to using what @lasers proposes directly?

@dpeukert
Copy link
Contributor Author

@ultrabug Apart from the ability to be able to configure the sanitized words (some people may want to exlude stuff like "(Live)", some may not), I don't really mind either way.

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