Compare commits

..

2 Commits

Author SHA1 Message Date
CodeDevMLH
76ff03ac17 Update manifest.json for release v1.5.0.27 [skip ci] 2026-02-10 00:16:23 +00:00
CodeDevMLH
25b1ba5f2b Bump version to 1.5.0.26 and update changelog for recent changes
All checks were successful
Auto Release Plugin / build-and-release (push) Successful in 50s
2026-02-10 01:15:33 +01:00
3 changed files with 31 additions and 6 deletions

View File

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

View File

@@ -2705,12 +2705,20 @@ const SlideshowManager = {
}
const activeElement = document.activeElement;
// Detect TV Mode
const isTvDevice = window.browser && window.browser.tv;
const isTvLayout = window.layoutManager && window.layoutManager.tv;
const hasTvClass = document.documentElement.classList.contains('layout-tv') || document.body.classList.contains('layout-tv');
const isTvMode = isTvDevice || isTvLayout || hasTvClass;
// Check Focus State
// Apply scroll fix if TV mode is detected
if (isTvMode) {
document.documentElement.style.scrollPaddingTop = '65vh';
} else {
document.documentElement.style.scrollPaddingTop = '';
}
// 2. Check Focus State
const isBodyFocused = activeElement === document.body;
const hasDirectFocus = container.contains(activeElement) || activeElement === container;
@@ -2787,6 +2795,23 @@ const SlideshowManager = {
container.addEventListener("blur", () => {
STATE.slideshow.containerFocused = false;
});
// Helper to apply TV mode styles immediately
const applyTvStyles = () => {
const isTv = (window.browser && window.browser.tv) ||
(window.layoutManager && window.layoutManager.tv) ||
document.documentElement.classList.contains('layout-tv') ||
document.body.classList.contains('layout-tv');
if (isTv) {
document.documentElement.style.scrollPaddingTop = '65vh';
document.body.style.scrollPaddingTop = '65vh';
}
};
// Run immediately and on focus changes to ensure styles are applied
applyTvStyles();
document.addEventListener('focusin', applyTvStyles);
},
/**

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.25",
"version": "1.5.0.27",
"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.25/Jellyfin.Plugin.MediaBarEnhanced.zip",
"checksum": "42165f328f780ee3efac2dec23e02b09",
"timestamp": "2026-02-10T00:07:05Z"
"sourceUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/jellyfin-plugin-media-bar-enhanced/releases/download/v1.5.0.27/Jellyfin.Plugin.MediaBarEnhanced.zip",
"checksum": "a28f1fff3373b3daca4c21f5091e396d",
"timestamp": "2026-02-10T00:16:22Z"
},
{
"version": "1.3.0.3",