Skip to content

AutoDJProcessor: Display the remaining duration of the Auto DJ queue in the UI - #16863

Draft
cr7pt0gr4ph7 wants to merge 4 commits into
mixxxdj:mainfrom
cr7pt0gr4ph7:rtm_autodj_displayremaining
Draft

AutoDJProcessor: Display the remaining duration of the Auto DJ queue in the UI#16863
cr7pt0gr4ph7 wants to merge 4 commits into
mixxxdj:mainfrom
cr7pt0gr4ph7:rtm_autodj_displayremaining

Conversation

@cr7pt0gr4ph7

@cr7pt0gr4ph7 cr7pt0gr4ph7 commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

The remaining play time of the Auto DJ queue is exposed in the following places:

  • In the title of the "Auto DJ" library node (like it is already done for playlists & crates)
  • In the header of the tracks tabel in the "Auto DJ" view
  • Via the queue_duration (duration in seconds) and queue_tracks (number of tracks) control objects

Note that the current calculation method for the queue duration only considers the total duration of the tracks by themselves, and does not take the transition times between tracks into account. This is fixed in the final PR of the series #16865, which has been split off because it requires all the other parts in the series.

Split off on @daschuer's request from: #13183 (which has now been superseded by #16865).


This PR is the third in a five-part series that culminates in #16865 to display the accurate remaining play time of the Auto DJ queue in the UI.

  1. AutoDJProcessor: Move DeckAttributes into its own file #16861
  2. AutoDJProcessor: Add TrackAttributes implementation #16862
  3. AutoDJProcessor: Display the remaining duration of the Auto DJ queue in the UI #16863
  4. AutoDJProcessor: Add calculateTransitionImpl and make it free from side-effects #16864
  5. AutoDJProcessor: Accurately calculate the remaining play time #16865

…ation

The queue_duration and queue_tracks controls in the [AutoDJ] group
can be used to display the information about the Auto DJ queue
in custom skins.

The current calculation method for the queue_duration control
only considers the total duration of the tracks by themselves,
and does not take the transition times between tracks into account.
This will automatically account for the transition times between the tracks
once AutoDJProcessor::getQueueDuration() is updated to respect the
transition times.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant