From 5635a8f05ea47c0b0240c902211875597591bec4 Mon Sep 17 00:00:00 2001 From: CodeDevMLH <145071728+CodeDevMLH@users.noreply.github.com> Date: Mon, 9 Feb 2026 16:53:33 +0100 Subject: [PATCH] Bump version to 1.5.0.16 and update changelog for keyboard controls and sorting options --- .../Jellyfin.Plugin.MediaBarEnhanced.csproj | 2 +- Jellyfin.Plugin.MediaBarEnhanced/Web/mediaBarEnhanced.js | 7 +++++++ manifest.json | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Jellyfin.Plugin.MediaBarEnhanced/Jellyfin.Plugin.MediaBarEnhanced.csproj b/Jellyfin.Plugin.MediaBarEnhanced/Jellyfin.Plugin.MediaBarEnhanced.csproj index e50386a..9a41816 100644 --- a/Jellyfin.Plugin.MediaBarEnhanced/Jellyfin.Plugin.MediaBarEnhanced.csproj +++ b/Jellyfin.Plugin.MediaBarEnhanced/Jellyfin.Plugin.MediaBarEnhanced.csproj @@ -12,7 +12,7 @@ Jellyfin Media Bar Enhanced Plugin CodeDevMLH - 1.5.0.15 + 1.5.0.16 https://github.com/CodeDevMLH/jellyfin-plugin-media-bar-enhanced diff --git a/Jellyfin.Plugin.MediaBarEnhanced/Web/mediaBarEnhanced.js b/Jellyfin.Plugin.MediaBarEnhanced/Web/mediaBarEnhanced.js index 5ce962d..8aefc8c 100644 --- a/Jellyfin.Plugin.MediaBarEnhanced/Web/mediaBarEnhanced.js +++ b/Jellyfin.Plugin.MediaBarEnhanced/Web/mediaBarEnhanced.js @@ -2655,6 +2655,13 @@ const SlideshowManager = { return; } + const activeElement = document.activeElement; + const isSlideshowFocused = container.contains(activeElement) || activeElement === container || activeElement === document.body; + + if ((e.key === "ArrowRight" || e.key === "ArrowLeft") && !isSlideshowFocused) { + return; + } + switch (e.key) { case "ArrowRight": SlideshowManager.nextSlide(); diff --git a/manifest.json b/manifest.json index d8bf04e..5c6e492 100644 --- a/manifest.json +++ b/manifest.json @@ -9,7 +9,7 @@ "imageUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/jellyfin-plugin-media-bar-enhanced/raw/branch/main/logo.png", "versions": [ { - "version": "1.5.0.15", + "version": "1.5.0.16", "changelog": "- fix: keyboard controls in TV mode\n- Add sorting options for content\n- Update mediaBarEnhanced.js and mediaBarEnhanced.css with version 4.0.1 from original repo", "targetAbi": "10.11.0.0", "sourceUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/jellyfin-plugin-media-bar-enhanced/releases/download/v1.5.0.15/Jellyfin.Plugin.MediaBarEnhanced.zip",