Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1d7e9e27ec | ||
|
|
6459653328 | ||
|
|
9d738e6061 | ||
|
|
8f5a3650e6 | ||
|
|
229f9fe5ab | ||
|
|
0686129590 | ||
|
|
cb0392eb0d | ||
|
|
ed13e05b82 | ||
|
|
310fb4d496 | ||
|
|
78d25106db | ||
|
|
a328171a8a |
@@ -12,7 +12,7 @@
|
||||
<!-- <TreatWarningsAsErrors>false</TreatWarningsAsErrors> -->
|
||||
<Title>Jellyfin Seasonals Plugin</Title>
|
||||
<Authors>CodeDevMLH</Authors>
|
||||
<Version>1.6.13.3</Version>
|
||||
<Version>1.6.13.5</Version>
|
||||
<RepositoryUrl>https://github.com/CodeDevMLH/Jellyfin-Seasonals</RepositoryUrl>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ const ThemeConfigs = {
|
||||
},
|
||||
};
|
||||
|
||||
const SettingsManager = {
|
||||
const SeasonalSettingsManager = {
|
||||
initialized: false,
|
||||
config: null,
|
||||
|
||||
@@ -99,8 +99,7 @@ const SettingsManager = {
|
||||
button.className = 'paper-icon-button-light headerButton seasonal-settings-button';
|
||||
button.title = 'Seasonal Settings';
|
||||
// button.innerHTML = '<span class="material-icons">ac_unit</span>';
|
||||
// button.innerHTML = '<img src="/Seasonals/Resources/assets/logo_SW.svg" style="width: 52px; height: 24px; vertical-align: middle;">';
|
||||
button.innerHTML = '<img src="/Seasonals/Resources/assets/logo_SW.svg" style="width: 24px; height: 24px; vertical-align: middle;">';
|
||||
button.innerHTML = '<img src="/Seasonals/Resources/assets/logo_SW.svg" draggable="false" style="width: 24px; height: 24px; vertical-align: middle; pointer-events: none;">';
|
||||
button.style.verticalAlign = 'middle';
|
||||
|
||||
button.addEventListener('click', (e) => {
|
||||
@@ -237,17 +236,17 @@ const SeasonalsManager = {
|
||||
if (response.ok) {
|
||||
this.config = await response.json();
|
||||
window.SeasonalsPluginConfig = this.config;
|
||||
console.log('Seasonals: Config loaded:', this.config);
|
||||
console.log('Seasonals: Seasonals Config loaded:', this.config);
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('Seasonals: Error fetching config:', error);
|
||||
console.error('Seasonals: Error fetching Seasonals config:', error);
|
||||
}
|
||||
|
||||
// Initialize Settings UI
|
||||
SettingsManager.init(this.config);
|
||||
SeasonalSettingsManager.init(this.config);
|
||||
|
||||
// User Preference Check
|
||||
const isEnabled = SettingsManager.getSetting('enabled', 'true') === 'true';
|
||||
const isEnabled = SeasonalSettingsManager.getSetting('enabled', 'true') === 'true';
|
||||
if (!isEnabled) {
|
||||
console.log('Seasonals: Disabled by user preference.');
|
||||
return;
|
||||
@@ -267,7 +266,7 @@ const SeasonalsManager = {
|
||||
|
||||
selectTheme() {
|
||||
// Check local override
|
||||
const forcedTheme = SettingsManager.getSetting('theme', 'auto');
|
||||
const forcedTheme = SeasonalSettingsManager.getSetting('theme', 'auto');
|
||||
if (forcedTheme !== 'auto') {
|
||||
console.log(`Seasonals: User forced theme: ${forcedTheme}`);
|
||||
return forcedTheme;
|
||||
|
||||
@@ -9,12 +9,12 @@
|
||||
"imageUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/Jellyfin-Seasonals-Plugin/raw/branch/main/logo.png",
|
||||
"versions": [
|
||||
{
|
||||
"version": "1.6.13.3",
|
||||
"version": "1.6.13.5",
|
||||
"changelog": "- Refactor seasonals.js",
|
||||
"targetAbi": "10.11.0.0",
|
||||
"sourceUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/Jellyfin-Seasonals-Plugin/releases/download/v1.6.13.3/Jellyfin.Plugin.Seasonals.zip",
|
||||
"checksum": "db8bcc00ef0e10d3e56f8079bbbb9491",
|
||||
"timestamp": "2026-02-04T15:22:39Z"
|
||||
"sourceUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/Jellyfin-Seasonals-Plugin/releases/download/v1.6.13.5/Jellyfin.Plugin.Seasonals.zip",
|
||||
"checksum": "23beb3806fe9105dc01f793b46069808",
|
||||
"timestamp": "2026-02-04T16:16:55Z"
|
||||
},
|
||||
{
|
||||
"version": "1.5.1.0",
|
||||
@@ -107,6 +107,22 @@
|
||||
"category": "General",
|
||||
"imageUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/jellyfin-plugin-media-bar-enhanced/raw/branch/main/logo.png",
|
||||
"versions": [
|
||||
{
|
||||
"version": "1.4.0.3",
|
||||
"changelog": "- feat: Add client-side settings feature for selected media bar settings",
|
||||
"targetAbi": "10.11.0.0",
|
||||
"sourceUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/jellyfin-plugin-media-bar-enhanced/releases/download/v1.4.0.3/Jellyfin.Plugin.MediaBarEnhanced.zip",
|
||||
"checksum": "9abf21c095e1ae99cdbeb51edb08f370",
|
||||
"timestamp": "2026-02-04T15:52:11Z"
|
||||
},
|
||||
{
|
||||
"version": "1.4.0.2",
|
||||
"changelog": "- feat: Add client-side settings feature for selected media bar settings",
|
||||
"targetAbi": "10.11.0.0",
|
||||
"sourceUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/jellyfin-plugin-media-bar-enhanced/releases/download/v1.4.0.2/Jellyfin.Plugin.MediaBarEnhanced.zip",
|
||||
"checksum": "6026fb8878a51f6dbe18aab1ac006df8",
|
||||
"timestamp": "2026-02-04T15:45:39Z"
|
||||
},
|
||||
{
|
||||
"version": "1.4.0.1",
|
||||
"changelog": "- feat: Add client-side settings feature for selected media bar settings",
|
||||
|
||||
Reference in New Issue
Block a user