From 8f322fd6cf66fed8e23b452b941f82796b4b3902 Mon Sep 17 00:00:00 2001
From: CodeDevMLH <145071728+CodeDevMLH@users.noreply.github.com>
Date: Fri, 27 Feb 2026 01:18:08 +0100
Subject: [PATCH] Refactor birthday, olympia, space, and sports animations;
enhance symbol management and visual effects
- Updated birthday.js to improve balloon visuals and confetti effects, including new color schemes and enhanced pop animations.
- Removed legacy fallback logic in olympia.js and improved image error handling.
- Enhanced space.js with configurable counts for planets, astronauts, satellites, ISS, and rockets; improved shooting star animations and added random image swapping.
- Simplified sports.js by removing legacy emoji fallback logic and optimizing ball creation based on selected categories.
- Adjusted CSS styles across birthday, olympia, space, and sports for better visual consistency and performance.
[skip ci]
---
.../Configuration/PluginConfiguration.cs | 10 +-
.../Configuration/configPage.html | 63 ++++-
Jellyfin.Plugin.Seasonals/Web/birthday.css | 179 +++++++------
Jellyfin.Plugin.Seasonals/Web/birthday.js | 196 ++++++++------
Jellyfin.Plugin.Seasonals/Web/olympia.css | 2 -
Jellyfin.Plugin.Seasonals/Web/olympia.js | 10 +-
Jellyfin.Plugin.Seasonals/Web/space.css | 35 ++-
Jellyfin.Plugin.Seasonals/Web/space.js | 240 +++++++++++-------
Jellyfin.Plugin.Seasonals/Web/sports.css | 2 -
Jellyfin.Plugin.Seasonals/Web/sports.js | 76 ++----
10 files changed, 471 insertions(+), 342 deletions(-)
diff --git a/Jellyfin.Plugin.Seasonals/Configuration/PluginConfiguration.cs b/Jellyfin.Plugin.Seasonals/Configuration/PluginConfiguration.cs
index 191d107..0c021ee 100644
--- a/Jellyfin.Plugin.Seasonals/Configuration/PluginConfiguration.cs
+++ b/Jellyfin.Plugin.Seasonals/Configuration/PluginConfiguration.cs
@@ -389,6 +389,7 @@ public class SportsOptions
public bool EnableDifferentDuration { get; set; } = true;
public string TurfColor { get; set; } = "#228b22";
public string SportsBalls { get; set; } = "football,basketball,tennis,volleyball";
+ public bool EnableTrophy { get; set; } = false;
}
public class OlympiaOptions
@@ -402,7 +403,11 @@ public class OlympiaOptions
public class SpaceOptions
{
- public int SymbolCount { get; set; } = 25;
+ public int PlanetCount { get; set; } = 12;
+ public int AstronautCount { get; set; } = 5;
+ public int SatelliteCount { get; set; } = 2;
+ public int IssCount { get; set; } = 1;
+ public int RocketCount { get; set; } = 1;
public bool EnableSpace { get; set; } = true;
public bool EnableRandomSymbols { get; set; } = true;
public bool EnableRandomSymbolsMobile { get; set; } = false;
@@ -429,7 +434,8 @@ public class UnderwaterOptions
public class BirthdayOptions
{
- public int SymbolCount { get; set; } = 25;
+ public int SymbolCount { get; set; } = 5;
+ public int ConfettiCount { get; set; } = 60;
public bool EnableBirthday { get; set; } = true;
public bool EnableRandomSymbols { get; set; } = true;
public bool EnableRandomSymbolsMobile { get; set; } = false;
diff --git a/Jellyfin.Plugin.Seasonals/Configuration/configPage.html b/Jellyfin.Plugin.Seasonals/Configuration/configPage.html
index 423da88..7a1031d 100644
--- a/Jellyfin.Plugin.Seasonals/Configuration/configPage.html
+++ b/Jellyfin.Plugin.Seasonals/Configuration/configPage.html
@@ -70,16 +70,13 @@
-
-
-
-
+
@@ -88,6 +85,8 @@
+
+
The season to display if automation is disabled or no "Auto Selection" rule matches the current date.
@@ -935,6 +934,13 @@
Enable Different Duration
+
+
+
Enable the flying trophy animation.
+
@@ -1054,9 +1060,29 @@
+
+
+
+
+