Skip to content

Commit

Permalink
Disable player loggin in release
Browse files Browse the repository at this point in the history
  • Loading branch information
core1024 committed Jan 28, 2025
1 parent 82a0b15 commit 21fb872
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/stremio_app/stremio_player/player.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ fn create_shareable_mpv(window_handle: HWND) -> Arc<Mpv> {
set_property!("title", "Stremio");
set_property!("audio-client-name", "Stremio");
set_property!("terminal", "yes");
#[cfg(debug_assertions)]
set_property!("msg-level", "all=no,cplayer=debug");
#[cfg(not(debug_assertions))]
set_property!("msg-level", "all=no");
set_property!("quiet", "yes");
set_property!("hwdec", "auto");
Ok(())
Expand Down

0 comments on commit 21fb872

Please sign in to comment.