diff --git a/Jellyfin.Plugin.Seasonals/Configuration/configPage.html b/Jellyfin.Plugin.Seasonals/Configuration/configPage.html index 8b2fb36..8d96c06 100644 --- a/Jellyfin.Plugin.Seasonals/Configuration/configPage.html +++ b/Jellyfin.Plugin.Seasonals/Configuration/configPage.html @@ -54,38 +54,38 @@
The season to display if automation is disabled or no "Auto Selection" rule matches the current date.
@@ -133,25 +133,18 @@
Enable the autumn theme effects in general (e.g. for automation).
-
- -
Displays additional leaves randomly distributed across the screen
-
-
- -
Displays additional leaves randomly distributed across the screen on mobile devices. Warning: High values may affect performance.
-
+ +
Number of additional leaves displayed (if enabled)
+
+ + +
Amount of leaves on mobile. Minimum 0. Warning: High values may affect performance.
+
Enable the snowflakes theme in general (e.g. for automation).
-
- -
Displays additional snowflakes randomly distributed across the screen.
-
-
- -
Displays additional snowflakes randomly distributed across the screen on mobile devices. Warning: High values may affect performance.
-
+ +
Number of additional snowflakes displayed (if enabled).
+
+ + +
Amount of snowflakes on mobile. Minimum 0. Warning: High values may affect performance.
+
Enable the Halloween theme in general (e.g. for automation).
-
- -
Displays additional Halloween symbols randomly distributed across the screen.
-
-
- -
Displays additional Halloween symbols randomly distributed across the screen on mobile devices. Warning: High values may affect performance.
-
+ +
Number of additional Halloween symbols (pumpkins, ghosts, etc.) on screen (if enabled).
+
+ + +
Amount of symbols on mobile. Minimum 0. Warning: High values may affect performance.
+
+
+ + +
Amount of symbols on mobile. Minimum 0. Warning: High values may affect performance.
+
@@ -428,6 +412,11 @@
Number of sea creatures.
+
+ + +
Amount of sea creatures on mobile. Minimum 0. Warning: High values may affect performance.
+
Enable the Hearts theme in general (e.g. for automation).
-
- -
Displays additional hearts randomly distributed across the screen.
-
-
- -
Displays additional hearts randomly distributed across the screen. on mobile devices. Warning: High values may affect performance.
-
+ +
Number of additional floating hearts.
+
+ + +
Amount of hearts on mobile. Minimum 0. Warning: High values may affect performance.
+
Enable the Christmas theme in general (e.g. for automation).
-
- -
Displays additional Christmas-themed icons randomly distributed across the screen.
-
-
- -
Displays additional Christmas-themed icons randomly distributed across the screen on mobile devices. Warning: High values may affect performance.
-
+ +
Number of additional Christmas symbols.
+
+ + +
Amount of symbols on mobile. Minimum 0. Warning: High values may affect performance.
+
Enable the Easter theme in general (e.g. for automation).
-
- -
Displays additional easter eggs randomly distributed across the screen.
-
-
- -
Displays additional easter eggs randomly distributed across the screen on mobile devices. Warning: High values may affect performance.
-
+ +
Number of additional Easter eggs (if enabled).
-
- -
Randomize the movement speed.
-
+
Enable the Resurrection theme in general (e.g. for automation).
-
- -
Displays additional symbols randomly distributed across the screen.
-
-
- -
Displays additional symbols randomly distributed across the screen on mobile devices. Warning: High values may affect performance.
-
+ +
Number of additional symbols (if enabled).
+
+ + +
Amount of symbols on mobile. Minimum 0. Warning: High values may affect performance.
+
Enables the Spring theme (grass, pollen).
-
- -
Enables animated spring assets (birds, butterflies, bees, etc.).
-
-
- -
Displays animated assets on mobile devices. Warning: High values may affect performance.
-
+ +
@@ -745,13 +683,12 @@
Number of ladybugs walking along the bottom.
-
- -
Randomize the animations duration.
+
+ + +
Amount of mixed symbols on mobile. Warning: High values may affect performance.
+
@@ -764,20 +701,8 @@
Enable the Summer theme in general (e.g. for automation).
-
- -
Displays additional bubbles and dust particles rising across the screen.
-
-
- -
Displays additional bubbles and dust particles rising across the screen on mobile devices. Warning: High values may affect performance.
-
+ +
@@ -788,6 +713,11 @@
Number of dust particles (if enabled).
+
+ + +
Amount of mixed symbols on mobile. Warning: High values may affect performance.
+
Enable the Carnival theme in general (e.g. for automation).
-
- -
Displays additional confetti falling and fluttering across the screen.
-
-
- -
Displays additional confetti falling and fluttering across the screen on mobile devices. Warning: High values may affect performance.
-
+ +
Number of additional confetti pieces (if enabled).
+
+ + +
Amount of confetti on mobile. Minimum 0. Warning: High values may affect performance.
+
Enable the Cherry Blossom theme in general (e.g. for automation).
-
- -
Displays additional cherry blossoms falling and fluttering across the screen.
-
-
- -
Displays additional cherry blossoms falling and fluttering across the screen on mobile devices. Warning: High values may affect performance.
-
+ +
Number of additional cherry blossoms (if enabled).
+
+ + +
Amount of petals on mobile. Minimum 0. Warning: High values may affect performance.
+
-
- -
-
- -
+ +
Number of additional symbols displayed (if enabled).
+
+ + +
Amount of symbols on mobile. Minimum 0. Warning: High values may affect performance.
+
Enable the olympia theme effects in general (e.g. for automation).
-
- -
-
- -
+ +
Number of additional symbols displayed (if enabled).
+
+ + +
Amount of symbols on mobile. Minimum 0. Warning: High values may affect performance.
+
Enable the space theme effects in general (e.g. for automation).
-
- -
-
- -
+ +
@@ -1090,6 +978,11 @@
Number of rockets displayed (if enabled).
+
+ + +
Amount of combined symbols on mobile. Minimum 0. Warning: High values may affect performance.
+
Enable god rays from the top.
-
- -
-
- -
+ +
@@ -1179,30 +1062,19 @@
Enable the birthday theme effects in general (e.g. for automation).
-
- -
Enable dropping confetti / popping a garland at the top.
-
-
- -
-
- -
+ + +
Number of additional symbols displayed (if enabled).
+
+ + +
Amount of symbols on mobile. Minimum 0. Warning: High values may affect performance.
+
@@ -1226,25 +1098,18 @@
Enable the Eurovision/Music theme in general (e.g. for automation).
-
- -
Displays dancing music notes.
-
-
- -
Displays dancing music notes on mobile devices. Warning: High values may affect performance.
-
+ +
Number of additional dancing music notes (if enabled).
+
+ + +
Amount of notes on mobile. Minimum 0. Warning: High values may affect performance.
+
Enable the Matrix theme in general (e.g. for automation).
-
- -
Displays additional digital rain elements.
-
-
- -
Displays additional digital rain elements on mobile devices. Warning: High values may affect performance.
-
+ +
Number of additional digital rain columns (if enabled).
+
+ + +
Amount of rain columns on mobile. Minimum 0. Warning: High values may affect performance.
+
@@ -1459,6 +1317,13 @@ Enable Mario Day Seasonal
+
+ +
Allow Mario to jump periodically.
+

@@ -1503,6 +1368,16 @@ Enable Eid al-Fitr Seasonal +
+ + +
Amount of lanterns. Minimum 0. Warning: High values may affect performance.
+
+
+ + +
Amount of lanterns on mobile. Minimum 0. Warning: High values may affect performance.
+
@@ -1671,37 +1546,36 @@ ' ' + ' ' + '
' + ''; @@ -1788,19 +1662,16 @@ document.querySelector('#EnableAutumn').checked = config.Autumn.EnableAutumn; document.querySelector('#AutumnLeafCount').value = config.Autumn.LeafCount; - document.querySelector('#EnableRandomLeaves').checked = config.Autumn.EnableRandomLeaves; - document.querySelector('#EnableRandomLeavesMobile').checked = config.Autumn.EnableRandomLeavesMobile; + document.querySelector('#AutumnLeafCountMobile').value = config.Autumn.LeafCountMobile; document.querySelector('#EnableDifferentDurationAutumn').checked = config.Autumn.EnableDifferentDuration; document.querySelector('#EnableRotation').checked = config.Autumn.EnableRotation; // Birthday document.querySelector('#EnableBirthday').checked = config.Birthday.EnableBirthday !== false; - document.querySelector('#EnableGarland').checked = config.Birthday.EnableGarland !== false; - document.querySelector('#EnableRandomSymbolsBirthday').checked = config.Birthday.EnableRandomSymbols !== false; - document.querySelector('#EnableRandomSymbolsMobileBirthday').checked = config.Birthday.EnableRandomSymbolsMobile === true; document.querySelector('#EnableDifferentDurationBirthday').checked = config.Birthday.EnableDifferentDuration !== false; document.querySelector('#BirthdaySymbolCount').value = config.Birthday.SymbolCount || 25; + document.querySelector('#BirthdaySymbolCountMobile').value = config.Birthday.SymbolCountMobile || 10; document.querySelector('#BirthdayConfettiCount').value = config.Birthday.ConfettiCount || 60; config.Birthday = config.Birthday || {}; @@ -1809,24 +1680,21 @@ document.querySelector('#EnableCarnival').checked = config.Carnival.EnableCarnival; document.querySelector('#EnableCarnivalSway').checked = config.Carnival.EnableCarnivalSway !== undefined ? config.Carnival.EnableCarnivalSway : true; document.querySelector('#CarnivalObjectCount').value = config.Carnival.ObjectCount; - document.querySelector('#EnableRandomCarnival').checked = config.Carnival.EnableRandomCarnival; - document.querySelector('#EnableRandomCarnivalMobile').checked = config.Carnival.EnableRandomCarnivalMobile; + document.querySelector('#CarnivalObjectCountMobile').value = config.Carnival.ObjectCountMobile; document.querySelector('#EnableDifferentDurationCarnival').checked = config.Carnival.EnableDifferentDuration; // CherryBlossom document.querySelector('#EnableCherryBlossom').checked = config.CherryBlossom.EnableCherryBlossom; document.querySelector('#CherryBlossomPetalCount').value = config.CherryBlossom.PetalCount; - document.querySelector('#EnableRandomCherryBlossom').checked = config.CherryBlossom.EnableRandomCherryBlossom; - document.querySelector('#EnableRandomCherryBlossomMobile').checked = config.CherryBlossom.EnableRandomCherryBlossomMobile; + document.querySelector('#CherryBlossomPetalCountMobile').value = config.CherryBlossom.PetalCountMobile; document.querySelector('#EnableDifferentDurationCherryBlossom').checked = config.CherryBlossom.EnableDifferentDuration; // Christmas document.querySelector('#EnableChristmas').checked = config.Christmas.EnableChristmas; document.querySelector('#ChristmasCount').value = config.Christmas.SymbolCount; - document.querySelector('#EnableRandomChristmas').checked = config.Christmas.EnableRandomChristmas; - document.querySelector('#EnableRandomChristmasMobile').checked = config.Christmas.EnableRandomChristmasMobile; + document.querySelector('#ChristmasCountMobile').value = config.Christmas.SymbolCountMobile; document.querySelector('#EnableDifferentDurationChristmas').checked = config.Christmas.EnableDifferentDuration; // EarthDay @@ -1838,12 +1706,7 @@ document.querySelector('#EnableEaster').checked = config.Easter.EnableEaster; document.querySelector('#EasterEggCount').value = config.Easter.EggCount; - document.querySelector('#EnableRandomEaster').checked = config.Easter.EnableRandomEaster; - document.querySelector('#EnableRandomEasterMobile').checked = config.Easter.EnableRandomEasterMobile; - document.querySelector('#EnableDifferentDurationEaster').checked = config.Easter.EnableDifferentDuration; document.querySelector('#EasterBunny').checked = config.Easter.EnableBunny; - document.querySelector('#BunnyDuration').value = config.Easter.BunnyDuration; - document.querySelector('#HopHeight').value = config.Easter.HopHeight; document.querySelector('#MinBunnyRestTime').value = config.Easter.MinBunnyRestTime; document.querySelector('#MaxBunnyRestTime').value = config.Easter.MaxBunnyRestTime; @@ -1851,8 +1714,7 @@ document.querySelector('#EnableEurovision').checked = config.Eurovision.EnableEurovision; document.querySelector('#EurovisionSymbolCount').value = config.Eurovision.SymbolCount; - document.querySelector('#EnableRandomEurovision').checked = config.Eurovision.EnableRandomEurovision; - document.querySelector('#EnableRandomEurovisionMobile').checked = config.Eurovision.EnableRandomEurovisionMobile; + document.querySelector('#EurovisionSymbolCountMobile').value = config.Eurovision.SymbolCountMobile; document.querySelector('#EnableDifferentDurationEurovision').checked = config.Eurovision.EnableDifferentDuration; document.querySelector('#EnableColorfulNotes').checked = config.Eurovision.EnableColorfulNotes; document.querySelector('#EurovisionColors').value = config.Eurovision.EurovisionColors; @@ -1871,8 +1733,7 @@ document.querySelector('#EnableHalloween').checked = config.Halloween.EnableHalloween; document.querySelector('#HalloweenCount').value = config.Halloween.SymbolCount; - document.querySelector('#EnableRandomHalloween').checked = config.Halloween.EnableRandomSymbols; - document.querySelector('#EnableRandomHalloweenMobile').checked = config.Halloween.EnableRandomSymbolsMobile; + document.querySelector('#HalloweenCountMobile').value = config.Halloween.SymbolCountMobile; document.querySelector('#EnableDifferentDurationHalloween').checked = config.Halloween.EnableDifferentDuration; document.querySelector('#EnableSpiders').checked = config.Halloween.EnableSpiders !== undefined ? config.Halloween.EnableSpiders : true; document.querySelector('#EnableMice').checked = config.Halloween.EnableMice !== undefined ? config.Halloween.EnableMice : true; @@ -1881,17 +1742,15 @@ document.querySelector('#EnableHearts').checked = config.Hearts.EnableHearts; document.querySelector('#HeartsCount').value = config.Hearts.SymbolCount; - document.querySelector('#EnableRandomHearts').checked = config.Hearts.EnableRandomSymbols; - document.querySelector('#EnableRandomHeartsMobile').checked = config.Hearts.EnableRandomSymbolsMobile; + document.querySelector('#HeartsCountMobile').value = config.Hearts.SymbolCountMobile; document.querySelector('#EnableDifferentDurationHearts').checked = config.Hearts.EnableDifferentDuration; // Matrix document.querySelector('#EnableMatrix').checked = config.Matrix.EnableMatrix; document.querySelector('#MatrixSymbolCount').value = config.Matrix.SymbolCount; + document.querySelector('#MatrixSymbolCountMobile').value = config.Matrix.SymbolCountMobile; document.querySelector('#MatrixChars').value = config.Matrix.MatrixChars !== undefined ? config.Matrix.MatrixChars : '0123456789'; - document.querySelector('#EnableRandomMatrix').checked = config.Matrix.EnableRandomMatrix; - document.querySelector('#EnableRandomMatrixMobile').checked = config.Matrix.EnableRandomMatrixMobile; document.querySelector('#EnableDifferentDurationMatrix').checked = config.Matrix.EnableDifferentDuration; document.querySelector('#EnableMatrixBackground').checked = config.Matrix.EnableMatrixBackground !== undefined ? config.Matrix.EnableMatrixBackground : false; @@ -1900,10 +1759,9 @@ if (!config.Olympia) config.Olympia = { EnableOlympia: true, SymbolCount: 25, EnableRandomSymbols: true, EnableRandomSymbolsMobile: false, EnableDifferentDuration: true }; document.querySelector('#EnableOlympia').checked = config.Olympia.EnableOlympia !== false; - document.querySelector('#EnableRandomSymbolsOlympia').checked = config.Olympia.EnableRandomSymbols !== false; - document.querySelector('#EnableRandomSymbolsMobileOlympia').checked = config.Olympia.EnableRandomSymbolsMobile === true; document.querySelector('#EnableDifferentDurationOlympia').checked = config.Olympia.EnableDifferentDuration !== false; document.querySelector('#OlympiaSymbolCount').value = config.Olympia.SymbolCount || 25; + document.querySelector('#OlympiaSymbolCountMobile').value = config.Olympia.SymbolCountMobile || 10; // Pride @@ -1923,8 +1781,7 @@ document.querySelector('#EnableResurrection').checked = config.Resurrection.EnableResurrection; document.querySelector('#ResurrectionSymbolCount').value = config.Resurrection.SymbolCount; - document.querySelector('#EnableRandomResurrection').checked = config.Resurrection.EnableRandomSymbols; - document.querySelector('#EnableRandomResurrectionMobile').checked = config.Resurrection.EnableRandomSymbolsMobile; + document.querySelector('#ResurrectionSymbolCountMobile').value = config.Resurrection.SymbolCountMobile; document.querySelector('#EnableDifferentDurationResurrection').checked = config.Resurrection.EnableDifferentDuration; // Santa @@ -1950,9 +1807,8 @@ // Snowflakes document.querySelector('#SnowflakesCount').value = config.Snowflakes.SnowflakeCount; + document.querySelector('#SnowflakeCountMobile').value = config.Snowflakes.SnowflakeCountMobile; document.querySelector('#EnableSnowflakes').checked = config.Snowflakes.EnableSnowflakes; - document.querySelector('#EnableRandomSnowflakes').checked = config.Snowflakes.EnableRandomSnowflakes; - document.querySelector('#EnableRandomSnowflakesMobile').checked = config.Snowflakes.EnableRandomSnowflakesMobile; document.querySelector('#EnableColoredSnowflakes').checked = config.Snowflakes.EnableColoredSnowflakes; document.querySelector('#EnableDifferentDurationSnowflakes').checked = config.Snowflakes.EnableDifferentDuration; @@ -1968,18 +1824,18 @@ // Space document.querySelector('#EnableSpace').checked = config.Space.EnableSpace || false; - document.querySelector('#EnableRandomSymbolsSpace').checked = config.Space.EnableRandomSymbols || false; - document.querySelector('#EnableRandomSymbolsMobileSpace').checked = config.Space.EnableRandomSymbolsMobile || false; document.querySelector('#EnableDifferentDurationSpace').checked = config.Space.EnableDifferentDuration || false; document.querySelector('#PlanetCount').value = config.Space.PlanetCount !== undefined ? config.Space.PlanetCount : 12; document.querySelector('#AstronautCount').value = config.Space.AstronautCount !== undefined ? config.Space.AstronautCount : 5; document.querySelector('#SatelliteCount').value = config.Space.SatelliteCount !== undefined ? config.Space.SatelliteCount : 2; document.querySelector('#IssCount').value = config.Space.IssCount !== undefined ? config.Space.IssCount : 1; document.querySelector('#RocketCount').value = config.Space.RocketCount !== undefined ? config.Space.RocketCount : 1; + document.querySelector('#SpaceSymbolCountMobile').value = config.Space.SymbolCountMobile !== undefined ? config.Space.SymbolCountMobile : 2; // Spooky document.querySelector('#SpookyCount').value = config.Spooky.SymbolCount !== undefined ? config.Spooky.SymbolCount : 25; + document.querySelector('#SpookyCountMobile').value = config.Spooky.SymbolCountMobile !== undefined ? config.Spooky.SymbolCountMobile : 10; document.querySelector('#EnableSpooky').checked = config.Spooky.EnableSpooky !== undefined ? config.Spooky.EnableSpooky : true; document.querySelector('#SpookySize').value = config.Spooky.SpookySize !== undefined ? config.Spooky.SpookySize : 30; document.querySelector('#EnableSpookySway').checked = config.Spooky.EnableSpookySway !== undefined ? config.Spooky.EnableSpookySway : true; @@ -1994,10 +1850,9 @@ const savedBallsString = config.Sports.SportsBalls || 'football,basketball,tennis,volleyball'; const savedBalls = savedBallsString.split(','); document.querySelector('#EnableSports').checked = config.Sports.EnableSports !== false; - document.querySelector('#EnableRandomSymbolsSports').checked = config.Sports.EnableRandomSymbols !== false; - document.querySelector('#EnableRandomSymbolsMobileSports').checked = config.Sports.EnableRandomSymbolsMobile === true; document.querySelector('#EnableDifferentDurationSports').checked = config.Sports.EnableDifferentDuration !== false; document.querySelector('#SportsSymbolCount').value = config.Sports.SymbolCount || 25; + document.querySelector('#SportsSymbolCountMobile').value = config.Sports.SymbolCountMobile || 10; document.querySelector('#TurfColor').value = config.Sports.TurfColor || '#228b22'; document.querySelector('#EnableTrophy').checked = config.Sports.EnableTrophy !== false; document.querySelectorAll('.sport-ball-cb').forEach(cb => { @@ -2012,10 +1867,7 @@ document.querySelector('#SpringButterflyCount').value = config.Spring.ButterflyCount !== undefined ? config.Spring.ButterflyCount : 2; document.querySelector('#SpringBeeCount').value = config.Spring.BeeCount !== undefined ? config.Spring.BeeCount : 1; document.querySelector('#SpringLadybugCount').value = config.Spring.LadybugCount !== undefined ? config.Spring.LadybugCount : 1; - document.querySelector('#EnableRandomSpring').checked = config.Spring.EnableRandomSpring; - document.querySelector('#EnableRandomSpringMobile').checked = config.Spring.EnableRandomSpringMobile; - document.querySelector('#EnableDifferentDurationSpring').checked = config.Spring.EnableDifferentDuration; - + document.querySelector('#SpringSymbolCountMobile').value = config.Spring.SymbolCountMobile !== undefined ? config.Spring.SymbolCountMobile : 5; // Storm document.querySelector('#EnableStorm').checked = config.Storm.EnableStorm; @@ -2029,8 +1881,7 @@ document.querySelector('#EnableSummer').checked = config.Summer.EnableSummer; document.querySelector('#SummerBubbleCount').value = config.Summer.BubbleCount; document.querySelector('#SummerDustCount').value = config.Summer.DustCount; - document.querySelector('#EnableRandomSummer').checked = config.Summer.EnableRandomSummer; - document.querySelector('#EnableRandomSummerMobile').checked = config.Summer.EnableRandomSummerMobile; + document.querySelector('#SummerSymbolCountMobile').value = config.Summer.SymbolCountMobile; document.querySelector('#EnableDifferentDurationSummer').checked = config.Summer.EnableDifferentDuration; // Support for both new category string and legacy filename strings @@ -2041,8 +1892,6 @@ // Underwater document.querySelector('#EnableUnderwater').checked = config.Underwater.EnableUnderwater !== false; - document.querySelector('#EnableRandomSymbolsUnderwater').checked = config.Underwater.EnableRandomSymbols !== false; - document.querySelector('#EnableRandomSymbolsMobileUnderwater').checked = config.Underwater.EnableRandomSymbolsMobile === true; document.querySelector('#EnableDifferentDurationUnderwater').checked = config.Underwater.EnableDifferentDuration !== false; document.querySelector('#UnderwaterSeaweedCount').value = config.Underwater.SeaweedCount !== undefined ? config.Underwater.SeaweedCount : 30; document.querySelector('#UnderwaterFishCount').value = config.Underwater.FishCount !== undefined ? config.Underwater.FishCount : 15; @@ -2055,6 +1904,7 @@ config.Underwater = config.Underwater || {}; document.querySelector('#EnableUnderwaterLightRays').checked = config.Underwater.EnableLightRays !== false; document.querySelector('#UnderwaterSymbolCount').value = config.Underwater.SymbolCount || 15; + document.querySelector('#UnderwaterSymbolCountMobile').value = config.Underwater.SymbolCountMobile || 5; Dashboard.hideLoadingMsg(); @@ -2077,22 +1927,17 @@ // Autumn config.Autumn.EnableAutumn = document.querySelector('#EnableAutumn').checked; config.Autumn.LeafCount = parseInt(document.querySelector('#AutumnLeafCount').value); - config.Autumn.EnableRandomLeaves = document.querySelector('#EnableRandomLeaves').checked; - config.Autumn.EnableRandomLeavesMobile = document.querySelector('#EnableRandomLeavesMobile').checked; + config.Autumn.LeafCountMobile = parseInt(document.querySelector('#AutumnLeafCountMobile').value); config.Autumn.EnableDifferentDuration = document.querySelector('#EnableDifferentDurationAutumn').checked; config.Autumn.EnableRotation = document.querySelector('#EnableRotation').checked; - // Legacy Halloween - if (!config.LegacyHalloween) config.LegacyHalloween = {}; - config.LegacyHalloween.SymbolCount = parseInt(document.querySelector('#LegacyHalloweenSymbolCount').value); - + // Sports if (!config.Sports) config.Sports = {}; config.Sports.EnableSports = document.querySelector('#EnableSports').checked; - config.Sports.EnableRandomSymbols = document.querySelector('#EnableRandomSymbolsSports').checked; - config.Sports.EnableRandomSymbolsMobile = document.querySelector('#EnableRandomSymbolsMobileSports').checked; config.Sports.EnableDifferentDuration = document.querySelector('#EnableDifferentDurationSports').checked; config.Sports.SymbolCount = parseInt(document.querySelector('#SportsSymbolCount').value); + config.Sports.SymbolCountMobile = parseInt(document.querySelector('#SportsSymbolCountMobile').value); config.Sports.TurfColor = document.querySelector('#TurfColor').value; config.Sports.EnableTrophy = document.querySelector('#EnableTrophy').checked; @@ -2106,22 +1951,20 @@ // Olympia if (!config.Olympia) config.Olympia = {}; config.Olympia.EnableOlympia = document.querySelector('#EnableOlympia').checked; - config.Olympia.EnableRandomSymbols = document.querySelector('#EnableRandomSymbolsOlympia').checked; - config.Olympia.EnableRandomSymbolsMobile = document.querySelector('#EnableRandomSymbolsMobileOlympia').checked; config.Olympia.EnableDifferentDuration = document.querySelector('#EnableDifferentDurationOlympia').checked; config.Olympia.SymbolCount = parseInt(document.querySelector('#OlympiaSymbolCount').value); + config.Olympia.SymbolCountMobile = parseInt(document.querySelector('#OlympiaSymbolCountMobile').value); // Space if (!config.Space) config.Space = {}; config.Space.EnableSpace = document.querySelector('#EnableSpace').checked; - config.Space.EnableRandomSymbols = document.querySelector('#EnableRandomSymbolsSpace').checked; - config.Space.EnableRandomSymbolsMobile = document.querySelector('#EnableRandomSymbolsMobileSpace').checked; config.Space.EnableDifferentDuration = document.querySelector('#EnableDifferentDurationSpace').checked; config.Space.PlanetCount = parseInt(document.querySelector('#PlanetCount').value); config.Space.AstronautCount = parseInt(document.querySelector('#AstronautCount').value); config.Space.SatelliteCount = parseInt(document.querySelector('#SatelliteCount').value); config.Space.IssCount = parseInt(document.querySelector('#IssCount').value); config.Space.RocketCount = parseInt(document.querySelector('#RocketCount').value); + config.Space.SymbolCountMobile = parseInt(document.querySelector('#SpaceSymbolCountMobile').value); // Underwater if (!config.Underwater) config.Underwater = {}; @@ -2142,18 +1985,15 @@ // Birthday if (!config.Birthday) config.Birthday = {}; config.Birthday.EnableBirthday = document.querySelector('#EnableBirthday').checked; - config.Birthday.EnableGarland = document.querySelector('#EnableGarland').checked; - config.Birthday.EnableRandomSymbols = document.querySelector('#EnableRandomSymbolsBirthday').checked; - config.Birthday.EnableRandomSymbolsMobile = document.querySelector('#EnableRandomSymbolsMobileBirthday').checked; config.Birthday.EnableDifferentDuration = document.querySelector('#EnableDifferentDurationBirthday').checked; config.Birthday.SymbolCount = parseInt(document.querySelector('#BirthdaySymbolCount').value); + config.Birthday.SymbolCountMobile = parseInt(document.querySelector('#BirthdaySymbolCountMobile').value); config.Birthday.ConfettiCount = parseInt(document.querySelector('#BirthdayConfettiCount').value); // Snowflakes config.Snowflakes.SnowflakeCount = parseInt(document.querySelector('#SnowflakesCount').value); + config.Snowflakes.SnowflakeCountMobile = parseInt(document.querySelector('#SnowflakeCountMobile').value); config.Snowflakes.EnableSnowflakes = document.querySelector('#EnableSnowflakes').checked; - config.Snowflakes.EnableRandomSnowflakes = document.querySelector('#EnableRandomSnowflakes').checked; - config.Snowflakes.EnableRandomSnowflakesMobile = document.querySelector('#EnableRandomSnowflakesMobile').checked; config.Snowflakes.EnableColoredSnowflakes = document.querySelector('#EnableColoredSnowflakes').checked; config.Snowflakes.EnableDifferentDuration = document.querySelector('#EnableDifferentDurationSnowflakes').checked; @@ -2182,8 +2022,7 @@ // Halloween config.Halloween.EnableHalloween = document.querySelector('#EnableHalloween').checked; config.Halloween.SymbolCount = parseInt(document.querySelector('#HalloweenCount').value); - config.Halloween.EnableRandomSymbols = document.querySelector('#EnableRandomHalloween').checked; - config.Halloween.EnableRandomSymbolsMobile = document.querySelector('#EnableRandomHalloweenMobile').checked; + config.Halloween.SymbolCountMobile = parseInt(document.querySelector('#HalloweenCountMobile').value); config.Halloween.EnableDifferentDuration = document.querySelector('#EnableDifferentDurationHalloween').checked; config.Halloween.EnableSpiders = document.querySelector('#EnableSpiders').checked; config.Halloween.EnableMice = document.querySelector('#EnableMice').checked; @@ -2191,15 +2030,13 @@ // Hearts config.Hearts.EnableHearts = document.querySelector('#EnableHearts').checked; config.Hearts.SymbolCount = parseInt(document.querySelector('#HeartsCount').value); - config.Hearts.EnableRandomSymbols = document.querySelector('#EnableRandomHearts').checked; - config.Hearts.EnableRandomSymbolsMobile = document.querySelector('#EnableRandomHeartsMobile').checked; + config.Hearts.SymbolCountMobile = parseInt(document.querySelector('#HeartsCountMobile').value); config.Hearts.EnableDifferentDuration = document.querySelector('#EnableDifferentDurationHearts').checked; // Christmas config.Christmas.EnableChristmas = document.querySelector('#EnableChristmas').checked; config.Christmas.SymbolCount = parseInt(document.querySelector('#ChristmasCount').value); - config.Christmas.EnableRandomChristmas = document.querySelector('#EnableRandomChristmas').checked; - config.Christmas.EnableRandomChristmasMobile = document.querySelector('#EnableRandomChristmasMobile').checked; + config.Christmas.SymbolCountMobile = parseInt(document.querySelector('#ChristmasCountMobile').value); config.Christmas.EnableDifferentDuration = document.querySelector('#EnableDifferentDurationChristmas').checked; // Santa @@ -2217,25 +2054,20 @@ // Easter config.Easter.EnableEaster = document.querySelector('#EnableEaster').checked; config.Easter.EggCount = parseInt(document.querySelector('#EasterEggCount').value); - config.Easter.EnableRandomEaster = document.querySelector('#EnableRandomEaster').checked; - config.Easter.EnableRandomEasterMobile = document.querySelector('#EnableRandomEasterMobile').checked; - config.Easter.EnableDifferentDuration = document.querySelector('#EnableDifferentDurationEaster').checked; config.Easter.EnableBunny = document.querySelector('#EasterBunny').checked; - config.Easter.BunnyDuration = parseInt(document.querySelector('#BunnyDuration').value); - config.Easter.HopHeight = parseInt(document.querySelector('#HopHeight').value); config.Easter.MinBunnyRestTime = parseInt(document.querySelector('#MinBunnyRestTime').value); config.Easter.MaxBunnyRestTime = parseInt(document.querySelector('#MaxBunnyRestTime').value); // Resurrection config.Resurrection.EnableResurrection = document.querySelector('#EnableResurrection').checked; config.Resurrection.SymbolCount = parseInt(document.querySelector('#ResurrectionSymbolCount').value); - config.Resurrection.EnableRandomSymbols = document.querySelector('#EnableRandomResurrection').checked; - config.Resurrection.EnableRandomSymbolsMobile = document.querySelector('#EnableRandomResurrectionMobile').checked; + config.Resurrection.SymbolCountMobile = parseInt(document.querySelector('#ResurrectionSymbolCountMobile').value); config.Resurrection.EnableDifferentDuration = document.querySelector('#EnableDifferentDurationResurrection').checked; // Spooky Theme config.Spooky.EnableSpooky = document.querySelector('#EnableSpooky').checked; config.Spooky.SymbolCount = parseInt(document.querySelector('#SpookyCount').value); + config.Spooky.SymbolCountMobile = parseInt(document.querySelector('#SpookyCountMobile').value); config.Spooky.SpookySize = parseInt(document.querySelector('#SpookySize').value); config.Spooky.EnableSpookySway = document.querySelector('#EnableSpookySway').checked; config.Spooky.SpookyGlowSize = parseInt(document.querySelector('#SpookyGlowSize').value); @@ -2249,31 +2081,25 @@ config.Spring.ButterflyCount = parseInt(document.querySelector('#SpringButterflyCount').value); config.Spring.BeeCount = parseInt(document.querySelector('#SpringBeeCount').value); config.Spring.LadybugCount = parseInt(document.querySelector('#SpringLadybugCount').value); - config.Spring.EnableRandomSpring = document.querySelector('#EnableRandomSpring').checked; - config.Spring.EnableRandomSpringMobile = document.querySelector('#EnableRandomSpringMobile').checked; - config.Spring.EnableDifferentDuration = document.querySelector('#EnableDifferentDurationSpring').checked; - + config.Spring.SymbolCountMobile = parseInt(document.querySelector('#SpringSymbolCountMobile').value); // Summer config.Summer.EnableSummer = document.querySelector('#EnableSummer').checked; config.Summer.BubbleCount = parseInt(document.querySelector('#SummerBubbleCount').value); config.Summer.DustCount = parseInt(document.querySelector('#SummerDustCount').value); - config.Summer.EnableRandomSummer = document.querySelector('#EnableRandomSummer').checked; - config.Summer.EnableRandomSummerMobile = document.querySelector('#EnableRandomSummerMobile').checked; + config.Summer.SymbolCountMobile = parseInt(document.querySelector('#SummerSymbolCountMobile').value); config.Summer.EnableDifferentDuration = document.querySelector('#EnableDifferentDurationSummer').checked; // Carnival config.Carnival.EnableCarnival = document.querySelector('#EnableCarnival').checked; config.Carnival.EnableCarnivalSway = document.querySelector('#EnableCarnivalSway').checked; config.Carnival.ObjectCount = parseInt(document.querySelector('#CarnivalObjectCount').value); - config.Carnival.EnableRandomCarnival = document.querySelector('#EnableRandomCarnival').checked; - config.Carnival.EnableRandomCarnivalMobile = document.querySelector('#EnableRandomCarnivalMobile').checked; + config.Carnival.ObjectCountMobile = parseInt(document.querySelector('#CarnivalObjectCountMobile').value); config.Carnival.EnableDifferentDuration = document.querySelector('#EnableDifferentDurationCarnival').checked; // Cherry Blossom config.CherryBlossom.EnableCherryBlossom = document.querySelector('#EnableCherryBlossom').checked; config.CherryBlossom.PetalCount = parseInt(document.querySelector('#CherryBlossomPetalCount').value); - config.CherryBlossom.EnableRandomCherryBlossom = document.querySelector('#EnableRandomCherryBlossom').checked; - config.CherryBlossom.EnableRandomCherryBlossomMobile = document.querySelector('#EnableRandomCherryBlossomMobile').checked; + config.CherryBlossom.PetalCountMobile = parseInt(document.querySelector('#CherryBlossomPetalCountMobile').value); config.CherryBlossom.EnableDifferentDuration = document.querySelector('#EnableDifferentDurationCherryBlossom').checked; // Earth Day @@ -2283,8 +2109,7 @@ // Eurovision config.Eurovision.EnableEurovision = document.querySelector('#EnableEurovision').checked; config.Eurovision.SymbolCount = parseInt(document.querySelector('#EurovisionSymbolCount').value); - config.Eurovision.EnableRandomEurovision = document.querySelector('#EnableRandomEurovision').checked; - config.Eurovision.EnableRandomEurovisionMobile = document.querySelector('#EnableRandomEurovisionMobile').checked; + config.Eurovision.SymbolCountMobile = parseInt(document.querySelector('#EurovisionSymbolCountMobile').value); config.Eurovision.EnableDifferentDuration = document.querySelector('#EnableDifferentDurationEurovision').checked; config.Eurovision.EnableColorfulNotes = document.querySelector('#EnableColorfulNotes').checked; config.Eurovision.EurovisionColors = document.querySelector('#EurovisionColors').value; @@ -2293,9 +2118,8 @@ // Matrix config.Matrix.EnableMatrix = document.querySelector('#EnableMatrix').checked; config.Matrix.SymbolCount = parseInt(document.querySelector('#MatrixSymbolCount').value); + config.Matrix.SymbolCountMobile = parseInt(document.querySelector('#MatrixSymbolCountMobile').value); config.Matrix.MatrixChars = document.querySelector('#MatrixChars').value; - config.Matrix.EnableRandomMatrix = document.querySelector('#EnableRandomMatrix').checked; - config.Matrix.EnableRandomMatrixMobile = document.querySelector('#EnableRandomMatrixMobile').checked; config.Matrix.EnableDifferentDuration = document.querySelector('#EnableDifferentDurationMatrix').checked; config.Matrix.EnableMatrixBackground = document.querySelector('#EnableMatrixBackground').checked; @@ -2322,8 +2146,7 @@ config.Underwater.EnableUnderwater = document.querySelector('#EnableUnderwater').checked; config.Underwater.EnableLightRays = document.querySelector('#EnableUnderwaterLightRays').checked; config.Underwater.SymbolCount = parseInt(document.querySelector('#UnderwaterSymbolCount').value); - config.Underwater.EnableRandomSymbols = document.querySelector('#EnableRandomUnderwater').checked; - config.Underwater.EnableRandomSymbolsMobile = document.querySelector('#EnableRandomUnderwaterMobile').checked; + config.Underwater.SymbolCountMobile = parseInt(document.querySelector('#UnderwaterSymbolCountMobile').value); config.Underwater.EnableDifferentDuration = document.querySelector('#EnableDifferentDurationUnderwater').checked; // Simple Themes (just on/off toggles) @@ -2331,10 +2154,14 @@ config.FilmNoir.EnableFilmNoir = document.querySelector('#EnableFilmNoir').checked; config.Oscar.EnableOscar = document.querySelector('#EnableOscar').checked; config.MarioDay.EnableMarioDay = document.querySelector('#EnableMarioDay').checked; + config.MarioDay.LetMarioJump = document.querySelector('#LetMarioJump').checked; config.StarWars.EnableStarWars = document.querySelector('#EnableStarWars').checked; config.Oktoberfest.EnableOktoberfest = document.querySelector('#EnableOktoberfest').checked; config.Friday13.EnableFriday13 = document.querySelector('#EnableFriday13').checked; + if (!config.Eid) config.Eid = {}; config.Eid.EnableEid = document.querySelector('#EnableEid').checked; + config.Eid.LanternCount = parseInt(document.querySelector('#EidLanternCount').value); + config.Eid.LanternCountMobile = parseInt(document.querySelector('#EidLanternCountMobile').value); config.Santa.MinSantaRestTime = parseFloat(document.querySelector('#MinSantaRestTime').value); @@ -2344,20 +2171,14 @@ // Easter config.Easter.EnableEaster = document.querySelector('#EnableEaster').checked; config.Easter.EggCount = parseInt(document.querySelector('#EasterEggCount').value); - config.Easter.EnableRandomEaster = document.querySelector('#EnableRandomEaster').checked; - config.Easter.EnableRandomEasterMobile = document.querySelector('#EnableRandomEasterMobile').checked; - config.Easter.EnableDifferentDuration = document.querySelector('#EnableDifferentDurationEaster').checked; config.Easter.EnableBunny = document.querySelector('#EasterBunny').checked; - config.Easter.BunnyDuration = parseInt(document.querySelector('#BunnyDuration').value); - config.Easter.HopHeight = parseInt(document.querySelector('#HopHeight').value); config.Easter.MinBunnyRestTime = parseInt(document.querySelector('#MinBunnyRestTime').value); config.Easter.MaxBunnyRestTime = parseInt(document.querySelector('#MaxBunnyRestTime').value); // Resurrection config.Resurrection.EnableResurrection = document.querySelector('#EnableResurrection').checked; config.Resurrection.SymbolCount = parseInt(document.querySelector('#ResurrectionSymbolCount').value); - config.Resurrection.EnableRandomSymbols = document.querySelector('#EnableRandomResurrection').checked; - config.Resurrection.EnableRandomSymbolsMobile = document.querySelector('#EnableRandomResurrectionMobile').checked; + config.Resurrection.SymbolCountMobile = parseInt(document.querySelector('#ResurrectionSymbolCountMobile').value); config.Resurrection.EnableDifferentDuration = document.querySelector('#EnableDifferentDurationResurrection').checked; // Spring @@ -2369,31 +2190,25 @@ config.Spring.ButterflyCount = parseInt(document.querySelector('#SpringButterflyCount').value); config.Spring.BeeCount = parseInt(document.querySelector('#SpringBeeCount').value); config.Spring.LadybugCount = parseInt(document.querySelector('#SpringLadybugCount').value); - config.Spring.EnableRandomSpring = document.querySelector('#EnableRandomSpring').checked; - config.Spring.EnableRandomSpringMobile = document.querySelector('#EnableRandomSpringMobile').checked; - config.Spring.EnableDifferentDuration = document.querySelector('#EnableDifferentDurationSpring').checked; - + config.Spring.SymbolCountMobile = parseInt(document.querySelector('#SpringSymbolCountMobile').value); // Summer config.Summer.EnableSummer = document.querySelector('#EnableSummer').checked; config.Summer.BubbleCount = parseInt(document.querySelector('#SummerBubbleCount').value); config.Summer.DustCount = parseInt(document.querySelector('#SummerDustCount').value); - config.Summer.EnableRandomSummer = document.querySelector('#EnableRandomSummer').checked; - config.Summer.EnableRandomSummerMobile = document.querySelector('#EnableRandomSummerMobile').checked; + config.Summer.SymbolCountMobile = parseInt(document.querySelector('#SummerSymbolCountMobile').value); config.Summer.EnableDifferentDuration = document.querySelector('#EnableDifferentDurationSummer').checked; // Carnival config.Carnival.EnableCarnival = document.querySelector('#EnableCarnival').checked; config.Carnival.EnableCarnivalSway = document.querySelector('#EnableCarnivalSway').checked; config.Carnival.ObjectCount = parseInt(document.querySelector('#CarnivalObjectCount').value); - config.Carnival.EnableRandomCarnival = document.querySelector('#EnableRandomCarnival').checked; - config.Carnival.EnableRandomCarnivalMobile = document.querySelector('#EnableRandomCarnivalMobile').checked; + config.Carnival.ObjectCountMobile = parseInt(document.querySelector('#CarnivalObjectCountMobile').value); config.Carnival.EnableDifferentDuration = document.querySelector('#EnableDifferentDurationCarnival').checked; // Cherry Blossom config.CherryBlossom.EnableCherryBlossom = document.querySelector('#EnableCherryBlossom').checked; config.CherryBlossom.PetalCount = parseInt(document.querySelector('#CherryBlossomPetalCount').value); - config.CherryBlossom.EnableRandomCherryBlossom = document.querySelector('#EnableRandomCherryBlossom').checked; - config.CherryBlossom.EnableRandomCherryBlossomMobile = document.querySelector('#EnableRandomCherryBlossomMobile').checked; + config.CherryBlossom.PetalCountMobile = parseInt(document.querySelector('#CherryBlossomPetalCountMobile').value); config.CherryBlossom.EnableDifferentDuration = document.querySelector('#EnableDifferentDurationCherryBlossom').checked; // Earth Day @@ -2403,8 +2218,7 @@ // Eurovision config.Eurovision.EnableEurovision = document.querySelector('#EnableEurovision').checked; config.Eurovision.SymbolCount = parseInt(document.querySelector('#EurovisionSymbolCount').value); - config.Eurovision.EnableRandomEurovision = document.querySelector('#EnableRandomEurovision').checked; - config.Eurovision.EnableRandomEurovisionMobile = document.querySelector('#EnableRandomEurovisionMobile').checked; + config.Eurovision.SymbolCountMobile = parseInt(document.querySelector('#EurovisionSymbolCountMobile').value); config.Eurovision.EnableDifferentDuration = document.querySelector('#EnableDifferentDurationEurovision').checked; config.Eurovision.EnableColorfulNotes = document.querySelector('#EnableColorfulNotes').checked; config.Eurovision.EurovisionColors = document.querySelector('#EurovisionColors').value; @@ -2412,25 +2226,21 @@ // Birthday config.Birthday.EnableBirthday = document.querySelector('#EnableBirthday').checked; - config.Birthday.EnableGarland = document.querySelector('#EnableGarland').checked; config.Birthday.SymbolCount = parseInt(document.querySelector('#BirthdaySymbolCount').value); + config.Birthday.SymbolCountMobile = parseInt(document.querySelector('#BirthdaySymbolCountMobile').value); config.Birthday.ConfettiCount = parseInt(document.querySelector('#BirthdayConfettiCount').value); - config.Birthday.EnableRandomSymbols = document.querySelector('#EnableRandomSymbolsBirthday').checked; - config.Birthday.EnableRandomSymbolsMobile = document.querySelector('#EnableRandomSymbolsMobileBirthday').checked; config.Birthday.EnableDifferentDuration = document.querySelector('#EnableDifferentDurationBirthday').checked; // Sports config.Sports.EnableSports = document.querySelector('#EnableSports').checked; config.Sports.SymbolCount = parseInt(document.querySelector('#SportsSymbolCount').value); - config.Sports.EnableRandomSymbols = document.querySelector('#EnableRandomSymbolsSports').checked; - config.Sports.EnableRandomSymbolsMobile = document.querySelector('#EnableRandomSymbolsMobileSports').checked; + config.Sports.SymbolCountMobile = parseInt(document.querySelector('#SportsSymbolCountMobile').value); config.Sports.EnableDifferentDuration = document.querySelector('#EnableDifferentDurationSports').checked; // Olympia config.Olympia.EnableOlympia = document.querySelector('#EnableOlympia').checked; config.Olympia.SymbolCount = parseInt(document.querySelector('#OlympiaSymbolCount').value); - config.Olympia.EnableRandomSymbols = document.querySelector('#EnableRandomSymbolsOlympia').checked; - config.Olympia.EnableRandomSymbolsMobile = document.querySelector('#EnableRandomSymbolsMobileOlympia').checked; + config.Olympia.SymbolCountMobile = parseInt(document.querySelector('#OlympiaSymbolCountMobile').value); config.Olympia.EnableDifferentDuration = document.querySelector('#EnableDifferentDurationOlympia').checked; // Pride