Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ceccbf4ded | ||
|
|
9cba2a0755 | ||
|
|
af036a9aa4 | ||
|
|
cfefd2d2d3 | ||
|
|
8e7299508b | ||
|
|
fc7aa36f41 | ||
|
|
fc9896048f | ||
|
|
572c4d9ace | ||
|
|
2572e085f6 | ||
|
|
8297f989fd |
@@ -40,7 +40,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="selectContainer">
|
<div class="selectContainer">
|
||||||
<label class="selectLabel" for="SelectedSeason">Selected Season</label>
|
<label class="selectLabel" for="SelectedSeason">Selected Season</label>
|
||||||
<select is="emby-select" id="SelectedSeason" name="SelectedSeason" class="emby-select-withcolor emby-select">
|
<select id="SelectedSeason" name="SelectedSeason" class="emby-select">
|
||||||
<option value="none">None</option>
|
<option value="none">None</option>
|
||||||
<option value="snowflakes">Snowflakes</option>
|
<option value="snowflakes">Snowflakes</option>
|
||||||
<option value="snowfall">Snowfall</option>
|
<option value="snowfall">Snowfall</option>
|
||||||
|
|||||||
@@ -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.3.0</Version>
|
<Version>1.6.8.0</Version>
|
||||||
<RepositoryUrl>https://github.com/CodeDevMLH/Jellyfin-Seasonals</RepositoryUrl>
|
<RepositoryUrl>https://github.com/CodeDevMLH/Jellyfin-Seasonals</RepositoryUrl>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
|||||||
BIN
Jellyfin.Plugin.Seasonals/Web/assets/logo_SW_24x24.png
Normal file
BIN
Jellyfin.Plugin.Seasonals/Web/assets/logo_SW_24x24.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.6 KiB |
BIN
Jellyfin.Plugin.Seasonals/Web/assets/logo_SW_48x48.png
Normal file
BIN
Jellyfin.Plugin.Seasonals/Web/assets/logo_SW_48x48.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.4 KiB |
@@ -243,7 +243,8 @@ function createSettingsIcon() {
|
|||||||
button.type = 'button';
|
button.type = 'button';
|
||||||
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/logo_SW_24x24.png" style="width: 24px; height: 24px; vertical-align: middle;">';
|
||||||
button.style.verticalAlign = 'middle';
|
button.style.verticalAlign = 'middle';
|
||||||
|
|
||||||
button.addEventListener('click', (e) => {
|
button.addEventListener('click', (e) => {
|
||||||
@@ -274,8 +275,17 @@ function createSettingsPopup(anchorElement) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const rect = anchorElement.getBoundingClientRect();
|
const rect = anchorElement.getBoundingClientRect();
|
||||||
|
|
||||||
|
let rightPos = window.innerWidth - rect.right;
|
||||||
|
if (window.innerWidth < 450 || (window.innerWidth - rightPos) < 260) {
|
||||||
|
popup.style.right = '1rem';
|
||||||
|
popup.style.left = 'auto';
|
||||||
|
} else {
|
||||||
|
popup.style.right = `${rightPos}px`;
|
||||||
|
popup.style.left = 'auto';
|
||||||
|
}
|
||||||
|
|
||||||
popup.style.top = `${rect.bottom + 10}px`;
|
popup.style.top = `${rect.bottom + 10}px`;
|
||||||
popup.style.right = `${window.innerWidth - rect.right}px`;
|
|
||||||
|
|
||||||
popup.innerHTML = `
|
popup.innerHTML = `
|
||||||
<div class="checkboxContainer checkboxContainer-withDescription" style="margin-bottom: 0.5em;">
|
<div class="checkboxContainer checkboxContainer-withDescription" style="margin-bottom: 0.5em;">
|
||||||
@@ -285,9 +295,9 @@ function createSettingsPopup(anchorElement) {
|
|||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="selectContainer">
|
<div class="selectContainer" style="margin-bottom: 0.5em;">
|
||||||
<label class="selectLabel" for="seasonal-theme-select" style="margin-bottom: 0.5em; display: block; color: inherit;">Force Theme</label>
|
<label class="selectLabel" for="seasonal-theme-select" style="margin-bottom: 0.5em; display: block; color: inherit;">Force Theme</label>
|
||||||
<select is="emby-select" id="seasonal-theme-select" class="emby-select-withcolor emby-select" style="width: 100%; padding: 0.5em; background-color: #333; border: 1px solid #444; color: #fff; border-radius: 4px;">
|
<select id="seasonal-theme-select" class="emby-select" style="width: 100%; padding: 0.5em; background-color: #333; border: 1px solid #444; color: #fff; border-radius: 4px;">
|
||||||
<option value="auto">Auto (Date Based)</option>
|
<option value="auto">Auto (Date Based)</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -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.3.0",
|
"version": "1.6.8.0",
|
||||||
"changelog": "- feat: Add client-side toggle option for seasonal settings",
|
"changelog": "- feat: Add client-side toggle option for seasonal settings",
|
||||||
"targetAbi": "10.11.0.0",
|
"targetAbi": "10.11.0.0",
|
||||||
"sourceUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/Jellyfin-Seasonals-Plugin/releases/download/v1.6.3.0/Jellyfin.Plugin.Seasonals.zip",
|
"sourceUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/Jellyfin-Seasonals-Plugin/releases/download/v1.6.8.0/Jellyfin.Plugin.Seasonals.zip",
|
||||||
"checksum": "67a869e666e7622e64c220abd47dbd6c",
|
"checksum": "26f194a62f7cd2eb1131fa386d6654cf",
|
||||||
"timestamp": "2026-02-03T18:33:24Z"
|
"timestamp": "2026-02-03T20:24:41Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"version": "1.5.1.0",
|
"version": "1.5.1.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user