fix: use Debian chromaprint tools package

This commit is contained in:
OpenClaw Agent
2026-09-18 04:54:46 +08:00
parent 8c658cfe76
commit 04e6f351e8
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ def index_file(conn, path: Path) -> None:
flags = ",".join(meta.get("version_flags", []))
conn.execute("""
INSERT INTO audio_tracks(file_path,file_size,fast_hash,duration,artist,title,album,format,bitrate,sample_rate,bit_depth,version_flags,inode,device,status)
VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,'active')
VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,'active')
ON CONFLICT(file_path) DO UPDATE SET file_size=excluded.file_size, fast_hash=excluded.fast_hash,
duration=excluded.duration,artist=excluded.artist,title=excluded.title,album=excluded.album,format=excluded.format,
bitrate=excluded.bitrate,sample_rate=excluded.sample_rate,bit_depth=excluded.bit_depth,version_flags=excluded.version_flags,