Compare commits
18 Commits
009798ea06
...
v1.8.1.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a296caf70d | ||
|
|
86e9968243 | ||
|
|
e9fe356cee | ||
|
|
e25a99439a | ||
|
|
ba2ad8f2cc | ||
|
|
5274e61204 | ||
|
|
93919c08ef | ||
|
|
c80de82a76 | ||
|
|
c541e1e543 | ||
|
|
2c7dae4d6d | ||
|
|
3869a089a1 | ||
|
|
014c908a1e | ||
|
|
f6cecf6a9e | ||
|
|
81e4643652 | ||
|
|
1b65843b20 | ||
|
|
a70690c0de | ||
|
|
1e21286a66 | ||
|
|
90a64d49ed |
@@ -259,7 +259,7 @@
|
||||
<input type="file" id="overlayImageInput" accept="image/png, image/jpeg, image/gif, image/webp" style="display: none;">
|
||||
<img id="overlayImagePreview" style="display: none; max-width: 100%; max-height: 150px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 4px; z-index: 2;" />
|
||||
<!-- A semi-transparent overlay to clear the image -->
|
||||
<button type="button" id="clearOverlayImageBtn" is="paper-icon-button-light" style="display: none; position: absolute; top: 10px; right: 10px; z-index: 3; color: #a94442;" title="Clear Image">
|
||||
<button type="button" id="clearOverlayImageBtn" class="clear-btn" is="paper-icon-button-light" style="display: none; position: absolute; top: 10px; right: 10px; z-index: 3; color: #a94442;" title="Clear Image">
|
||||
<i class="material-icons">delete</i>
|
||||
</button>
|
||||
</div>
|
||||
@@ -1026,7 +1026,7 @@
|
||||
' <span style="font-size: 0.85em; color: rgba(255,255,255,0.7);">Upload seasonal image</span>' +
|
||||
' <input type="file" class="seasonal-file-input" accept="image/png, image/jpeg, image/gif, image/webp" style="display: none;">' +
|
||||
' <img class="seasonal-preview-img" style="display: none; max-width: 100%; max-height: 100%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 4px; z-index: 2; object-fit: contain;" />' +
|
||||
' <button type="button" class="seasonal-clear-btn" is="paper-icon-button-light" title="Clear Image" style="display: none; position: absolute; top: 10px; right: 10px; z-index: 3; color: #a94442;"><i class="material-icons">delete</i></button>' +
|
||||
' <button type="button" is="paper-icon-button-light" class="seasonal-clear-btn remove-img" title="Clear Image" style="background: transparent; border: none; padding: 0; cursor: pointer; display: none; position: absolute; top: 10px; right: 10px; z-index: 3; color: #a94442;"><i class="material-icons">delete</i></button>' +
|
||||
' </div>' +
|
||||
' </div>' +
|
||||
'</div>';
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<!-- <TreatWarningsAsErrors>false</TreatWarningsAsErrors> -->
|
||||
<Title>Jellyfin Media Bar Enhanced Plugin</Title>
|
||||
<Authors>CodeDevMLH</Authors>
|
||||
<Version>1.7.2.12</Version>
|
||||
<Version>1.8.1.0</Version>
|
||||
<RepositoryUrl>https://github.com/CodeDevMLH/jellyfin-plugin-media-bar-enhanced</RepositoryUrl>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
@@ -749,6 +749,14 @@
|
||||
left: 50%;
|
||||
transform: translateX(-50%) scale(0.8);
|
||||
background-color: #ffffff00;
|
||||
width: max-content;
|
||||
max-width: 90vw;
|
||||
flex-wrap: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.dot {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.dot.active {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/*
|
||||
/*
|
||||
* Jellyfin Slideshow by M0RPH3US v4.0.1
|
||||
* Modified by CodeDevMLH
|
||||
*
|
||||
@@ -2363,8 +2363,17 @@ const SlideshowManager = {
|
||||
|
||||
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
|
||||
if (totalItems > CONFIG.maxPaginationDots) {
|
||||
if (totalItems > effectiveMaxDots) {
|
||||
const counter = document.createElement("span");
|
||||
counter.className = "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",
|
||||
"versions": [
|
||||
{
|
||||
"version": "1.7.2.12",
|
||||
"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.1.0/Jellyfin.Plugin.MediaBarEnhanced.zip",
|
||||
"checksum": "11bb618ca99a55403216effe3b1d2416",
|
||||
"timestamp": "2026-03-23T16:28:16Z"
|
||||
},
|
||||
{
|
||||
"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",
|
||||
"targetAbi": "10.11.0.0",
|
||||
"sourceUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/jellyfin-plugin-media-bar-enhanced/releases/download/v1.7.2.11/Jellyfin.Plugin.MediaBarEnhanced.zip",
|
||||
"checksum": "b1af5d885c100e7444d78a470e7e14c7",
|
||||
"timestamp": "2026-03-10T23:58:38Z"
|
||||
"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.7.0.14",
|
||||
|
||||
Reference in New Issue
Block a user