Skip to content

Commit

Permalink
Fix osc being forced to always show.
Browse files Browse the repository at this point in the history
  • Loading branch information
iwalton3 committed Feb 17, 2023
1 parent b6eb3b0 commit 9a92d2b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Jellyfin MPV Shim.iss
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion jellyfin_mpv_shim/constants.py
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@

<content_rating type="oars-1.1" />
<releases>
<release version="2.4.1" date="2023-02-16">
<release version="2.4.2" date="2023-02-16">
<description>
<p>Add preview images on seek bar. (Works with chapter images by default, also supports JellyScrub.)</p>
<p>Handle removal of already configured shader profiles gracefully.</p>
Expand Down
2 changes: 1 addition & 1 deletion jellyfin_mpv_shim/player.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name="jellyfin-mpv-shim",
version="2.4.1",
version="2.4.2",
author="Ian Walton",
author_email="[email protected]",
description="Cast media from Jellyfin Mobile and Web apps to MPV.",
Expand Down

0 comments on commit 9a92d2b

Please sign in to comment.