Compare commits

...

4 Commits

Author SHA1 Message Date
CodeDevMLH
b3c42e2100 Update manifest.json for release v1.5.0.22 [skip ci] 2026-02-09 23:08:41 +00:00
CodeDevMLH
20ddbb32c7 Bump version to 1.5.0.22 and update changelog for recent changes
All checks were successful
Auto Release Plugin / build-and-release (push) Successful in 50s
2026-02-10 00:07:51 +01:00
CodeDevMLH
14a5075e22 Update manifest.json for release v1.5.0.21 [skip ci] 2026-02-09 22:29:09 +00:00
CodeDevMLH
accb316a81 Bump version to 1.5.0.21 and update changelog for recent changes
All checks were successful
Auto Release Plugin / build-and-release (push) Successful in 55s
2026-02-09 23:28:15 +01:00
3 changed files with 15 additions and 7 deletions

View File

@@ -12,7 +12,7 @@
<!-- <TreatWarningsAsErrors>false</TreatWarningsAsErrors> --> <!-- <TreatWarningsAsErrors>false</TreatWarningsAsErrors> -->
<Title>Jellyfin Media Bar Enhanced Plugin</Title> <Title>Jellyfin Media Bar Enhanced Plugin</Title>
<Authors>CodeDevMLH</Authors> <Authors>CodeDevMLH</Authors>
<Version>1.5.0.20</Version> <Version>1.5.0.22</Version>
<RepositoryUrl>https://github.com/CodeDevMLH/jellyfin-plugin-media-bar-enhanced</RepositoryUrl> <RepositoryUrl>https://github.com/CodeDevMLH/jellyfin-plugin-media-bar-enhanced</RepositoryUrl>
</PropertyGroup> </PropertyGroup>

View File

@@ -2659,35 +2659,43 @@ const SlideshowManager = {
} }
const activeElement = document.activeElement; const activeElement = document.activeElement;
const isSlideshowFocused = container.contains(activeElement) || activeElement === container; const isTvMode = window.layoutManager && window.layoutManager.tv;
const isSlideshowFocused = container.contains(activeElement) || activeElement === container || (!isTvMode && activeElement === document.body);
if (!isSlideshowFocused) { const isInputElement = activeElement && (activeElement.tagName === 'INPUT' || activeElement.tagName === 'TEXTAREA' || activeElement.isContentEditable);
if (isInputElement) {
return; return;
} }
switch (e.key) { switch (e.key) {
case "ArrowRight": case "ArrowRight":
if (isTvMode && !isSlideshowFocused) return;
SlideshowManager.nextSlide(); SlideshowManager.nextSlide();
e.preventDefault(); e.preventDefault();
break; break;
case "ArrowLeft": case "ArrowLeft":
if (isTvMode && !isSlideshowFocused) return;
SlideshowManager.prevSlide(); SlideshowManager.prevSlide();
e.preventDefault(); e.preventDefault();
break; break;
case " ": // Space bar case " ": // Space bar
if (isTvMode && !isSlideshowFocused) return;
this.togglePause(); this.togglePause();
e.preventDefault(); e.preventDefault();
break; break;
case "m": // Mute toggle case "m": // Mute toggle
case "M": case "M":
if (isTvMode && !isSlideshowFocused) return;
this.toggleMute(); this.toggleMute();
e.preventDefault(); e.preventDefault();
break; break;
case "Enter": case "Enter":
if (!isSlideshowFocused) return;
const currentItemId = STATE.slideshow.itemIds[STATE.slideshow.currentSlideIndex]; const currentItemId = STATE.slideshow.itemIds[STATE.slideshow.currentSlideIndex];
if (currentItemId) { if (currentItemId) {
if (window.Emby && window.Emby.Page) { if (window.Emby && window.Emby.Page) {

View File

@@ -9,12 +9,12 @@
"imageUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/jellyfin-plugin-media-bar-enhanced/raw/branch/main/logo.png", "imageUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/jellyfin-plugin-media-bar-enhanced/raw/branch/main/logo.png",
"versions": [ "versions": [
{ {
"version": "1.5.0.20", "version": "1.5.0.22",
"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", "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", "targetAbi": "10.11.0.0",
"sourceUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/jellyfin-plugin-media-bar-enhanced/releases/download/v1.5.0.20/Jellyfin.Plugin.MediaBarEnhanced.zip", "sourceUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/jellyfin-plugin-media-bar-enhanced/releases/download/v1.5.0.22/Jellyfin.Plugin.MediaBarEnhanced.zip",
"checksum": "d50b8f425b747da1bee2c929ebff99c9", "checksum": "a9534b9ab12a29759c567ad7b5c7dc6f",
"timestamp": "2026-02-09T16:53:01Z" "timestamp": "2026-02-09T23:08:40Z"
}, },
{ {
"version": "1.3.0.3", "version": "1.3.0.3",