|
|
|
|
@@ -975,11 +975,6 @@
|
|
|
|
|
<input is="emby-input" type="number" id="SpookyCount" name="SpookyCount" />
|
|
|
|
|
<div class="fieldDescription">Number of floating symbols.</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="inputContainer">
|
|
|
|
|
<label class="inputLabel" for="SpookyCountMobile">Symbol Count (Mobile)</label>
|
|
|
|
|
<input is="emby-input" type="number" id="SpookyCountMobile" name="SpookyCountMobile" />
|
|
|
|
|
<div class="fieldDescription">Amount of symbols on mobile. Minimum 0. Warning: High values may affect performance.</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="inputContainer">
|
|
|
|
|
<label class="inputLabel" for="SpookySize">Symbol Size</label>
|
|
|
|
|
<input is="emby-input" type="number" id="SpookySize" name="SpookySize" />
|
|
|
|
|
@@ -1581,41 +1576,41 @@
|
|
|
|
|
document.querySelector('#SeasonalsSelectedSeason').value = config.SelectedSeason;
|
|
|
|
|
document.querySelector('#SeasonalsAutomateSeasonSelection').checked = config.AutomateSeasonSelection;
|
|
|
|
|
document.querySelector('#SeasonalsEnableClientSideToggle').checked = config.EnableClientSideToggle !== undefined ? config.EnableClientSideToggle : true;
|
|
|
|
|
if (!config.Autumn) config.Autumn = {};
|
|
|
|
|
if (!config.Birthday) config.Birthday = {};
|
|
|
|
|
if (!config.Carnival) config.Carnival = {};
|
|
|
|
|
if (!config.CherryBlossom) config.CherryBlossom = {};
|
|
|
|
|
if (!config.Christmas) config.Christmas = {};
|
|
|
|
|
if (!config.EarthDay) config.EarthDay = {};
|
|
|
|
|
if (!config.Easter) config.Easter = {};
|
|
|
|
|
if (!config.Eid) config.Eid = {};
|
|
|
|
|
if (!config.Eurovision) config.Eurovision = {};
|
|
|
|
|
if (!config.FilmNoir) config.FilmNoir = {};
|
|
|
|
|
if (!config.Fireworks) config.Fireworks = {};
|
|
|
|
|
if (!config.Friday13) config.Friday13 = {};
|
|
|
|
|
if (!config.Frost) config.Frost = {};
|
|
|
|
|
if (!config.Halloween) config.Halloween = {};
|
|
|
|
|
if (!config.Hearts) config.Hearts = {};
|
|
|
|
|
if (!config.MarioDay) config.MarioDay = {};
|
|
|
|
|
if (!config.Matrix) config.Matrix = {};
|
|
|
|
|
if (!config.Oktoberfest) config.Oktoberfest = {};
|
|
|
|
|
if (!config.Olympia) config.Olympia = {};
|
|
|
|
|
if (!config.Oscar) config.Oscar = {};
|
|
|
|
|
if (!config.Pride) config.Pride = {};
|
|
|
|
|
if (!config.Rain) config.Rain = {};
|
|
|
|
|
if (!config.Resurrection) config.Resurrection = {};
|
|
|
|
|
if (!config.Santa) config.Santa = {};
|
|
|
|
|
if (!config.Snowfall) config.Snowfall = {};
|
|
|
|
|
if (!config.Snowflakes) config.Snowflakes = {};
|
|
|
|
|
if (!config.Snowstorm) config.Snowstorm = {};
|
|
|
|
|
if (!config.Space) config.Space = {};
|
|
|
|
|
if (!config.Spooky) config.Spooky = {};
|
|
|
|
|
if (!config.Sports) config.Sports = {};
|
|
|
|
|
if (!config.Spring) config.Spring = {};
|
|
|
|
|
if (!config.StarWars) config.StarWars = {};
|
|
|
|
|
if (!config.Storm) config.Storm = {};
|
|
|
|
|
if (!config.Summer) config.Summer = {};
|
|
|
|
|
if (!config.Underwater) config.Underwater = {};
|
|
|
|
|
if (!config.Autumn) config.Autumn = { EnableAutumn: true, LeafCount: 35, LeafCountMobile: 10, EnableDifferentDuration: true, EnableRotation: false };
|
|
|
|
|
if (!config.Birthday) config.Birthday = { EnableBirthday: true, SymbolCount: 12, SymbolCountMobile: 5, EnableDifferentDuration: true, ConfettiCount: 60 };
|
|
|
|
|
if (!config.Carnival) config.Carnival = { EnableCarnival: true, EnableDifferentDuration: true, EnableCarnivalSway: true, ObjectCount: 120, ObjectCountMobile: 60 };
|
|
|
|
|
if (!config.CherryBlossom) config.CherryBlossom = { EnableCherryBlossom: true, PetalCount: 25, PetalCountMobile: 15, EnableDifferentDuration: true };
|
|
|
|
|
if (!config.Christmas) config.Christmas = { EnableChristmas: true, SymbolCount: 25, SymbolCountMobile: 10, EnableDifferentDuration: true };
|
|
|
|
|
if (!config.EarthDay) config.EarthDay = { EnableEarthDay: true, FlowersCount: 60, FlowersCountMobile: 20 };
|
|
|
|
|
if (!config.Easter) config.Easter = { EnableEaster: true, EnableBunny: true, MinBunnyRestTime: 2000, MaxBunnyRestTime: 5000, EggCount: 15 };
|
|
|
|
|
if (!config.Eid) config.Eid = { EnableEid: true, LanternCount: 8, LanternCountMobile: 3 };
|
|
|
|
|
if (!config.Eurovision) config.Eurovision = { EnableEurovision: true, SymbolCount: 25, EnableDifferentDuration: true, EnableColorfulNotes: true, EurovisionColors: '#ff0026ff,#17a6ffff,#32d432ff,#FFD700,#f0821bff,#f826f8ff', EurovisionGlowSize: 2 };
|
|
|
|
|
if (!config.FilmNoir) config.FilmNoir = { EnableFilmNoir: true };
|
|
|
|
|
if (!config.Fireworks) config.Fireworks = { EnableFireworks: true, ScrollFireworks: true, ParticleCount: 50, MinFireworks: 3, MaxFireworks: 6, LaunchInterval: 3200 };
|
|
|
|
|
if (!config.Friday13) config.Friday13 = { EnableFriday13: true };
|
|
|
|
|
if (!config.Frost) config.Frost = { EnableFrost: true };
|
|
|
|
|
if (!config.Halloween) config.Halloween = { EnableHalloween: true, SymbolCount: 25, SymbolCountMobile: 10, EnableDifferentDuration: true, EnableSpiders: true, EnableMice: true };
|
|
|
|
|
if (!config.Hearts) config.Hearts = { EnableHearts: true, SymbolCount: 25, SymbolCountMobile: 10, EnableDifferentDuration: true };
|
|
|
|
|
if (!config.MarioDay) config.MarioDay = { EnableMarioDay: true, LetMarioJump: true };
|
|
|
|
|
if (!config.Matrix) config.Matrix = { EnableMatrix: true, SymbolCount: 25, EnableMatrixBackground: false, MatrixChars: '0123456789' };
|
|
|
|
|
if (!config.Oktoberfest) config.Oktoberfest = { EnableOktoberfest: true, SymbolCount: 25, SymbolCountMobile: 10, EnableDifferentDuration: true };
|
|
|
|
|
if (!config.Olympia) config.Olympia = { EnableOlympia: true, SymbolCount: 25, SymbolCountMobile: 10, EnableDifferentDuration: true };
|
|
|
|
|
if (!config.Oscar) config.Oscar = { EnableOscar: true };
|
|
|
|
|
if (!config.Pride) config.Pride = { EnablePride: true, HeartCount: 20, HeartSize: 1.5, ColorHeader: true };
|
|
|
|
|
if (!config.Rain) config.Rain = { EnableRain: true, RaindropCount: 300, RaindropCountMobile: 150, RainSpeed: 1.0 };
|
|
|
|
|
if (!config.Resurrection) config.Resurrection = { EnableResurrection: true, SymbolCount: 12, SymbolCountMobile: 5, EnableDifferentDuration: true };
|
|
|
|
|
if (!config.Santa) config.Santa = { EnableSanta: true, SnowflakesCount: 500, SnowflakesCountMobile: 250, SnowFallSpeed: 3, SantaSpeed: 10, SantaSpeedMobile: 8, MaxSantaRestTime: 8, MinSantaRestTime: 3, MaxPresentFallSpeed: 5, MinPresentFallSpeed: 2 };
|
|
|
|
|
if (!config.Snowfall) config.Snowfall = { EnableSnowfall: true, SnowflakesCount: 500, SnowflakesCountMobile: 250, Speed: 3 };
|
|
|
|
|
if (!config.Snowflakes) config.Snowflakes = { EnableSnowflakes: true, SnowflakeCount: 25, SnowflakeCountMobile: 10, EnableColoredSnowflakes: true, EnableDifferentDuration: true };
|
|
|
|
|
if (!config.Snowstorm) config.Snowstorm = { EnableSnowstorm: true, SnowflakesCount: 500, SnowflakesCountMobile: 250, Speed: 6, HorizontalWind: 4, VerticalVariation: 2 };
|
|
|
|
|
if (!config.Space) config.Space = { EnableSpace: true, PlanetCount: 6, AstronautCount: 1, SatelliteCount: 4, IssCount: 1, RocketCount: 1, EnableDifferentDuration: true, SymbolCountMobile: 2 };
|
|
|
|
|
if (!config.Spooky) config.Spooky = { EnableSpooky: true, SymbolCount: 25, EnableDifferentDuration: true, EnableSpookySway: true, SpookySize: 20, SpookyGlowSize: 2 };
|
|
|
|
|
if (!config.Sports) config.Sports = { EnableSports: true, SymbolCount: 5, EnableDifferentDuration: true, TurfColor: '#228b22', SportsBalls: 'football,basketball,tennis,volleyball', EnableTrophy: false, ConfettiColors: '#000000,#FF0000,#FFCC00' };
|
|
|
|
|
if (!config.Spring) config.Spring = { EnableSpring: true, PollenCount: 30, EnableSpringSunbeams: true, SunbeamCount: 5, BirdCount: 3, ButterflyCount: 4, BeeCount: 2, LadybugCount: 2, SymbolCountMobile: 2 };
|
|
|
|
|
if (!config.StarWars) config.StarWars = { EnableStarWars: true };
|
|
|
|
|
if (!config.Storm) config.Storm = { EnableStorm: true, RaindropCount: 300, RaindropCountMobile: 150, EnableLightning: true, RainSpeed: 1.0 };
|
|
|
|
|
if (!config.Summer) config.Summer = { EnableSummer: true, BubbleCount: 30, DustCount: 50, SymbolCountMobile: 2, EnableDifferentDuration: true };
|
|
|
|
|
if (!config.Underwater) config.Underwater = { EnableUnderwater: true, SymbolCountMobile: 2, EnableDifferentDuration: true, EnableLightRays: true, SeaweedCount: 50, CrabCount: 2, StarfishCount: 2, ShellCount: 2, FishCount: 15, SeahorseCount: 3, JellyfishCount: 3, TurtleCount: 1 };
|
|
|
|
|
|
|
|
|
|
// Load Rules
|
|
|
|
|
try {
|
|
|
|
|
@@ -1805,7 +1800,6 @@
|
|
|
|
|
|
|
|
|
|
// Spooky
|
|
|
|
|
document.querySelector('#SpookyCount').value = config.Spooky.SymbolCount;
|
|
|
|
|
document.querySelector('#SpookyCountMobile').value = config.Spooky.SymbolCountMobile;
|
|
|
|
|
document.querySelector('#EnableSpooky').checked = config.Spooky.EnableSpooky;
|
|
|
|
|
document.querySelector('#SpookySize').value = config.Spooky.SpookySize;
|
|
|
|
|
document.querySelector('#EnableSpookySway').checked = config.Spooky.EnableSpookySway;
|
|
|
|
|
@@ -2068,7 +2062,6 @@
|
|
|
|
|
// 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);
|
|
|
|
|
|