sonda/internal/library
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi 89f1b5275a feat: scan the libraries by themselves when their music changed
Every 15 minutes (library.auto_scan_minutes, SONDA_AUTO_SCAN_MINUTES, 0 turns it off)
Sonda takes the signature of each library, a hash of the names of everything in it folder
by folder, which costs only the names of the files and so suits a NAS that sleeps. A
library whose signature changed (a song or a folder came, went or was renamed) is
scanned the usual way; every library is also scanned at least once a day, to find a song
tagged again where it stands.

It does not scan while another scan runs, tries again at the next look when a scan failed,
leaves alone a folder that cannot be read (a NAS that is not mounted), and ignores the
housekeeping folders of a NAS.
2026-11-16 13:05:09 +01:00
..
autoscan.go feat: scan the libraries by themselves when their music changed 2026-11-16 13:05:09 +01:00
autoscan_test.go feat: scan the libraries by themselves when their music changed 2026-11-16 13:05:09 +01:00
hub.go feat(library): add concurrent read-only scanner with progress events 2026-11-11 12:16:45 +01:00
libraries.go feat(federation): shared libraries and the signed read API for friends 2026-11-13 15:04:07 +01:00
libraries_test.go feat(federation): shared libraries and the signed read API for friends 2026-11-13 15:04:07 +01:00
manager.go feat(discovery): remove provider data, genres from my files, full rescans 2026-11-11 17:27:29 +01:00
plan_test.go fix(discovery): purge lock, cleanup chains and rescans that cannot read 2026-11-11 17:36:14 +01:00
scanner.go fix(discovery): purge lock, cleanup chains and rescans that cannot read 2026-11-11 17:36:14 +01:00
scanner_test.go fix(discovery): purge lock, cleanup chains and rescans that cannot read 2026-11-11 17:36:14 +01:00
special_unix_test.go feat(library): named media libraries managed through the API 2026-11-11 13:30:25 +01:00
taglib.go feat(player): play every song at a similar volume with ReplayGain 2026-11-14 16:02:23 +01:00
taglib_test.go feat(player): play every song at a similar volume with ReplayGain 2026-11-14 16:02:23 +01:00
types.go feat(player): play every song at a similar volume with ReplayGain 2026-11-14 16:02:23 +01:00