Big Debug of PMOQobuz step 3

This commit is contained in:
2025-12-13 13:57:20 +01:00
parent 50693aaf7a
commit d2f6abf4bb
28 changed files with 1765 additions and 59 deletions

View File

@@ -45,6 +45,10 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
println!("💾 Initializing caches...");
let cover_cache = Arc::new(CoverCache::new("./cache/qobuz-covers", 500)?);
let audio_cache = Arc::new(AudioCache::new("./cache/qobuz-audio", 100)?);
// IMPORTANT: Register audio cache globally so PlaylistManager can access it
pmoplaylist::register_audio_cache(audio_cache.clone());
println!("✅ Caches initialized\n");
// Step 3: Create QobuzSource with caches