On complète la gestion du cache pour les métadonnées

This commit is contained in:
2025-10-26 13:05:46 +01:00
parent ff1ef01caa
commit 2ffeff8736
7 changed files with 83 additions and 23 deletions

View File

@@ -384,7 +384,7 @@ pub async fn add_with_metadata_extraction(
cache.wait_until_finished(&pk).await?;
// Lire le fichier FLAC pour extraire les métadonnées
let file_path = cache.file_path(&pk);
let file_path = cache.get_file_path(&pk);
let flac_bytes = tokio::fs::read(&file_path).await?;
// Extraire les métadonnées