diff --git a/src-tauri/src/api/player.rs b/src-tauri/src/api/player.rs index d6d3d73..38f8ee1 100644 --- a/src-tauri/src/api/player.rs +++ b/src-tauri/src/api/player.rs @@ -111,6 +111,7 @@ pub async fn search_audio( let mut search_index: SearchIndex = SearchIndex::default(); // this has to be done when the app starts ! + // this create a problem when we switch between playlist and search player.playlists[&playlist] .iter() .enumerate()