Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cb0392eb0d | ||
|
|
ed13e05b82 | ||
|
|
310fb4d496 | ||
|
|
78d25106db | ||
|
|
a328171a8a |
@@ -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.3</Version>
|
<Version>1.6.13.4</Version>
|
||||||
<RepositoryUrl>https://github.com/CodeDevMLH/Jellyfin-Seasonals</RepositoryUrl>
|
<RepositoryUrl>https://github.com/CodeDevMLH/Jellyfin-Seasonals</RepositoryUrl>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ const ThemeConfigs = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const SettingsManager = {
|
const SeasonalSettingsManager = {
|
||||||
initialized: false,
|
initialized: false,
|
||||||
config: null,
|
config: null,
|
||||||
|
|
||||||
@@ -237,17 +237,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 +267,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.3",
|
"version": "1.6.13.4",
|
||||||
"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.3/Jellyfin.Plugin.Seasonals.zip",
|
"sourceUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/Jellyfin-Seasonals-Plugin/releases/download/v1.6.13.4/Jellyfin.Plugin.Seasonals.zip",
|
||||||
"checksum": "db8bcc00ef0e10d3e56f8079bbbb9491",
|
"checksum": "8e46e1ba0cfc0d2501be33c03effb9e3",
|
||||||
"timestamp": "2026-02-04T15:22:39Z"
|
"timestamp": "2026-02-04T15:51:33Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"version": "1.5.1.0",
|
"version": "1.5.1.0",
|
||||||
@@ -107,6 +107,14 @@
|
|||||||
"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.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",
|
"version": "1.4.0.1",
|
||||||
"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