From 9a92d2b1300647d26b994983d8aa581ca36e12a4 Mon Sep 17 00:00:00 2001 From: Ian Walton Date: Thu, 16 Feb 2023 23:59:41 -0500 Subject: [PATCH] Fix osc being forced to always show. --- Jellyfin MPV Shim.iss | 2 +- jellyfin_mpv_shim/constants.py | 2 +- .../com.github.iwalton3.jellyfin-mpv-shim.appdata.xml | 2 +- jellyfin_mpv_shim/player.py | 2 +- setup.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Jellyfin MPV Shim.iss b/Jellyfin MPV Shim.iss index cebaf56a9e..e638a60973 100644 --- a/Jellyfin MPV Shim.iss +++ b/Jellyfin MPV Shim.iss @@ -2,7 +2,7 @@ ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! #define MyAppName "Jellyfin MPV Shim" -#define MyAppVersion "2.4.1" +#define MyAppVersion "2.4.2" #define MyAppPublisher "Ian Walton" #define MyAppURL "https://github.com/jellyfin/jellyfin-mpv-shim" #define MyAppExeName "run.exe" diff --git a/jellyfin_mpv_shim/constants.py b/jellyfin_mpv_shim/constants.py index 5bf70b4363..e126d0479d 100644 --- a/jellyfin_mpv_shim/constants.py +++ b/jellyfin_mpv_shim/constants.py @@ -1,6 +1,6 @@ APP_NAME = "jellyfin-mpv-shim" USER_APP_NAME = "Jellyfin MPV Shim" -CLIENT_VERSION = "2.4.1" +CLIENT_VERSION = "2.4.2" USER_AGENT = "Jellyfin-MPV-Shim/%s" % CLIENT_VERSION CAPABILITIES = { "PlayableMediaTypes": "Video", 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 d61c207d26..19d639506e 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 @@ -58,7 +58,7 @@ - +

Add preview images on seek bar. (Works with chapter images by default, also supports JellyScrub.)

Handle removal of already configured shader profiles gracefully.

diff --git a/jellyfin_mpv_shim/player.py b/jellyfin_mpv_shim/player.py index 5cd6797594..7a33713e22 100644 --- a/jellyfin_mpv_shim/player.py +++ b/jellyfin_mpv_shim/player.py @@ -1054,7 +1054,7 @@ def set_osd_settings(self, back_color: str, font_size: int): def enable_osc(self, enabled: bool): if settings.thumbnail_enable and self.trickplay: self.script_message( - "osc-visibility", "always" if enabled else "never", "False" + "osc-visibility", "auto" if enabled else "never", "False" ) else: if hasattr(self._player, "osc"): diff --git a/setup.py b/setup.py index 34040d5801..a777e12abc 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name="jellyfin-mpv-shim", - version="2.4.1", + version="2.4.2", author="Ian Walton", author_email="iwalton3@gmail.com", description="Cast media from Jellyfin Mobile and Web apps to MPV.",