Bump version to 2.0.0.6 and update manifest for new themes and improvements; add mobile symbol count input and error handling in config loading
All checks were successful
Auto Release Plugin / build-and-release (push) Successful in 53s

This commit is contained in:
CodeDevMLH
2026-02-28 03:38:56 +01:00
parent 7da6549bf9
commit 8c02a07b88
3 changed files with 13 additions and 4 deletions

View File

@@ -958,6 +958,11 @@
</div>
<div class="inputContainer">
<label class="inputLabel" for="UnderwaterSymbolCountMobile">Symbol Count (Mobile)</label>
<input is="emby-input" type="number" id="UnderwaterSymbolCountMobile" name="UnderwaterSymbolCountMobile" />
<div class="fieldDescription">Amount of sea creatures shown on mobile. Minimum 0.</div>
</div>
<div class="inputContainer">
<label class="inputLabel" for="UnderwaterSeaweedCount">Seaweed Count</label>
<input is="emby-input" type="number" id="UnderwaterSeaweedCount" name="UnderwaterSeaweedCount" />
@@ -1595,7 +1600,7 @@
Dashboard.showLoadingMsg();
ApiClient.getPluginConfiguration(SeasonalsConfigPage.pluginUniqueId).then(function (config) {
try {
document.querySelector('#SeasonalsIsEnabled').checked = config.IsEnabled;
document.querySelector('#SeasonalsSelectedSeason').value = config.SelectedSeason;
document.querySelector('#SeasonalsAutomateSeasonSelection').checked = config.AutomateSeasonSelection;
@@ -1895,7 +1900,11 @@
document.querySelector('#EidLanternCount').value = config.Eid.LanternCount !== undefined ? config.Eid.LanternCount : 8;
document.querySelector('#EidLanternCountMobile').value = config.Eid.LanternCountMobile !== undefined ? config.Eid.LanternCountMobile : 3;
Dashboard.hideLoadingMsg();
} catch(e) {
console.error('[Seasonals] Error loading config:', e);
} finally {
Dashboard.hideLoadingMsg();
}
});
});