This commit is contained in:
MLH
2024-12-22 03:23:32 +01:00
parent 77ae1e1187
commit b75cc300e2

View File

@ -11,6 +11,7 @@ This mod is based and builds up on the awesome work of [BobHasNoSoul-jellyfin-mo
- [Features](#features) - [Features](#features)
- [Installation](#installation) - [Installation](#installation)
- [Usage](#usage) - [Usage](#usage)
- [Additional Directory: Separate Single Seasonals](#additional-directory-separate-single-seasonals)
- [Troubleshooting](#troubleshooting) - [Troubleshooting](#troubleshooting)
- [Contributing](#contributing) - [Contributing](#contributing)
@ -111,6 +112,20 @@ To use a fixed theme, set automateThemeSelection to false in the theme-configs.j
} }
``` ```
## Additional Directory: Separate Single Seasonals
For users who prefer not to use the automatic seasonal theme selection, individual seasonals are available in the `separate single seasonals` folder. Each seasonal theme can be independently loaded and used without relying on the main automatic selection system.
but this requires to the modify of the `index.html` with adding the html in `add_to_index_html`.
To use a single seasonal theme, include its specific CSS and JS files in your `index.html` inside the `<body> </body>` tags provided by `add_to_index_html.html` in the sub-theme-folders as shown below:
```html
<div class="seasonalsname-container"></div>
<script src="separate single seasonals/snowflakes.js"></script>
<link rel="stylesheet" href="separate single seasonals/snowflakes.css">
```
## Troubleshooting ## Troubleshooting
- **No Theme Appears:** Ensure the `<div class="seasonals-container"></div>` and `<script src="seasonals/seasonals.js"></script>` element exists in your index.html inside the `<body> </body>` tags. - **No Theme Appears:** Ensure the `<div class="seasonals-container"></div>` and `<script src="seasonals/seasonals.js"></script>` element exists in your index.html inside the `<body> </body>` tags.
- **Missing Files:** Verify that the paths in themeConfigs point to the correct files in the seasonals folder. - **Missing Files:** Verify that the paths in themeConfigs point to the correct files in the seasonals folder.