Skip to content

Feature Request: Auto-sync watched folders to library (folder watching) #964

@highschooldropout

Description

@highschooldropout

Problem / Use Case
I use Syncthing to keep my music library synced across multiple Macs. Currently, I have to manually drag/import new music files into Museeks on each device every time Syncthing syncs new tracks to the folders.

Current workflow:

  1. Add music to Device A
  2. Syncthing syncs to Device B
  3. Manually drag the new folder(s) into Museeks on both devices to import it

This becomes tedious and is easy to forget when frequently adding new music.

Proposed Solution
Add a folder watching feature that allows Museeks to:

  • Monitor specified folders for changes (new files, deleted files, modified metadata)
  • Automatically import new tracks that appear in watched folders
  • Optionally remove tracks from the library when files are deleted (or mark them as unavailable)
  • Rescan watched folders on app startup

Implementation ideas:

  • Watch folders could be configured alongside the current "Scan directories" feature
  • Could be opt-in (not automatic) to avoid performance issues with slow drives
  • Use native OS file watching APIs (e.g., FSEvents on macOS, inotify on Linux, ReadDirectoryChangesW on Windows)

Alternative Considerations
If full folder watching is too complex or resource-intensive for the roadmap, a simpler "Auto-rescan folders on startup" option would also help. Another option could be a manual "Rescan Library" button that actually detects new files in already-scanned folders (related to #742).

Environment

  • macOS (multiple devices via Syncthing)
  • Museeks latest version

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions