Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8c703ce171 | ||
|
|
a40ee4a40d | ||
|
|
d7e9238e21 | ||
|
|
a296caf70d | ||
|
|
86e9968243 | ||
|
|
e9fe356cee | ||
|
|
e25a99439a | ||
|
|
ba2ad8f2cc |
@@ -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.1</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>
|
||||||
|
|
||||||
|
|||||||
@@ -749,6 +749,15 @@
|
|||||||
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;
|
||||||
|
padding: 10px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dot {
|
||||||
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dot.active {
|
.dot.active {
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
@@ -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.1",
|
||||||
|
"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.1.1/Jellyfin.Plugin.MediaBarEnhanced.zip",
|
||||||
|
"checksum": "f39c154f60527a98a3454e0c72c81cfa",
|
||||||
|
"timestamp": "2026-03-23T16:42:41Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"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",
|
||||||
|
|||||||
Reference in New Issue
Block a user