From 1f140fd3c134bb88ab8540796e2d0bb9c63ff463 Mon Sep 17 00:00:00 2001 From: CodeDevMLH <145071728+CodeDevMLH@users.noreply.github.com> Date: Sun, 8 Feb 2026 01:09:38 +0100 Subject: [PATCH] Bump version to 1.5.0.2 and update changelog for mediaBarEnhanced.js and manifest.json; enhance keyboard controls in TV mode --- .../Jellyfin.Plugin.MediaBarEnhanced.csproj | 2 +- .../Web/mediaBarEnhanced.js | 14 +++++++++++++- manifest.json | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/Jellyfin.Plugin.MediaBarEnhanced/Jellyfin.Plugin.MediaBarEnhanced.csproj b/Jellyfin.Plugin.MediaBarEnhanced/Jellyfin.Plugin.MediaBarEnhanced.csproj index 9d3b32e..79ab873 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.1 + 1.5.0.2 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 bd8d41d..8ececb0 100644 --- a/Jellyfin.Plugin.MediaBarEnhanced/Web/mediaBarEnhanced.js +++ b/Jellyfin.Plugin.MediaBarEnhanced/Web/mediaBarEnhanced.js @@ -2581,8 +2581,20 @@ const SlideshowManager = { break; case "Enter": - if (focusElement) { + if (focusElement && focusElement.tagName !== "BODY" && focusElement.id !== "slides-container") { focusElement.click(); + } else { + // If no specific element is focused (Remote/TV mode default), open details for current item + const currentItemId = STATE.slideshow.itemIds[STATE.slideshow.currentSlideIndex]; + if (currentItemId) { + if (window.Emby && window.Emby.Page) { + Emby.Page.show( + `/details?id=${currentItemId}&serverId=${STATE.jellyfinData.serverId}` + ); + } else { + window.location.href = `#/details?id=${currentItemId}&serverId=${STATE.jellyfinData.serverId}`; + } + } } e.preventDefault(); break; diff --git a/manifest.json b/manifest.json index 33abf3a..188d37e 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.1", + "version": "1.5.0.2", "changelog": "- fix: keyboard controls in TV mode \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.1/Jellyfin.Plugin.MediaBarEnhanced.zip",