-
Notifications
You must be signed in to change notification settings - Fork 0
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 art support 4 #3
Commits on Jul 3, 2014
-
Modified the playlist shuffling algorithm to avoid placing two instan…
…ces of the same track next to each other. It checks the IDs of the tracks before and after the positions of the tracks that will be swapped, and if there's a match, it tries again with a new position. It tries a maximum of 10 times, which should be far more than enough for normal situations. It uses the PlaylistTracks table in the database to get its track ID numbers. I didn't notice any significant performance decreases, even with hundreds of the same 10-15 tracks in the AutoDJ playlist.
Configuration menu - View commit details
-
Copy full SHA for 6274018 - Browse repository at this point
Copy the full SHA 6274018View commit details
Commits on Jul 6, 2014
-
Finished modified shuffling algorithm
Here's a brief description of how the algorithm now works: Loop through the set of tracks to be shuffled: 1) Set Track A as the current point in the shuffle set 2) Repeat a maximum of 10 times or until a good place (1/4 of the playlist away from a conflict) is reached: a) Pick a random track within the shuffle set (Track B) b) Check 1/4 of the playlist up and down (clamped at the beginning and end) from Track B's position for Track A c) Check 1/4 of the playlist up and down (clamped at the beginning and end) from Track A's position for Track B d) If there was a conflict, store the position if it was better than the already stored best position. The position is deemed "better" if the distance (square of the difference) of the closest conflict (Track B near Track A's position and vv) is larger than previous iterations. 3) If no good place was found, use the stored best position 4) Swap Track A and Track B The "tempTrackDistance" variable in the following might be confusing: ... for (int count=startPosition; count < endPosition; count++) { if (trackPositionIds.value(count) == trackBId && count != trackBPosition) { conflictFound = true; int tempTrackDistance = (trackAPosition - count) * (trackAPosition - count); if (tempTrackDistance < trackDistance || trackDistance == -1) trackDistance = tempTrackDistance; } } ... The reason it is there is to prevent a longer distance from being saved in the case that there are multiple conflicts within the range. The section of code that checks around Track A's and Track B's position is repetitive; I chose to leave it that way for clarity for now but perhaps it would be better to extract it into a private function? I have also renamed a few variables and fixed some comment typos for clarity.
Configuration menu - View commit details
-
Copy full SHA for 0b0cf70 - Browse repository at this point
Copy the full SHA 0b0cf70View commit details
Commits on Jul 11, 2014
-
Made a few changes to match the coding guidelines for Mixxx.
Configuration menu - View commit details
-
Copy full SHA for 4b00a97 - Browse repository at this point
Copy the full SHA 4b00a97View commit details
Commits on Jul 24, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 8a5b684 - Browse repository at this point
Copy the full SHA 8a5b684View commit details
Commits on Jul 25, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 814aa98 - Browse repository at this point
Copy the full SHA 814aa98View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a8b511 - Browse repository at this point
Copy the full SHA 0a8b511View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6502aa - Browse repository at this point
Copy the full SHA e6502aaView commit details -
Searching covers in the Last.fm database - initial implementation (ju…
…st getting cover_urls)
Configuration menu - View commit details
-
Copy full SHA for 10f0a8e - Browse repository at this point
Copy the full SHA 10f0a8eView commit details -
Revert "Add Last.fm dependence (liblastfm)"
This reverts commit 814aa98.
Configuration menu - View commit details
-
Copy full SHA for dd73d12 - Browse repository at this point
Copy the full SHA dd73d12View commit details
Commits on Jul 26, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 1b5ef0c - Browse repository at this point
Copy the full SHA 1b5ef0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 702250d - Browse repository at this point
Copy the full SHA 702250dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b1fbc1d - Browse repository at this point
Copy the full SHA b1fbc1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5753987 - Browse repository at this point
Copy the full SHA 5753987View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc2b640 - Browse repository at this point
Copy the full SHA bc2b640View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c0365b - Browse repository at this point
Copy the full SHA 4c0365bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9af59b - Browse repository at this point
Copy the full SHA e9af59bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6eb8e00 - Browse repository at this point
Copy the full SHA 6eb8e00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6796f13 - Browse repository at this point
Copy the full SHA 6796f13View commit details -
Configuration menu - View commit details
-
Copy full SHA for c324729 - Browse repository at this point
Copy the full SHA c324729View commit details
Commits on Jul 27, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 47487bb - Browse repository at this point
Copy the full SHA 47487bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 32f65d3 - Browse repository at this point
Copy the full SHA 32f65d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c9ed82 - Browse repository at this point
Copy the full SHA 4c9ed82View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61f1070 - Browse repository at this point
Copy the full SHA 61f1070View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5627e3d - Browse repository at this point
Copy the full SHA 5627e3dView commit details -
Improving management of the cover search results
- the last logic to handle the results was too complex...
Configuration menu - View commit details
-
Copy full SHA for ac1f426 - Browse repository at this point
Copy the full SHA ac1f426View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1de1bae - Browse repository at this point
Copy the full SHA 1de1baeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e2369a - Browse repository at this point
Copy the full SHA 6e2369aView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe0de63 - Browse repository at this point
Copy the full SHA fe0de63View commit details
Commits on Jul 28, 2014
-
Configuration menu - View commit details
-
Copy full SHA for b5ec417 - Browse repository at this point
Copy the full SHA b5ec417View commit details
Commits on Jul 29, 2014
-
Merge branch 'master' of https://github.com/mixxxdj/mixxx into coverA…
…rtSupport_4
Configuration menu - View commit details
-
Copy full SHA for 7d6f93b - Browse repository at this point
Copy the full SHA 7d6f93bView commit details -
Uptading DlgTrackinfo + DlgCoverFetcher + DlgTagFetcher together afte…
…r hit PREV or NEXT buttons It avoids the bug #1349017
Configuration menu - View commit details
-
Copy full SHA for 546ee62 - Browse repository at this point
Copy the full SHA 546ee62View commit details
Commits on Jul 30, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 27248d8 - Browse repository at this point
Copy the full SHA 27248d8View commit details
Commits on Jul 31, 2014
-
Completed improved shuffling algorithm
The algorithm now "wraps" around the playlist, so that if the tracks are re-queued they will still be 1/4 of the playlist apart. The most extreme case that this algorithm can now handle is a 4-track playlist with two copies of one of the tracks.
Configuration menu - View commit details
-
Copy full SHA for 16f0ab3 - Browse repository at this point
Copy the full SHA 16f0ab3View commit details
Commits on Aug 1, 2014
-
Merge branch 'coverArtSupport_3' of https://github.com/cardinot/mixxx …
…into coverArtSupport_4
Configuration menu - View commit details
-
Copy full SHA for 8fc3f7b - Browse repository at this point
Copy the full SHA 8fc3f7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 96a3d44 - Browse repository at this point
Copy the full SHA 96a3d44View commit details -
dlgcoverfetcher - add button to apply modifications (just UI)
I realized that firstly I need to improve the tableview and then make the slot work properly... Anyway, let's leave it done...
Configuration menu - View commit details
-
Copy full SHA for a347052 - Browse repository at this point
Copy the full SHA a347052View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93ca2dd - Browse repository at this point
Copy the full SHA 93ca2ddView commit details
Commits on Aug 2, 2014
-
Update translation template. Found 1743 source text(s) (5 new and 173…
…8 already existing)
Configuration menu - View commit details
-
Copy full SHA for 596cf4e - Browse repository at this point
Copy the full SHA 596cf4eView commit details -
Pull latest translations from https://www.transifex.com/projects/p/mi…
…xxxdj/. Compile QM files out of TS files that are used by the localized app.
Configuration menu - View commit details
-
Copy full SHA for 5e29298 - Browse repository at this point
Copy the full SHA 5e29298View commit details -
Configuration menu - View commit details
-
Copy full SHA for 169c8f1 - Browse repository at this point
Copy the full SHA 169c8f1View commit details
Commits on Aug 3, 2014
-
Configuration menu - View commit details
-
Copy full SHA for c8e7143 - Browse repository at this point
Copy the full SHA c8e7143View commit details -
Merge pull request mixxxdj#300 from badescunicu/search_log
Search Functionality to Developer's Log
Configuration menu - View commit details
-
Copy full SHA for c5942e7 - Browse repository at this point
Copy the full SHA c5942e7View commit details -
Merge pull request mixxxdj#287 from zak-reynolds/master
Fix for Bug #1023804: Stop AutoDJ shuffle from putting two of the same song together
Configuration menu - View commit details
-
Copy full SHA for a75da7e - Browse repository at this point
Copy the full SHA a75da7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e5bc2d - Browse repository at this point
Copy the full SHA 6e5bc2dView commit details
Commits on Aug 4, 2014
-
Merge pull request #1 from cardinot/coverArtSupport_2
Cover art support 2
Configuration menu - View commit details
-
Copy full SHA for 8ee4974 - Browse repository at this point
Copy the full SHA 8ee4974View commit details -
Merge pull request #2 from cardinot/coverArtSupport_3
Cover art support 3
Configuration menu - View commit details
-
Copy full SHA for e17ae9b - Browse repository at this point
Copy the full SHA e17ae9bView commit details -
Merge branch 'coverArtSupport_2' of https://github.com/cardinot/mixxx …
…into coverArtSupport
Configuration menu - View commit details
-
Copy full SHA for 548d53f - Browse repository at this point
Copy the full SHA 548d53fView commit details -
Merge branch 'master' of https://github.com/mixxxdj/mixxx into coverA…
…rtSupport
Configuration menu - View commit details
-
Copy full SHA for 0d6f527 - Browse repository at this point
Copy the full SHA 0d6f527View commit details -
Merge branch 'coverArtSupport' of https://github.com/cardinot/mixxx i…
…nto coverArtSupport_4
Configuration menu - View commit details
-
Copy full SHA for b28cf6c - Browse repository at this point
Copy the full SHA b28cf6cView commit details