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

Track metadata: Renamings, reorderings, minor bugfix #3866

Merged
merged 5 commits into from
May 17, 2021
Merged

Track metadata: Renamings, reorderings, minor bugfix #3866

merged 5 commits into from
May 17, 2021

Conversation

uklotzde
Copy link
Contributor

Another bite-sized PR with renamings and reorderings to prepare the next steps.

Minor fix: Removal of a default parameter revealed a minor bug that does not have any consequences yet.

@uklotzde uklotzde added this to the 2.4.0 milestone May 15, 2021
@@ -227,10 +228,10 @@ void Track::importMetadata(
}
}

bool Track::mergeImportedMetadata(
bool Track::mergeExtraMetadataFromSource(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From the naming I'd assume this only imports metadata that is not yet present (or empty). Is that correct?

Copy link
Contributor Author

@uklotzde uklotzde May 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not quite. It only affects metadata that is not yet stored in the database -> "extra"

We have a corresponding test to verify that fields like artist or genre are not modified, even if empty or missing.

@Holzhaus Holzhaus merged commit 8051c05 into mixxxdj:main May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants