Enhance audio verification features and improve code structure

- Added `ffmpeg` as a dependency in `flake.nix` and `package-cleanup.nix` for audio file property analysis.
- Updated `main.py` to include new functions for retrieving audio file properties using `ffprobe` and verifying audio matches with detailed confidence scoring.
- Refactored fingerprint comparison logic to improve accuracy and added logging for better traceability.
- Enhanced the `find_duplicate_singles` function to support audio verification results and confidence scores, providing clearer output for users.
This commit is contained in:
Danilo Reyes
2025-11-13 23:21:12 -06:00
parent 026c7fe0d8
commit 03e8eb6f4e
3 changed files with 450 additions and 120 deletions

View File

@@ -52,11 +52,13 @@
))
pkgs.black
pkgs.chromaprint
pkgs.ffmpeg
];
shellHook = ''
echo "Python environment ready!"
echo "Run: python src/main.py"
echo "Format code with: black src/"
echo "Audio verification tools: ffprobe (ffmpeg), fpcalc (chromaprint)"
'';
};
};