From 82a0b15b358292d5c5919ce6fde695f389519a9e Mon Sep 17 00:00:00 2001 From: Vladimir Borisov Date: Tue, 28 Jan 2025 09:50:50 +0200 Subject: [PATCH] Do not set audio track id. Set audio name --- src/stremio_app/stremio_player/player.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/stremio_app/stremio_player/player.rs b/src/stremio_app/stremio_player/player.rs index 7ba1f29..3eeb3db 100644 --- a/src/stremio_app/stremio_player/player.rs +++ b/src/stremio_app/stremio_player/player.rs @@ -68,12 +68,11 @@ fn create_shareable_mpv(window_handle: HWND) -> Arc { } set_property!("wid", window_handle as i64); set_property!("title", "Stremio"); + set_property!("audio-client-name", "Stremio"); set_property!("terminal", "yes"); set_property!("msg-level", "all=no,cplayer=debug"); set_property!("quiet", "yes"); set_property!("hwdec", "auto"); - // FIXME: very often the audio track isn't selected when using "aid" = "auto" - set_property!("aid", "1"); Ok(()) }); Arc::new(mpv.expect("cannot build MPV"))