-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add control for AutoDJ status #6982
Comments
Commented by: daschuer The attached patch introduces a new Control Object as toggle button similar to "[Channel1]", "play": We can consider to entirely remove "toggle_autodj" later. |
Commented by: wagnerflo This is great! I'll test the patch as soon as possible, which sadly won't be before the weekend. |
Commented by: rryan Hey Daniel -- the patch looks good except I think the
should be to the COTM not the CO. |
Commented by: daschuer Thank your RJ. Yes, I was not sure. What do think about removing the "toggle_autodj"? |
Commented by: esbrandt If this change goes into 1.11, let's not forget to adjust the keyboard mappings as we currently use "toggle_autodj" there. |
Commented by: daschuer I am pro committing to 1.11.1. So I will change existing mappings, learning wizards and keyboard shortcuts. What do you think? |
Commented by: rryan I think toggle should stay -- otherwise how can you toggle AutoDJ with a
|
Commented by: wagnerflo By setting it to the negation of the value the control currently has? In Midi-/Javascript terms "engine.setValue(group, name, !engine.getValue(group, name))". |
Commented by: daschuer Committed to lp:mixxx/1.11 revision 3816 as proposed in #6 |
Commented by: daschuer Oh I am sorry, I have not read #7 and #8 before #9. "[AutoDJ]", "enabled" behaves exactly like "toggle_autodj" when setting from midi mapping or keyboard, because it has setButtonMode(ControlPushButton::TOGGLE) So it was save to me to delete toggle_autodj. |
Commented by: rryan Gotcha -- I misunderstood. Thanks!
|
Commented by: wagnerflo I've tested revision 3818 of the mixxx/1.11 branch in regard to this functionality and found it to be working as expected! Thanks again. |
Commented by: daschuer Thank you for re-testing! |
Issue closed with status Fix Released. |
Reported by: wagnerflo
Date: 2013-04-08T09:19:53Z
Status: Fix Released
Importance: Medium
Launchpad Issue: lp1166095
Tags: autodj
Attachments: autodj_enabled.patch
Yesterday I looked at adding a binding in my MIDI controller mapping for AutoDJ. I've found the "toggle_autodj" control which most of the time will turn AutoDJ on/off if used with setValue (not always: if there are no songs in the AutoDJ queue it will do nothing).
But there seems to be no control that signals AutoDJ status and thus no way to use engine.connectControl to get notified (for binding an LED on the controller, for example). That would be important because AutoDJ will turn of by itself when it runs out of songs. That would be nice to display on the controller.
The text was updated successfully, but these errors were encountered: