Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0932d9611d | ||
|
|
5e616db0ae | ||
|
|
538b0f2110 | ||
|
|
e717c07c54 | ||
|
|
0fa2d01ca3 | ||
|
|
5299b2a9d5 |
@@ -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.5.0.16</Version>
|
<Version>1.5.0.19</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>
|
||||||
|
|
||||||
|
|||||||
@@ -161,7 +161,7 @@
|
|||||||
|
|
||||||
.homeSectionsContainer {
|
.homeSectionsContainer {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 65vh;
|
margin-top: 65vh;
|
||||||
z-index: 6;
|
z-index: 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -605,7 +605,11 @@ const SlideUtils = {
|
|||||||
getOrCreateSlidesContainer() {
|
getOrCreateSlidesContainer() {
|
||||||
let container = document.getElementById("slides-container");
|
let container = document.getElementById("slides-container");
|
||||||
if (!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);
|
document.body.appendChild(container);
|
||||||
}
|
}
|
||||||
return container;
|
return container;
|
||||||
@@ -1932,7 +1936,7 @@ const SlideCreator = {
|
|||||||
createPlayButton(itemId) {
|
createPlayButton(itemId) {
|
||||||
const playText = LocalizationUtils.getLocalizedString('Play', 'Play');
|
const playText = LocalizationUtils.getLocalizedString('Play', 'Play');
|
||||||
return SlideUtils.createElement("button", {
|
return SlideUtils.createElement("button", {
|
||||||
className: "detailButton btnPlay play-button",
|
className: "detailButton btnPlay play-button focusable",
|
||||||
innerHTML: `
|
innerHTML: `
|
||||||
<span class="play-text">${playText}</span>
|
<span class="play-text">${playText}</span>
|
||||||
`,
|
`,
|
||||||
@@ -1952,7 +1956,7 @@ const SlideCreator = {
|
|||||||
*/
|
*/
|
||||||
createDetailButton(itemId) {
|
createDetailButton(itemId) {
|
||||||
return SlideUtils.createElement("button", {
|
return SlideUtils.createElement("button", {
|
||||||
className: "detailButton detail-button",
|
className: "detailButton detail-button focusable",
|
||||||
tabIndex: "0",
|
tabIndex: "0",
|
||||||
onclick: (e) => {
|
onclick: (e) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
@@ -1978,7 +1982,7 @@ const SlideCreator = {
|
|||||||
const isFavorite = item.UserData && item.UserData.IsFavorite === true;
|
const isFavorite = item.UserData && item.UserData.IsFavorite === true;
|
||||||
|
|
||||||
const button = SlideUtils.createElement("button", {
|
const button = SlideUtils.createElement("button", {
|
||||||
className: `favorite-button ${isFavorite ? "favorited" : ""}`,
|
className: `favorite-button focusable ${isFavorite ? "favorited" : ""}`,
|
||||||
tabIndex: "0",
|
tabIndex: "0",
|
||||||
onclick: async (e) => {
|
onclick: async (e) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
@@ -1998,7 +2002,7 @@ const SlideCreator = {
|
|||||||
createTrailerButton(url) {
|
createTrailerButton(url) {
|
||||||
const trailerText = LocalizationUtils.getLocalizedString('Trailer', 'Trailer');
|
const trailerText = LocalizationUtils.getLocalizedString('Trailer', 'Trailer');
|
||||||
return SlideUtils.createElement("button", {
|
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>`,
|
innerHTML: `<span class="material-icons">movie</span> <span class="trailer-text">${trailerText}</span>`,
|
||||||
tabIndex: "0",
|
tabIndex: "0",
|
||||||
onclick: (e) => {
|
onclick: (e) => {
|
||||||
@@ -2656,9 +2660,9 @@ const SlideshowManager = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const activeElement = document.activeElement;
|
const activeElement = document.activeElement;
|
||||||
const isSlideshowFocused = container.contains(activeElement) || activeElement === container || activeElement === document.body;
|
const isSlideshowFocused = container.contains(activeElement) || activeElement === container;
|
||||||
|
|
||||||
if ((e.key === "ArrowRight" || e.key === "ArrowLeft") && !isSlideshowFocused) {
|
if (!isSlideshowFocused) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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.5.0.16",
|
"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",
|
"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",
|
"targetAbi": "10.11.0.0",
|
||||||
"sourceUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/jellyfin-plugin-media-bar-enhanced/releases/download/v1.5.0.16/Jellyfin.Plugin.MediaBarEnhanced.zip",
|
"sourceUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/jellyfin-plugin-media-bar-enhanced/releases/download/v1.5.0.19/Jellyfin.Plugin.MediaBarEnhanced.zip",
|
||||||
"checksum": "b0d18538fbe28b843029efe40be827e8",
|
"checksum": "ddb2bc4c04a389671c398dca3f38b801",
|
||||||
"timestamp": "2026-02-09T15:54:24Z"
|
"timestamp": "2026-02-09T16:33:55Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"version": "1.3.0.3",
|
"version": "1.3.0.3",
|
||||||
|
|||||||
Reference in New Issue
Block a user