Create current_deck ControlObject for script access

Bug #1528644 reported by Sean M. Pappalardo
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mixxx
Confirmed
Wishlist
Unassigned

Bug Description

Occasionally scripts need to know which deck is considered current (such as the MIDI_for_light virtual controller.)
We already have code that determines the current deck to show its track name in the title bar and streaming meta-data, so that same code would also update this new CO.

Revision history for this message
Michael S. (arbeit-u) wrote :

Yes, i need metadates in Script to increase functional of midi-for-light.
Additional some new controller have a diaplay. Example: Numark Mixdeck Express. So the meta-data using in script are very helpfull.

Revision history for this message
Daniel Schürmann (daschuer) wrote :

This should be solved together with: Bug #1115376

Revision history for this message
Sean M. Pappalardo (pegasus-renegadetech) wrote :

Not necessarily. What I'm proposing here is just a number: whichever deck is most "in front" in the mix. This can fit into the existing CO structure easily. (Once that other issue is resolved, you could use the number from this CO to get meta-data about the track loaded into the "current" deck.)

Revision history for this message
Daniel Schürmann (daschuer) wrote :

I thought you need the number to access the track meta data via [ChannelX] COs.
Once we have a solution for Bug #1115376 you can access the current track and current deck directly.

Or is there an other use for the current_deck CO?

Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/8386

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.