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

Fix rename detect feature #1373

Merged
merged 3 commits into from
Nov 6, 2017
Merged

Conversation

ninomp
Copy link
Contributor

@ninomp ninomp commented Nov 5, 2017

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 VERY much for adopting this high priority bug.

@@ -1723,7 +1723,7 @@ bool TrackDAO::detectMovedTracks(QSet<TrackId>* pTracksMovedSetOld,
"INNER JOIN library ON track_locations.id=library.location "
"WHERE track_locations.location IN (%1) AND "
"filename=:filename AND "
"duration=:duration").arg(
"ABS(duration - :duration) < 1").arg(
Copy link
Member

Choose a reason for hiding this comment

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

Please insert a comment what the 1 means, and why it is required.
Is this a side effect from our repaired engine? https://bugs.launchpad.net/mixxx/+bug/1666275

Do we need to invalidate beatgrid and waveforms?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Comment is in place. 😄

Basically, I believe this is a regression from #970, so I added tolerance of 1 second when searching for the (re)moved track.

Is this a side effect from our repaired engine? https://bugs.launchpad.net/mixxx/+bug/1666275
Do we need to invalidate beatgrid and waveforms?

I don't think so, I believe this is a different issue.

@daschuer
Copy link
Member

daschuer commented Nov 6, 2017

Thank you for the update. LGTM

@daschuer daschuer merged commit a2fddfc into mixxxdj:master Nov 6, 2017
@ninomp ninomp deleted the detectmovedtracks_fix branch April 24, 2019 16:54
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.

None yet

2 participants