Print duration of selected tracks in AutoDJ#749
Print duration of selected tracks in AutoDJ#749daschuer merged 3 commits intomixxxdj:masterfrom idcmp:master
Conversation
There was a problem hiding this comment.
Some spaces are missing here. Give a look to this example from cachingreader :
for (int i = 0; i < maximumCachingReaderChunksInMemory; ++i) {There was a problem hiding this comment.
I guess you forgot to push as I see no change here ;)
|
These notes are code nit-picks but it will make @daschuer happy if they are fixed ;) Thanks for your work. |
|
@jclaveau Will update spacing! Is there a formatter I can use going forward? |
|
There have been discussions about it : #616 Simply give a look at this : And you'll see it's not that long to learn. |
|
Our style is defined here: I use Eclipse Autoformater: |
|
The position of the new info does not work for netbooks. There is not enough horizontal space left in the tree view. How about generalize this feature for all crates and play-lists. once we have some tracks selected it may turn into: This way all views can benefit from this nice new feature. |
- code cleanups
|
I've compacted the time being displayed to use @uklotzde's suggestion; this text also now fits in the default size for the Shade skin (for Netbooks). I generally try to make the left-side playlists/crates/autodj panel only as wide as it needs to be to see the names of the lists, and use the remaining width for the list of tracks, so generalizing the feature and putting in the left panel wouldn't solve my problem. I'd be open to introducing a full-width line under the existing library UI to add status information (but I appreciate that real estate is precious and rare). |
|
Nice. To fit into the limited screen space is another good reason for On 10/25/2015 07:51 AM, Idcmp wrote:
|
|
This version works for me, on my netbook. LGTM Thank you. Before we can merge this, you need to become a Mixxx contributor. And comment here when done. Which name should I put to the Mixxx about box? There are still some line break issues. If you like, you can verify whether you code uses 4 space indent and { at line end. Otherwise I will fix it after merge. |
|
Form signed. If you could put JAmes Atwill in the About box, that would be fun. :) I would appreciate if you could fix the tiny formatting issues. I set KDevelop to 'spaces', but it kept putting in tabs; I'm going to try something else out in the future. Thanks for your patience with me in adding this! |
|
Thank you for working on this. |
Print duration of selected tracks in AutoDJ
Relates to https://bugs.launchpad.net/mixxx/+bug/1505408 and possibly offers a fix.
Adds a human friendly duration of the selected tracks in AutoDJ next to the "Enable AutoDJ" button:
The exact time is available as a tooltip.
NOTE: I'm not a C++ programmer, so I may have overlooked something. 😄
I ran lupdate to update the mixxx.ts file. It made a truckload of changes to the file (mostly line number changes), but I've tried to only include the relevant lines in this pull request.
(I'd love it if this could make the next 1.12 beta.)