README.md aktualisiert

This commit is contained in:
MLH
2024-11-14 01:37:52 +01:00
parent 27ae1a7dfc
commit 38b87534b4

View File

@ -1,13 +1,26 @@
# SpotlightTrailer - Featured Content Bar
Thanks to [SethBacon](https://forum.jellyfin.org/u-sethbacon) & [BobHasNoSoul](https://github.com/BobHasNoSoul) & [MakD](https://github.com/MakD) for their talents
Thanks to [SethBacon](https://forum.jellyfin.org/u-sethbacon) & [BobHasNoSoul](https://github.com/BobHasNoSoul) & [MakD](https://github.com/MakD) & [tedhinklater](https://github.com/tedhinklater) for their talents and work
#Main Diffrences in this fork
- activate random selection of movie from txt list
- show the featured bar only at the main page, hide it in favorites/requests tab
- back button added
- set txt list name
- small ui style fixes
#Currently working on
- show a title above the spotlight banner, e.g. 'Popular at Jellyfin'
- if local trailer avaible, play it instead of youtube trailer
![feat3](https://i.imgur.com/1Bfwz9w.png)
## How to install
1. Download [spotlight.html]
2. Go to your ```jellyfin-web``` folder and create a folder named ```ui``` and drop ```spotlight.html``` in that folder
2. Go to your ```jellyfin-web``` folder and create a folder named ```ui``` and drop ```spotlight.html, script.js and styles.css``` in that folder
3. In your Jellyfin Dashboard, under ```API Keys``` create an API key for Spotlight, copy the key, and insert it into ```line 90``` of spotlight.html
3. In your Jellyfin Dashboard, under ```API Keys``` create an API key for Spotlight, copy the key, and insert it as the value for ```token``` in ```script.js```. You can also set the corresponding values for list name, random selection, show it only on main page, show title, plot lenght, etc.
4. ```Important: Use Notepad++ for this``` In the jellyfin-web folder, open the file ```home-html.RANDOMSTRINGHERE.chunk.js```
@ -29,11 +42,11 @@ Thanks to [SethBacon](https://forum.jellyfin.org/u-sethbacon) & [BobHasNoSoul](h
# Mobile View (Landscape / Portrait)
![mobile](https://i.imgur.com/Y0wEa81.png)
# How to feature content in the bar
# How to feature specific content in the bar
By default, the bar will feature content at random as long as it is available to the current user.
To preselect content, place a [list.txt](https://github.com/tedhinklater/Jellyfin-Featured-Content-Bar/blob/main/List.txt) in the ```ui``` folder and paste the ID of each piece of content to be featured (IDs can be found in the address bar).
To preselect content, place a [list.txt](link) in the ```ui``` folder and paste the ID of each piece of content to be featured (IDs can be found in the address bar).
# Uninstallation