From a678e4ea827c3f6b2a8f16b225e1ba6949bb5a78 Mon Sep 17 00:00:00 2001 From: Michael Aaron Murphy Date: Wed, 11 Dec 2024 16:10:20 +0100 Subject: [PATCH] fix(default_apps: audio/mp3 not being associated for audio --- cosmic-settings/src/pages/system/default_apps.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cosmic-settings/src/pages/system/default_apps.rs b/cosmic-settings/src/pages/system/default_apps.rs index 0da04bc9..7a63dcb2 100644 --- a/cosmic-settings/src/pages/system/default_apps.rs +++ b/cosmic-settings/src/pages/system/default_apps.rs @@ -185,6 +185,7 @@ impl Page { "application/ogg", "application/x-cue", "application/x-ogg", + "audio/mp3", "x-content/audio-cdda", ] .into_iter(), @@ -392,6 +393,7 @@ async fn load_defaults(assocs: &BTreeMap, Arc>, for_mimes: &[&str] for (id, (appid, app)) in unsorted.iter().enumerate() { if let Some(current_app) = current_app { if app.name.as_ref() == current_app.name.as_ref() { + eprintln!("selected = {}; current = {}", app.name, current_app.name); selected = Some(id); } }