Compare commits

...

9 Commits

Author SHA1 Message Date
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
CodeDevMLH
51c5cdf5bf Update manifest.json for release v1.5.0.20 [skip ci] 2026-02-09 16:53:01 +00:00
CodeDevMLH
306eff757b Update changelog formatting for version 1.5.0.20
All checks were successful
Auto Release Plugin / build-and-release (push) Successful in 51s
2026-02-09 17:52:10 +01:00
CodeDevMLH
b8f28a5735 Bump version to 1.5.0.20 and update changelog for recent changes
Some checks failed
Auto Release Plugin / build-and-release (push) Has been cancelled
2026-02-09 17:49:36 +01:00
CodeDevMLH
0932d9611d Update manifest.json for release v1.5.0.19 [skip ci] 2026-02-09 16:33:56 +00:00
CodeDevMLH
5e616db0ae Bump version to 1.5.0.19 and update changelog for recent changes
All checks were successful
Auto Release Plugin / build-and-release (push) Successful in 57s
2026-02-09 17:32:59 +01:00
CodeDevMLH
538b0f2110 Update manifest.json for release v1.5.0.18 [skip ci] 2026-02-09 16:21:43 +00:00
CodeDevMLH
e717c07c54 Bump version to 1.5.0.18 and update changelog for recent changes
All checks were successful
Auto Release Plugin / build-and-release (push) Successful in 1m2s
2026-02-09 17:20:40 +01:00
3 changed files with 22 additions and 10 deletions

View File

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

View File

@@ -605,7 +605,10 @@ const SlideUtils = {
getOrCreateSlidesContainer() {
let container = document.getElementById("slides-container");
if (!container) {
container = this.createElement("div", { id: "slides-container" });
container = this.createElement("div", {
id: "slides-container",
className: "noautofocus"
});
document.body.appendChild(container);
}
return container;
@@ -2656,35 +2659,44 @@ const SlideshowManager = {
}
const activeElement = document.activeElement;
const isSlideshowFocused = container.contains(activeElement) || activeElement === container || activeElement === document.body;
if ((e.key === "ArrowRight" || e.key === "ArrowLeft") && !isSlideshowFocused) {
const isSlideshowFocused = container.contains(activeElement) || activeElement === container;
const isTvMode = window.layoutManager && window.layoutManager.tv;
const isInputElement = activeElement && (activeElement.tagName === 'INPUT' || activeElement.tagName === 'TEXTAREA' || activeElement.isContentEditable);
if (isInputElement) {
return;
}
switch (e.key) {
case "ArrowRight":
if (isTvMode && !isSlideshowFocused) return;
SlideshowManager.nextSlide();
e.preventDefault();
break;
case "ArrowLeft":
if (isTvMode && !isSlideshowFocused) return;
SlideshowManager.prevSlide();
e.preventDefault();
break;
case " ": // Space bar
if (isTvMode && !isSlideshowFocused) return;
this.togglePause();
e.preventDefault();
break;
case "m": // Mute toggle
case "M":
if (isTvMode && !isSlideshowFocused) return;
this.toggleMute();
e.preventDefault();
break;
case "Enter":
if (!isSlideshowFocused) return;
const currentItemId = STATE.slideshow.itemIds[STATE.slideshow.currentSlideIndex];
if (currentItemId) {
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",
"versions": [
{
"version": "1.5.0.17",
"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",
"version": "1.5.0.21",
"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.17/Jellyfin.Plugin.MediaBarEnhanced.zip",
"checksum": "1f65e4afb5d07843aefa832938867a4a",
"timestamp": "2026-02-09T16:05:11Z"
"sourceUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/jellyfin-plugin-media-bar-enhanced/releases/download/v1.5.0.21/Jellyfin.Plugin.MediaBarEnhanced.zip",
"checksum": "9a28102dbd4b62abdc8ef72abd7c6574",
"timestamp": "2026-02-09T22:29:09Z"
},
{
"version": "1.3.0.3",