Compare commits
27 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0932d9611d | ||
|
|
5e616db0ae | ||
|
|
538b0f2110 | ||
|
|
e717c07c54 | ||
|
|
0fa2d01ca3 | ||
|
|
5299b2a9d5 | ||
|
|
4f244988b9 | ||
|
|
5635a8f05e | ||
|
|
c901da4b0c | ||
|
|
c45cd0281f | ||
|
|
0c3e74829a | ||
|
|
e6b769f099 | ||
|
|
77371f7b98 | ||
|
|
988b800b6d | ||
|
|
4c6514ba9f | ||
|
|
6910eba7d6 | ||
|
|
3585b47b6c | ||
|
|
8170abdc94 | ||
|
|
535c0e17bf | ||
|
|
df1cee0eeb | ||
|
|
16cc56030f | ||
|
|
13ecbac96e | ||
|
|
8bca6f9052 | ||
|
|
217db2a66d | ||
|
|
5fd7bcb8b6 | ||
|
|
0b0e41a9f9 | ||
|
|
370db55714 |
@@ -12,7 +12,7 @@
|
||||
<!-- <TreatWarningsAsErrors>false</TreatWarningsAsErrors> -->
|
||||
<Title>Jellyfin Media Bar Enhanced Plugin</Title>
|
||||
<Authors>CodeDevMLH</Authors>
|
||||
<Version>1.5.0.7</Version>
|
||||
<Version>1.5.0.19</Version>
|
||||
<RepositoryUrl>https://github.com/CodeDevMLH/jellyfin-plugin-media-bar-enhanced</RepositoryUrl>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
@@ -161,7 +161,7 @@
|
||||
|
||||
.homeSectionsContainer {
|
||||
position: relative;
|
||||
top: 65vh;
|
||||
margin-top: 65vh;
|
||||
z-index: 6;
|
||||
}
|
||||
|
||||
|
||||
@@ -605,7 +605,11 @@ 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: "focuscontainer-y",
|
||||
tabIndex: "-1"
|
||||
});
|
||||
document.body.appendChild(container);
|
||||
}
|
||||
return container;
|
||||
@@ -1705,7 +1709,7 @@ const SlideCreator = {
|
||||
autoplay: false,
|
||||
preload: "auto",
|
||||
loop: false,
|
||||
style: "object-fit: cover; width: 100%; height: 100%; pointer-events: none;"
|
||||
style: "object-fit: cover; object-position: center center; width: 100%; height: 100%; position: absolute; top: 0; left: 0; pointer-events: none;"
|
||||
};
|
||||
|
||||
if (STATE.slideshow.isMuted) {
|
||||
@@ -1932,7 +1936,7 @@ const SlideCreator = {
|
||||
createPlayButton(itemId) {
|
||||
const playText = LocalizationUtils.getLocalizedString('Play', 'Play');
|
||||
return SlideUtils.createElement("button", {
|
||||
className: "detailButton btnPlay play-button",
|
||||
className: "detailButton btnPlay play-button focusable",
|
||||
innerHTML: `
|
||||
<span class="play-text">${playText}</span>
|
||||
`,
|
||||
@@ -1952,7 +1956,7 @@ const SlideCreator = {
|
||||
*/
|
||||
createDetailButton(itemId) {
|
||||
return SlideUtils.createElement("button", {
|
||||
className: "detailButton detail-button",
|
||||
className: "detailButton detail-button focusable",
|
||||
tabIndex: "0",
|
||||
onclick: (e) => {
|
||||
e.preventDefault();
|
||||
@@ -1978,7 +1982,7 @@ const SlideCreator = {
|
||||
const isFavorite = item.UserData && item.UserData.IsFavorite === true;
|
||||
|
||||
const button = SlideUtils.createElement("button", {
|
||||
className: `favorite-button ${isFavorite ? "favorited" : ""}`,
|
||||
className: `favorite-button focusable ${isFavorite ? "favorited" : ""}`,
|
||||
tabIndex: "0",
|
||||
onclick: async (e) => {
|
||||
e.preventDefault();
|
||||
@@ -1998,7 +2002,7 @@ const SlideCreator = {
|
||||
createTrailerButton(url) {
|
||||
const trailerText = LocalizationUtils.getLocalizedString('Trailer', 'Trailer');
|
||||
return SlideUtils.createElement("button", {
|
||||
className: "detailButton trailer-button",
|
||||
className: "detailButton trailer-button focusable",
|
||||
innerHTML: `<span class="material-icons">movie</span> <span class="trailer-text">${trailerText}</span>`,
|
||||
tabIndex: "0",
|
||||
onclick: (e) => {
|
||||
@@ -2655,18 +2659,13 @@ const SlideshowManager = {
|
||||
return;
|
||||
}
|
||||
|
||||
// Only trap keys if focus is on body (neutral) or inside our container.
|
||||
// To allow standard TV navigation to work for other elements (e.g. library cards).
|
||||
const activeEl = document.activeElement;
|
||||
const isBody = activeEl === document.body || !activeEl;
|
||||
const isInContainer = container.contains(activeEl) || activeEl === container;
|
||||
|
||||
if (!isBody && !isInContainer) {
|
||||
const activeElement = document.activeElement;
|
||||
const isSlideshowFocused = container.contains(activeElement) || activeElement === container;
|
||||
|
||||
if (!isSlideshowFocused) {
|
||||
return;
|
||||
}
|
||||
|
||||
const focusElement = document.activeElement;
|
||||
|
||||
switch (e.key) {
|
||||
case "ArrowRight":
|
||||
SlideshowManager.nextSlide();
|
||||
|
||||
@@ -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.7",
|
||||
"version": "1.5.0.19",
|
||||
"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.7/Jellyfin.Plugin.MediaBarEnhanced.zip",
|
||||
"checksum": "1b89e0253e62306cf01e80c97bf94ea2",
|
||||
"timestamp": "2026-02-09T12:28:44Z"
|
||||
"sourceUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/jellyfin-plugin-media-bar-enhanced/releases/download/v1.5.0.19/Jellyfin.Plugin.MediaBarEnhanced.zip",
|
||||
"checksum": "ddb2bc4c04a389671c398dca3f38b801",
|
||||
"timestamp": "2026-02-09T16:33:55Z"
|
||||
},
|
||||
{
|
||||
"version": "1.3.0.3",
|
||||
|
||||
Reference in New Issue
Block a user