sonda/cmd/sondad
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
..
buildinfo.go fix: the new module path in the build info file 2026-11-15 17:32:15 +01:00
buildinfo_test.go feat: show the version of Sonda 2026-11-15 17:30:14 +01:00
logger.go feat: add sondad server with config, storage, auth and listening API 2026-11-11 12:06:15 +01:00
main.go feat: scan the libraries by themselves when their music changed 2026-11-16 13:05:09 +01:00
scan.go chore: move the module path to git.kmalloc.org/squid/sonda 2026-11-15 17:30:29 +01:00