Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0932d9611d | ||
|
|
5e616db0ae | ||
|
|
538b0f2110 | ||
|
|
e717c07c54 | ||
|
|
0fa2d01ca3 | ||
|
|
5299b2a9d5 | ||
|
|
4f244988b9 | ||
|
|
5635a8f05e |
@@ -12,7 +12,7 @@
|
||||
<!-- <TreatWarningsAsErrors>false</TreatWarningsAsErrors> -->
|
||||
<Title>Jellyfin Media Bar Enhanced Plugin</Title>
|
||||
<Authors>CodeDevMLH</Authors>
|
||||
<Version>1.5.0.15</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;
|
||||
@@ -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,6 +2659,13 @@ const SlideshowManager = {
|
||||
return;
|
||||
}
|
||||
|
||||
const activeElement = document.activeElement;
|
||||
const isSlideshowFocused = container.contains(activeElement) || activeElement === container;
|
||||
|
||||
if (!isSlideshowFocused) {
|
||||
return;
|
||||
}
|
||||
|
||||
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.15",
|
||||
"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.15/Jellyfin.Plugin.MediaBarEnhanced.zip",
|
||||
"checksum": "92a6c27004e11f59cf68ea9f0442bb25",
|
||||
"timestamp": "2026-02-09T15:41:45Z"
|
||||
"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