From a0b6463273bff2affbcc9271f04f14f8d2ff847d Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 5 Nov 2025 19:44:38 +0000 Subject: [PATCH] Fix play_and_cache example: enable pmoconfig feature for PlaylistManager - Add pmoconfig to the 'full' feature so PlaylistManager can auto-initialize - Update play_and_cache example to use AudioSink::new() without volume - Remove unused PlaylistManager import Without pmoconfig feature enabled, PlaylistManager::get() fails with "PlaylistManager not initialized" error. --- pmoparadise/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmoparadise/Cargo.toml b/pmoparadise/Cargo.toml index 987e3ab9..baf25782 100644 --- a/pmoparadise/Cargo.toml +++ b/pmoparadise/Cargo.toml @@ -91,7 +91,7 @@ cache = [] # Active le support pmoaudio node (RadioParadiseStreamSource) pmoaudio = ["dep:pmoaudio", "dep:pmoflac", "dep:pmometadata", "dep:futures-util"] # Active le support complet avec playlist (pour les exemples avancés) -full = ["pmoaudio", "dep:pmoaudio-ext"] +full = ["pmoaudio", "dep:pmoaudio-ext", "pmoconfig"] [dev-dependencies] # Tests