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

Cover Image Hash: Refactoring #2507

Merged
merged 3 commits into from
Feb 21, 2020
Merged

Cover Image Hash: Refactoring #2507

merged 3 commits into from
Feb 21, 2020

Conversation

uklotzde
Copy link
Contributor

First step towards fixing the insufficient hashing of cover art images:
https://bugs.launchpad.net/mixxx/+bug/1607097

@uklotzde uklotzde added this to the 2.3.0 milestone Feb 20, 2020
Copy link
Member

@daschuer daschuer left a comment

Choose a reason for hiding this comment

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

Thank you for taking this up.
LGTM, just one question.

const SecurityTokenPointer& pTrackLocationToken) const {
if (type == CoverInfo::METADATA) {
if (trackLocation.isEmpty()) {
qDebug() << "CoverArtUtils::loadCover METADATA cover with empty trackLocation.";
Copy link
Member

Choose a reason for hiding this comment

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

Can this happen or should we guard it with an assertion?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Probably yes. I've never seen those log messages. Done

@daschuer
Copy link
Member

Thank you.

@daschuer daschuer merged commit 618cb62 into mixxxdj:master Feb 21, 2020
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.

2 participants