Compare commits

...

4 Commits

Author SHA1 Message Date
CodeDevMLH
86e9968243 bump version 1.8.1.0
All checks were successful
Auto Release Plugin / build-and-release (push) Successful in 55s
2026-03-23 17:27:08 +01:00
CodeDevMLH
e9fe356cee Enhance slideshow responsiveness by adjusting dot display for small screens 2026-03-23 17:25:48 +01:00
CodeDevMLH
e25a99439a Update manifest.json for release v1.8.0.0 [skip ci] 2026-03-11 01:38:44 +00:00
CodeDevMLH
ba2ad8f2cc Bump version to 1.8.0.0 in project files and manifest
All checks were successful
Auto Release Plugin / build-and-release (push) Successful in 45s
2026-03-11 02:37:57 +01:00
4 changed files with 32 additions and 7 deletions

View File

@@ -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.7.2.16</Version> <Version>1.8.1.0</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>

View File

@@ -749,6 +749,14 @@
left: 50%; left: 50%;
transform: translateX(-50%) scale(0.8); transform: translateX(-50%) scale(0.8);
background-color: #ffffff00; background-color: #ffffff00;
width: max-content;
max-width: 90vw;
flex-wrap: nowrap;
overflow: hidden;
}
.dot {
flex-shrink: 0;
} }
.dot.active { .dot.active {

View File

@@ -1,4 +1,4 @@
/* /*
* Jellyfin Slideshow by M0RPH3US v4.0.1 * Jellyfin Slideshow by M0RPH3US v4.0.1
* Modified by CodeDevMLH * Modified by CodeDevMLH
* *
@@ -2363,8 +2363,17 @@ const SlideshowManager = {
const totalItems = STATE.slideshow.totalItems || 0; const totalItems = STATE.slideshow.totalItems || 0;
// dynamically lower the max dots threshold on small screens
let effectiveMaxDots = CONFIG.maxPaginationDots;
if (window.matchMedia("(max-width: 767px) and (orientation: portrait)").matches) {
const availableWidth = window.innerWidth * 0.9;
const dotWidth = 18; // approximate width per dot
const fittingDots = Math.floor(availableWidth / dotWidth) - 1;
effectiveMaxDots = Math.min(effectiveMaxDots, fittingDots);
}
// Switch to counter style if too many items // Switch to counter style if too many items
if (totalItems > CONFIG.maxPaginationDots) { if (totalItems > effectiveMaxDots) {
const counter = document.createElement("span"); const counter = document.createElement("span");
counter.className = "slide-counter"; counter.className = "slide-counter";
counter.id = "slide-counter"; counter.id = "slide-counter";

View File

@@ -9,12 +9,20 @@
"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.7.2.16", "version": "1.8.1.0",
"changelog": "fix pagination dot issue on mobile when showing more than 10 dots (should now dynamically adjust the max dots threshold based on screen size)",
"targetAbi": "10.11.0.0",
"sourceUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/jellyfin-plugin-media-bar-enhanced/releases/download/v1.8.0.0/Jellyfin.Plugin.MediaBarEnhanced.zip",
"checksum": "0aac723796d41fc15987c94ac0476584",
"timestamp": "2026-03-11T01:38:43Z"
},
{
"version": "1.8.0.0",
"changelog": "feat: add custom text/image overlay option\n- feat: add option to disable pagination dots/counter\n- feat: add exclude seasonal content from random fetching option\n- Add hide arrows on mobile option \n- fix button issue on mobile when using ElegantFin Theme", "changelog": "feat: add custom text/image overlay option\n- feat: add option to disable pagination dots/counter\n- feat: add exclude seasonal content from random fetching option\n- Add hide arrows on mobile option \n- fix button issue on mobile when using ElegantFin Theme",
"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.7.2.16/Jellyfin.Plugin.MediaBarEnhanced.zip", "sourceUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/jellyfin-plugin-media-bar-enhanced/releases/download/v1.8.0.0/Jellyfin.Plugin.MediaBarEnhanced.zip",
"checksum": "7cee3461f232a361fc9167a0a43fc023", "checksum": "0aac723796d41fc15987c94ac0476584",
"timestamp": "2026-03-11T00:46:02Z" "timestamp": "2026-03-11T01:38:43Z"
}, },
{ {
"version": "1.7.0.14", "version": "1.7.0.14",