From 30c29d440fbcaebfaa39713eabc83e9b0e0f2f5c Mon Sep 17 00:00:00 2001 From: CodeDevMLH <145071728+CodeDevMLH@users.noreply.github.com> Date: Thu, 26 Feb 2026 21:53:40 +0100 Subject: [PATCH] Enhance seasonal themes: replace Pi-Day options with Matrix options and add new configuration settings --- .../Configuration/PluginConfiguration.cs | 31 +++++++++++++------ 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/Jellyfin.Plugin.Seasonals/Configuration/PluginConfiguration.cs b/Jellyfin.Plugin.Seasonals/Configuration/PluginConfiguration.cs index 8a17024..191d107 100644 --- a/Jellyfin.Plugin.Seasonals/Configuration/PluginConfiguration.cs +++ b/Jellyfin.Plugin.Seasonals/Configuration/PluginConfiguration.cs @@ -32,7 +32,7 @@ public class PluginConfiguration : BasePluginConfiguration Summer = new SummerOptions(); CherryBlossom = new CherryBlossomOptions(); Carnival = new CarnivalOptions(); - PiDay = new PiDayOptions(); + Matrix = new MatrixOptions(); Eurovision = new EurovisionOptions(); Storm = new StormOptions(); Pride = new PrideOptions(); @@ -97,7 +97,7 @@ public class PluginConfiguration : BasePluginConfiguration public SummerOptions Summer { get; set; } public CherryBlossomOptions CherryBlossom { get; set; } public CarnivalOptions Carnival { get; set; } - public PiDayOptions PiDay { get; set; } + public MatrixOptions Matrix { get; set; } public EurovisionOptions Eurovision { get; set; } public StormOptions Storm { get; set; } public PrideOptions Pride { get; set; } @@ -277,14 +277,15 @@ public class CherryBlossomOptions public bool EnableDifferentDuration { get; set; } = true; } -public class PiDayOptions +public class MatrixOptions { - public int SymbolCount { get; set; } = 50; - public bool EnablePiDay { get; set; } = true; - public bool EnableRandomPiDay { get; set; } = true; - public bool EnableRandomPiDayMobile { get; set; } = false; + public int SymbolCount { get; set; } = 25; + public bool EnableMatrix { get; set; } = true; + public bool EnableRandomMatrix { get; set; } = true; + public bool EnableRandomMatrixMobile { get; set; } = false; public bool EnableDifferentDuration { get; set; } = true; - public bool EnablePiDayBackground { get; set; } = false; + public bool EnableMatrixBackground { get; set; } = false; + public string MatrixChars { get; set; } = "0123456789"; } public class EurovisionOptions @@ -381,11 +382,13 @@ public class SpookyOptions public class SportsOptions { - public int SymbolCount { get; set; } = 25; + public int SymbolCount { get; set; } = 5; public bool EnableSports { get; set; } = true; public bool EnableRandomSymbols { get; set; } = true; public bool EnableRandomSymbolsMobile { get; set; } = false; public bool EnableDifferentDuration { get; set; } = true; + public string TurfColor { get; set; } = "#228b22"; + public string SportsBalls { get; set; } = "football,basketball,tennis,volleyball"; } public class OlympiaOptions @@ -413,6 +416,15 @@ public class UnderwaterOptions public bool EnableRandomSymbols { get; set; } = true; public bool EnableRandomSymbolsMobile { get; set; } = false; public bool EnableDifferentDuration { get; set; } = true; + public bool EnableLightRays { get; set; } = true; + public int SeaweedCount { get; set; } = 30; + public int CrabCount { get; set; } = 2; + public int StarfishCount { get; set; } = 2; + public int ShellCount { get; set; } = 2; + public int FishCount { get; set; } = 15; + public int SeahorseCount { get; set; } = 3; + public int JellyfishCount { get; set; } = 3; + public int TurtleCount { get; set; } = 1; } public class BirthdayOptions @@ -422,4 +434,5 @@ public class BirthdayOptions public bool EnableRandomSymbols { get; set; } = true; public bool EnableRandomSymbolsMobile { get; set; } = false; public bool EnableDifferentDuration { get; set; } = true; + public bool EnableGarland { get; set; } = true; }