Provide script helper functions for dealing with time.

Bug #1021552 reported by Ilkka Tuohela
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Confirmed
Wishlist
Unassigned

Bug Description

As a wishlist item for devices like Pioneer CDJ decks, which can display playing track position with hour:minutes:seconds resolution, I propose new control output objects:

- track_position_hours is triggered when deck track 'hour' value is changed
- track_position_minutes is triggered when deck track 'minutes' value is changed
- track_position_seconds is triggered when deck track 'seconds' value is changed

In addition, we should provide similar reverse output controls for remaining time, 'track_position_remain_hours', 'track_position_remain_minutes' and 'track_position_remain_seconds'. These are used when 'show remaining track time' value is shown.

While these can be created with a javascript function from track length and track_position, this is something which should not require timers and custom code, I think.

Related signal to implement would be 'track_position_warning', triggered to true when the position of track is within n seconds from end of track, which is configurable in mixxx. Right now the javascript implementation of such functionality can't follow the configured value in mixxx, I believe.

Tags: controllers
RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: New → Confirmed
importance: Undecided → Wishlist
tags: added: javascript
Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

Instead of this I think we should just provide good library functions for converting a position CO for a deck into individual components.

summary: - Add control objects for track time display
+ Provide script helper functions for dealing with time.
tags: added: controllers
removed: javascript
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/6564

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.