Analyze shouldn't show tracks that are already analyzed

Bug #1011312 reported by Max Linke
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Mixxx
Confirmed
Wishlist
Unassigned

Bug Description

Analyze now shows also tracks that are already analyzed we should filter it to only show songs that are not analyzed

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

Additional thoughts:
* What is the "New" button for?
* Do we need an option to reanalyze?

Changed in mixxx:
status: New → Confirmed
Revision history for this message
jus (jus) wrote :

Just as the tooltip states the "New" radio button lists tracks added to the library within the last 7 day. The usefulness of the button is questionable.

Listing only tracks that have not already been analyzed sound reasonable as well as having an easy way to re-analyze tracks. The Analyze view is the natural place for that.

We have already a "Clear BPM and beatgrid" option in the tracks mouse menu but users would currently have to sort the library for tracks with 0 BPM to have a clue which tracks need to be (re)analyzed eventually..

Changed in mixxx:
importance: Undecided → Low
Revision history for this message
Max Linke (max-linke) wrote :

How about we change the two radio buttons in two checkboxes , 're-analyze' and 'not analyzed'.

Would it be useful to offer a re-analyze option for tracks that have already been analyzed by the current mixxx-version?

Revision history for this message
RJ Skerry-Ryan (rryan) wrote : Re: [Bug 1011312] Re: Analyze shouldn't show tracks that are already analyzed

One issue we will have to tackle with this bug is that we don't currently
have a good way of knowing that a track is analyzed (we could store the
tracks analysis status in the DB). Another issue is that if we mark a track
analyzed then in the future we might change the default analyzers (or the
user might change their analysis preferences) in which case we would want
to re-analyze even though we have analyzed it previously.

On Mon, Jun 11, 2012 at 6:56 AM, Max Linke <email address hidden>wrote:

> How about we change the two radio buttons in two checkboxes , 're-
> analyze' and 'not analyzed'.
>
> Would it be useful to offer a re-analyze option for tracks that have
> already been analyzed by the current mixxx-version?
>
> --
> You received this bug notification because you are a member of Mixxx
> Development Team, which is subscribed to Mixxx.
> https://bugs.launchpad.net/bugs/1011312
>
> Title:
> Analyze shouldn't show tracks that are already analyzed
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mixxx/+bug/1011312/+subscriptions
>

Revision history for this message
Max Linke (max-linke) wrote :

Instead of storing a boolean to know if a track is analyzed we could save a 32bit flag to also store which analyzer version was used. In case the analyse options are changed this flag in the library could be set to 0.

This way we would keep track of all tracks that currently need to be analyzed

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

The main problem with this is that you don't know if the analyzer has been
run with the user's current preference settings on a given track. For
example, AnalyserBeats records a beats_version and beats_sub_version in the
library table and when checking whether to analyze a track (among other
preference options) it checks if the preferred beats_version or
beats_sub_version have changed. If they've changed then it may re-analyze
the track even though it has already been analyzed by the analyzer. So you
can't just represent whether the beat analyze should run on a track in a
bitvector.

On Tue, Jul 3, 2012 at 9:44 AM, Max Linke <email address hidden>wrote:

> Instead of storing a boolean to know if a track is analyzed we could
> save a 32bit flag to also store which analyzer version was used. In case
> the analyse options are changed this flag in the library could be set to
> 0.
>
> This way we would keep track of all tracks that currently need to be
> analyzed
>
> --
> You received this bug notification because you are a member of Mixxx
> Development Team, which is subscribed to Mixxx.
> https://bugs.launchpad.net/bugs/1011312
>
> Title:
> Analyze shouldn't show tracks that are already analyzed
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mixxx/+bug/1011312/+subscriptions
>

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

I have thought about something similar, but use the flags for single information like that:

#define REPLAY_GAIN_ANALYSIS_V1 0x00000001
#define WAVEFORM_ANALYSIS_V1 0x00000002
#define BEATGRID_ANALYSIS_V1 0x00000004
#define BEATGRID_ANALYSIS_V2 0x00000008
#define KEY_ANALYSIS_V1 0x00000010

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

Addition to post #7 (Have not read RJs post until now)

If a new Mixxx version comes with a new or optimized analyzer task, It should use a new flag from the bit field.

If the user changes the preferences in for example beat detection, the BEATGRID_ANALYSIS_V2 bit is reset in all tracks after a warning.
With this solution will be possible to run only the specific analysis task which is really needed.

I am not sure if this covers all corner cases, but for me it is better than the current solution.

RJ Skerry-Ryan (rryan)
Changed in mixxx:
importance: Low → Wishlist
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/6521

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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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