mirror of
https://github.com/lscambo13/ElegantFin.git
synced 2025-09-18 12:40:16 +00:00
Update Add-Ons.md
This commit is contained in:
53
Add-Ons.md
53
Add-Ons.md
@@ -1,39 +1,34 @@
|
|||||||
# Add-on: Custom media covers for ElegantFin
|
# 🧩 Add-on: Custom media covers for ElegantFin
|
||||||
This is a Jellyfin add-on that allows you to customise My Media cover arts. This is an experimental feature.
|
This is a Jellyfin add-on that allows you to customise My Media cover arts. This is an experimental feature, so limited support will be provided.
|
||||||
|
|
||||||
|
|
||||||
#### **Author:** [lscambo13](https://github.com/lscambo13)
|
#### **Author:** [lscambo13](https://github.com/lscambo13)
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
|
### 👇 How to enable this add-on?
|
||||||
|
|
||||||
### 🖼️ Previews
|
- Paste the following at the end in Custom CSS code box:
|
||||||
|
|
||||||
<details>
|
```
|
||||||
<summary><i>Click here to reveal</i></summary>
|
@import url("https://cdn.jsdelivr.net/gh/lscambo13/ElegantFin@main/Theme/assets/add-ons/custom-media-covers-nightly-min.css");
|
||||||
|
```
|
||||||
<img src="https://github.com/lscambo13/ElegantFin/blob/main/Previews/1.%20Homepage.png" style="width:360px;height:auto;"></img>
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
### 👇 How to setup this theme?
|
### ⚙️ How to modify this add-on?
|
||||||
|
|
||||||
<b>
|
|
||||||
- To configure your theme to use the custom images, you'll need to input a URL pointing to an image in variables starting with '--url' and an overlay color in variables starting with '--color'.
|
- To configure your theme to use the custom images, you'll need to input a URL pointing to an image in variables starting with '--url' and an overlay color in variables starting with '--color'.
|
||||||
- Default Jellyfin cover sizes are 960px x 540px.
|
|
||||||
- The colors should be in rgb format i.e. rbg(128, 128, 128).
|
- The ideal Jellyfin cover sizes are `960px x 540px`, and the colors should be in rgb format i.e. `rbg(128, 128, 128)`.
|
||||||
- You should remove the entries you do not intend to modify.
|
|
||||||
- paste the following at the end in Custom CSS code box after making the necessary changes:</b>
|
- Below are all the configurable variables, but you should remove the entries you do not intend to modify:
|
||||||
|
|
||||||
'''
|
|
||||||
|
|
||||||
@import url("");
|
```
|
||||||
|
:root{
|
||||||
:root{
|
|
||||||
|
|
||||||
<!-- overlay colors; change according to your image. -->
|
<!-- overlay colors; change according to your image. -->
|
||||||
|
|
||||||
--colorOverlayMoviesCover: rgb();
|
--colorOverlayMoviesCover: rgb();
|
||||||
--colorOverlayTvshowsCover: rgb();
|
--colorOverlayTvshowsCover: rgb();
|
||||||
--colorOverlayLivetvCover: rgb();
|
--colorOverlayLivetvCover: rgb();
|
||||||
@@ -45,6 +40,7 @@ This is a Jellyfin add-on that allows you to customise My Media cover arts. This
|
|||||||
--colorOverlayFoldersCover: rgb();
|
--colorOverlayFoldersCover: rgb();
|
||||||
|
|
||||||
<!-- cover images; input the url pointing to an image. -->
|
<!-- cover images; input the url pointing to an image. -->
|
||||||
|
|
||||||
--urlMoviesCover: url();
|
--urlMoviesCover: url();
|
||||||
--urlTvshowsCover: url();
|
--urlTvshowsCover: url();
|
||||||
--urlLivetvCover: url();
|
--urlLivetvCover: url();
|
||||||
@@ -53,20 +49,25 @@ This is a Jellyfin add-on that allows you to customise My Media cover arts. This
|
|||||||
--urlHomevideosCover: url();
|
--urlHomevideosCover: url();
|
||||||
--urlBooksCover: url();
|
--urlBooksCover: url();
|
||||||
--urlFoldersCover: url();
|
--urlFoldersCover: url();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
||||||
'''
|
### 🆗 Read this example:
|
||||||
|
Suppose you want to modify the Live TV cover art. You'll have to modify the variables named `--colorOverlayLivetvCover` and `--urlLivetvCover`, so that your final configuration will look something like this:
|
||||||
|
|
||||||
Suppose you want to modify the Live TV cover art. You'll have to modify the variables --colorOverlayLivetvCover and --urlLivetvCover, so that your configuration will look something like this:
|
```
|
||||||
'
|
@import url("https://cdn.jsdelivr.net/gh/lscambo13/ElegantFin@main/Theme/assets/add-ons/custom-media-covers-nightly-min.css");
|
||||||
@import url("");
|
|
||||||
|
|
||||||
:root{
|
:root{
|
||||||
--colorOverlayLivetvCover: rgb(39, 68, 185);
|
--colorOverlayLivetvCover: rgb(39, 68, 185);
|
||||||
--urlLivetvCover: url(https://artworks.thetvdb.com/banners/fanart/original/71663-33.jpg);
|
--urlLivetvCover: url(https://artworks.thetvdb.com/banners/fanart/original/71663-33.jpg);
|
||||||
}
|
}
|
||||||
|
|
||||||
'
|
```
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary><i>Detailed steps for server-side implementation</i></summary>
|
<summary><i>Detailed steps for server-side implementation</i></summary>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user