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