Enable searching for tracks in a range of bpms

Bug #939845 reported by Owen Williams
This bug report is a duplicate of:  Bug #661454: Support search operators. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
In Progress
Wishlist
Owen Williams

Bug Description

It would be nice to search for tracks of a certain bpm range. Here's a patch that does it!

Just type a term in the form "120-140" (no spaces) in the search box. The patch looks for the hyphen and then looks for two integers on either side. If any of these requirements isn't satisfied the term is treated as a regular search term.

Owen Williams (ywwg)
description: updated
description: updated
Revision history for this message
Owen Williams (ywwg) wrote :

Whoops typo, forgot to initialize a variable.

Revision history for this message
jus (jus) wrote :

Thanks Owen, tested and works like a charm.

Changed in mixxx:
status: New → In Progress
importance: Undecided → Wishlist
milestone: none → 1.10.1
Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

The patch looks good to me except I'd prefer that we make the user be a little more explicit about searching by BPM.

Bart did some work on this for his GSoC project but it hasn't been merged yet. So that people don't have to learn the new way when his branch merges, I think it'd be better if this patch matched the behavior of the advanced search branch.

Doing this just means checking for a "bpm:" prefix. For example:

[com truise bpm:110-120]

Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

Trunk now has the ability to do queries like:

bpm:140.5-150.235
bpm:>140
bpm:<=140
bpm:>140.5

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/6283

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.