From 992f854dd209d64f3d236fea99f5ecb5a40f06d1 Mon Sep 17 00:00:00 2001 From: CodeDevMLH <145071728+CodeDevMLH@users.noreply.github.com> Date: Mon, 23 Mar 2026 23:37:47 +0100 Subject: [PATCH] Add configuration options for backdrop video delay and plot width constraint --- .../Configuration/PluginConfiguration.cs | 2 + .../Configuration/configPage.html | 18 +++- .../Web/mediaBarEnhanced.css | 9 ++ .../Web/mediaBarEnhanced.js | 83 ++++++++++++------- 4 files changed, 80 insertions(+), 32 deletions(-) diff --git a/Jellyfin.Plugin.MediaBarEnhanced/Configuration/PluginConfiguration.cs b/Jellyfin.Plugin.MediaBarEnhanced/Configuration/PluginConfiguration.cs index 2cffe87..0e2c015 100644 --- a/Jellyfin.Plugin.MediaBarEnhanced/Configuration/PluginConfiguration.cs +++ b/Jellyfin.Plugin.MediaBarEnhanced/Configuration/PluginConfiguration.cs @@ -49,6 +49,8 @@ namespace Jellyfin.Plugin.MediaBarEnhanced.Configuration public bool IncludeWatchedContent { get; set; } = false; public string SortBy { get; set; } = "Random"; public string SortOrder { get; set; } = "Ascending"; + public int BackdropVideoDelay { get; set; } = 0; + public bool ConstrainPlotWidth { get; set; } = false; public bool EnableCustomOverlay { get; set; } = false; public string CustomOverlayText { get; set; } = ""; diff --git a/Jellyfin.Plugin.MediaBarEnhanced/Configuration/configPage.html b/Jellyfin.Plugin.MediaBarEnhanced/Configuration/configPage.html index 5a5e19f..0621868 100644 --- a/Jellyfin.Plugin.MediaBarEnhanced/Configuration/configPage.html +++ b/Jellyfin.Plugin.MediaBarEnhanced/Configuration/configPage.html @@ -418,6 +418,13 @@ on mobile devices. (looks bad on desktops) +
+ +
Align the description text left to match the logo width, preventing it from crossing the entire screen. (Increases the text limit to 3 lines instead of 2).
+
+
+ + +
Time in milliseconds to wait before playing backdrops/theme videos (leaves static backdrop visible longer).
+