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

This commit is contained in:
CodeDevMLH
2026-02-09 23:28:15 +01:00
parent 51c5cdf5bf
commit accb316a81
3 changed files with 12 additions and 3 deletions

View File

@@ -2661,33 +2661,42 @@ const SlideshowManager = {
const activeElement = document.activeElement;
const isSlideshowFocused = container.contains(activeElement) || activeElement === container;
if (!isSlideshowFocused) {
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) {