Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9e52198ef7 | ||
|
|
b1943dfe17 | ||
|
|
c55e900c0f | ||
|
|
503e9addee | ||
|
|
d630fdd217 | ||
|
|
7e4a7c2a6e | ||
|
|
1716a771f3 |
@@ -12,7 +12,7 @@
|
||||
<!-- <TreatWarningsAsErrors>false</TreatWarningsAsErrors> -->
|
||||
<Title>Jellyfin Seasonals Plugin</Title>
|
||||
<Authors>CodeDevMLH</Authors>
|
||||
<Version>1.6.13.1</Version>
|
||||
<Version>1.6.13.2</Version>
|
||||
<RepositoryUrl>https://github.com/CodeDevMLH/Jellyfin-Seasonals</RepositoryUrl>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
@@ -237,10 +237,10 @@ const SeasonalsManager = {
|
||||
if (response.ok) {
|
||||
this.config = await response.json();
|
||||
window.SeasonalsPluginConfig = this.config;
|
||||
console.log('Seasonals Config loaded:', this.config);
|
||||
console.log('Seasonals: Config loaded:', this.config);
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('Error fetching Seasonals config:', error);
|
||||
console.error('Seasonals: Error fetching config:', error);
|
||||
}
|
||||
|
||||
// Initialize Settings UI
|
||||
@@ -249,13 +249,13 @@ const SeasonalsManager = {
|
||||
// User Preference Check
|
||||
const isEnabled = SettingsManager.getSetting('enabled', 'true') === 'true';
|
||||
if (!isEnabled) {
|
||||
console.log('Seasonals disabled by user preference.');
|
||||
console.log('Seasonals: Disabled by user preference.');
|
||||
return;
|
||||
}
|
||||
|
||||
// Determine Theme
|
||||
const themeName = this.selectTheme();
|
||||
console.log(`Selected theme: ${themeName}`);
|
||||
console.log(`Seasonals: Selected theme: ${themeName}`);
|
||||
|
||||
if (!themeName || themeName === 'none') {
|
||||
return;
|
||||
@@ -269,7 +269,7 @@ const SeasonalsManager = {
|
||||
// Check local override
|
||||
const forcedTheme = SettingsManager.getSetting('theme', 'auto');
|
||||
if (forcedTheme !== 'auto') {
|
||||
console.log(`User forced theme: ${forcedTheme}`);
|
||||
console.log(`Seasonals: User forced theme: ${forcedTheme}`);
|
||||
return forcedTheme;
|
||||
}
|
||||
|
||||
@@ -317,7 +317,7 @@ const SeasonalsManager = {
|
||||
applyTheme(themeName) {
|
||||
const theme = ThemeConfigs[themeName];
|
||||
if (!theme) {
|
||||
console.error(`Theme "${themeName}" not found.`);
|
||||
console.error(`Seasonals: Theme "${themeName}" not found.`);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -326,7 +326,7 @@ const SeasonalsManager = {
|
||||
if (theme.css) this.loadResource('css', theme.css);
|
||||
if (theme.js) this.loadResource('js', theme.js);
|
||||
|
||||
console.log(`Theme "${themeName}" applied.`);
|
||||
console.log(`Seasonals: Theme "${themeName}" applied.`);
|
||||
},
|
||||
|
||||
updateThemeContainer(containerClass) {
|
||||
@@ -355,14 +355,14 @@ const SeasonalsManager = {
|
||||
link.rel = 'stylesheet';
|
||||
link.href = path;
|
||||
// link.href = resolvePath(cssPath);
|
||||
link.onerror = () => console.error(`Failed to load CSS: ${path}`);
|
||||
link.onerror = () => console.error(`Seasonals: Failed to load CSS: ${path}`);
|
||||
document.body.appendChild(link);
|
||||
} else if (type === 'js') {
|
||||
const script = document.createElement('script');
|
||||
script.src = path;
|
||||
// script.src = resolvePath(jsPath);
|
||||
script.defer = true;
|
||||
script.onerror = () => console.error(`Failed to load JS: ${path}`);
|
||||
script.onerror = () => console.error(`Seasonals: Failed to load JS: ${path}`);
|
||||
document.body.appendChild(script);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,12 +9,12 @@
|
||||
"imageUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/Jellyfin-Seasonals-Plugin/raw/branch/main/logo.png",
|
||||
"versions": [
|
||||
{
|
||||
"version": "1.6.13.1",
|
||||
"changelog": "- feat: Add client-side toggle option for seasonal settings",
|
||||
"version": "1.6.13.2",
|
||||
"changelog": "- Refactor seasonals.js",
|
||||
"targetAbi": "10.11.0.0",
|
||||
"sourceUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/Jellyfin-Seasonals-Plugin/releases/download/v1.6.13.1/Jellyfin.Plugin.Seasonals.zip",
|
||||
"checksum": "73177840d232ea06a0b621b901770d4c",
|
||||
"timestamp": "2026-02-04T12:39:13Z"
|
||||
"sourceUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/Jellyfin-Seasonals-Plugin/releases/download/v1.6.13.2/Jellyfin.Plugin.Seasonals.zip",
|
||||
"checksum": "b4cce0db6f194d1cd6ff43666f98e455",
|
||||
"timestamp": "2026-02-04T15:01:12Z"
|
||||
},
|
||||
{
|
||||
"version": "1.5.1.0",
|
||||
@@ -107,6 +107,14 @@
|
||||
"category": "General",
|
||||
"imageUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/jellyfin-plugin-media-bar-enhanced/raw/branch/main/logo.png",
|
||||
"versions": [
|
||||
{
|
||||
"version": "1.4.0.0",
|
||||
"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.0/Jellyfin.Plugin.MediaBarEnhanced.zip",
|
||||
"checksum": "20faa2a703dbb46591f4bd09e6ab7ec3",
|
||||
"timestamp": "2026-02-04T12:49:45Z"
|
||||
},
|
||||
{
|
||||
"version": "1.3.0.3",
|
||||
"changelog": "- feat: Enhance custom media ID functionality with manual trailer override support",
|
||||
|
||||
Reference in New Issue
Block a user