Skip to content

[BUG] AudioMuse-AI Opens Multiple Browser Windows #827

Description

@sposschip
  • [ x ] I confirm that I have reviewed the FAQ, issues, and discussions, and found no existing solution.

Describe the bug

AudioMuse-AI attempts to open http://127.0.0.1:8000 in the system browser multiple times within several seconds. This seems to happen during any analysis task (manually started or scheduled task), just before the Chromaprint backfill begins.

To Reproduce

Steps to reproduce the behavior:
Start a analysis task and wait until just before the backfill starts.

Expected behavior

Audiomuse should not open browser windows unattended.

Environment (please complete the following information):

  • OS: Mac OS
  • Deployment: Native Mac App
  • AudioMuse-AI Version: V3.1.0 (but the issue occurred in previous versions too, at least every 3.0.0+ version)
  • Navidrome/Jellyfin Version: Navidrome 0.63.2
  • Browser: Firefox
  • CPU: Apple Mac Studio M2 Ultra
  • RAM: 64 GB
  • Disk: 1TB SSD

Additional context

This is all I can find in the log regarding the server url:
14:14:46.297 _LSOpenURLsWithCompletionHandler() failed with error -1712 for the URL http://127.0.0.1:8000.
14:14:46.303 _LSOpenURLsWithCompletionHandler() failed with error -1712 for the URL http://127.0.0.1:8000.
14:14:46.311 _LSOpenURLsWithCompletionHandler() failed with error -1712 for the URL http://127.0.0.1:8000.
14:14:46.313 _LSOpenURLsWithCompletionHandler() failed with error -1712 for the URL http://127.0.0.1:8000.
14:14:46.313 _LSOpenURLsWithCompletionHandler() failed with error -1712 for the URL http://127.0.0.1:8000.
14:14:46.313 _LSOpenURLsWithCompletionHandler() failed with error -1712 for the URL http://127.0.0.1:8000.
14:14:46.840 _LSOpenURLsWithCompletionHandler() failed with error -1712 for the URL http://127.0.0.1:8000.

4 multiprocessing/resource_tracker "process died unexpectedly, relaunching" warnings occur in the same timeframe, along with a TerminatedWorkerError.

The Chromaprint backfill proceeds normally after these errors, so functionality is not impacted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions