From f7b839b15db9b72b5c5eb80e44e70ac2eedbe232 Mon Sep 17 00:00:00 2001 From: Ian Walton Date: Wed, 21 Apr 2021 19:17:49 -0400 Subject: [PATCH] Fix setting to allow fully disabling OSC. (#212) --- .../com.github.iwalton3.jellyfin-mpv-shim.appdata.xml | 1 + jellyfin_mpv_shim/menu.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/jellyfin_mpv_shim/integration/com.github.iwalton3.jellyfin-mpv-shim.appdata.xml b/jellyfin_mpv_shim/integration/com.github.iwalton3.jellyfin-mpv-shim.appdata.xml index 8ebe5910c5..bb7425ecb2 100644 --- a/jellyfin_mpv_shim/integration/com.github.iwalton3.jellyfin-mpv-shim.appdata.xml +++ b/jellyfin_mpv_shim/integration/com.github.iwalton3.jellyfin-mpv-shim.appdata.xml @@ -62,6 +62,7 @@

Fix DPI issue on Windows.

Remove dependency on pydantic and handle some possible config errors.

+

Fix setting to allow fully disabling OSC. (#212)

diff --git a/jellyfin_mpv_shim/menu.py b/jellyfin_mpv_shim/menu.py index 8622ab70b1..37d1746748 100644 --- a/jellyfin_mpv_shim/menu.py +++ b/jellyfin_mpv_shim/menu.py @@ -198,7 +198,7 @@ def hide_menu(self): ) self.playerManager.show_text("", 0, 0) - self.playerManager.enable_osc(True) + self.playerManager.enable_osc(settings.enable_osc) self.playerManager.triggered_menu(False) self.playerManager.force_window(False)