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

Add setting to reset artist-genre data #61

Merged
merged 12 commits into from
Apr 24, 2024
Merged

Conversation

codeconscious
Copy link
Owner

@codeconscious codeconscious commented Apr 11, 2024

Since #57, new artist-genre data is merged with existing data saved on the user's computer. However, I decided to add a setting to enable either the old or new behavior. With this PR, if the ResetSavedArtistGenres setting is true, then old data will be ignored and the file to be created anew. Otherwise, the old and new data will be merged (the current behavior). The default is false.

I also found a genre sorting bug as part of this, which was causing the wrong genre to be selected and exported, so I have fixed this too. (I should eventually add some tests for this...)

@codeconscious codeconscious added the enhancement New feature or request label Apr 11, 2024
@codeconscious codeconscious self-assigned this Apr 11, 2024
@codeconscious codeconscious merged commit 06aae59 into main Apr 24, 2024
1 check passed
@codeconscious codeconscious deleted the reset-genre-data-setting branch April 24, 2024 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant