Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
009a3c4720 | ||
|
|
595056230a | ||
|
|
b18060dfd7 | ||
|
|
ebb2af9d24 | ||
|
|
743af20b8e | ||
|
|
9844b186d7 |
@@ -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.6.1.5</Version>
|
<Version>1.6.1.7</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>
|
||||||
|
|
||||||
|
|||||||
@@ -175,6 +175,7 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
pointer-events: auto;
|
pointer-events: auto;
|
||||||
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#slides-container[style*="display: none"],
|
#slides-container[style*="display: none"],
|
||||||
|
|||||||
@@ -611,7 +611,8 @@ const SlideUtils = {
|
|||||||
if (!container) {
|
if (!container) {
|
||||||
container = this.createElement("div", {
|
container = this.createElement("div", {
|
||||||
id: "slides-container",
|
id: "slides-container",
|
||||||
className: "noautofocus"
|
className: "noautofocus",
|
||||||
|
tabIndex: "-1"
|
||||||
});
|
});
|
||||||
document.body.appendChild(container);
|
document.body.appendChild(container);
|
||||||
}
|
}
|
||||||
@@ -1488,12 +1489,12 @@ const VisibilityObserver = {
|
|||||||
*/
|
*/
|
||||||
init() {
|
init() {
|
||||||
// MARK: Mark
|
// MARK: Mark
|
||||||
// const observer = new MutationObserver(() => this.updateVisibility());
|
const observer = new MutationObserver(() => this.updateVisibility());
|
||||||
let debounceTimer = null;
|
// let debounceTimer = null;
|
||||||
const observer = new MutationObserver(() => {
|
// const observer = new MutationObserver(() => {
|
||||||
if (debounceTimer) clearTimeout(debounceTimer);
|
// if (debounceTimer) clearTimeout(debounceTimer);
|
||||||
debounceTimer = setTimeout(() => this.updateVisibility(), 250);
|
// debounceTimer = setTimeout(() => this.updateVisibility(), 250);
|
||||||
});
|
// });
|
||||||
observer.observe(document.body, { childList: true, subtree: true });
|
observer.observe(document.body, { childList: true, subtree: true });
|
||||||
|
|
||||||
document.body.addEventListener("click", () => this.updateVisibility());
|
document.body.addEventListener("click", () => this.updateVisibility());
|
||||||
@@ -2516,10 +2517,13 @@ const SlideshowManager = {
|
|||||||
document.documentElement.classList.contains('layout-tv') ||
|
document.documentElement.classList.contains('layout-tv') ||
|
||||||
document.body.classList.contains('layout-tv');
|
document.body.classList.contains('layout-tv');
|
||||||
if (isTvMode) {
|
if (isTvMode) {
|
||||||
|
// Use setTimeout to execute AFTER Jellyfin's focus manager processes the iframe removal
|
||||||
|
setTimeout(() => {
|
||||||
const container = document.getElementById("slides-container");
|
const container = document.getElementById("slides-container");
|
||||||
if (container) {
|
if (container && container.style.display !== 'none') {
|
||||||
container.focus({ preventScroll: true });
|
container.focus({ preventScroll: true });
|
||||||
}
|
}
|
||||||
|
}, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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.6.1.5",
|
"version": "1.6.1.7",
|
||||||
"changelog": "- fix tv mode issue\n- refactor video playback management",
|
"changelog": "- fix tv mode issue\n- refactor video playback management",
|
||||||
"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.6.1.5/Jellyfin.Plugin.MediaBarEnhanced.zip",
|
"sourceUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/jellyfin-plugin-media-bar-enhanced/releases/download/v1.6.1.7/Jellyfin.Plugin.MediaBarEnhanced.zip",
|
||||||
"checksum": "f5d4a593c0f498fab61bb17b588d1b3f",
|
"checksum": "3bddd740b5581b5f85296108a5672d14",
|
||||||
"timestamp": "2026-02-12T01:51:52Z"
|
"timestamp": "2026-02-12T15:57:17Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"version": "1.6.0.2",
|
"version": "1.6.0.2",
|
||||||
|
|||||||
Reference in New Issue
Block a user