Skip to content

[BUG] Analysis repeatedly attempts to process albums with "skipped" songs. #215

@TJ09

Description

@TJ09

Describe the bug
Several albums in my library have "songs" that are either silent or too short to analyze. The analysis step correctly skips over these (e.g. Skipping track [silence] by TV on the Radio as analysis returned None.), but the next time analysis is run, these same albums are analyzed again, rather than being skipped as having complete analysis.

To Reproduce
Steps to reproduce the behavior:
0. Have an audio file that is completely silent. This can be easily generated and added to any album for testing.

  1. Run analysis.
  2. See that the album was launched and analyzed (log reports "analysis complete").
  3. Run analysis again.
  4. See that the album was again launched and analyzed.

Expected behavior
After the first analysis, subsequent runs are no-ops since all valid files have been analyzed (barring actual errors such as decoding failures).

Environment (please complete the following information):

  • Deployment: Docker Compose
  • AudioMuse-AI Version: v0.7.12-beta

Additional Context

To be clear, I don't expect any meaningful analysis to occur on short/silent songs, but re-analyzing the album on each run is wasted effort that ideally can be avoided.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions