Skip to content
Projects

lachlandcp/jellyfin-editors-choice-plugin

View on GitHub

About

Editor's Choice is a plugin for the Jellyfin web UI that adds a full-width slider to the main page to feature selected content, similar to the main Netflix home page.

Other Projects

How these counts are measured

Measured star growth

in 24h
0
in 7 days
+2
in 15 days
+2
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

About

Editor's Choice is a plugin for the Jellyfin web UI that adds a full-width slider to the main page to feature selected content, similar to the main Netflix home page.

The featured content list is drawn from a specified user's favourited items, or a totally random selection of shows and films. The selection can also be filtered by minimum community or critic rating.

Default mode

Screenshot of Jellyfin with Editor's Choice banner slider

Hero mode

Screenshot of Jellyfin with Editor's Choice in hero mode

Note that the plugin only works for the web UI (and therefore also the mobile app), but does not and can not work for the Android TV app or other apps due to limitations of those platforms.

Installation

There are four ways to install this plugin.

The first step is to install this plugin by adding the repository:

  1. Add https://github.com/lachlandcp/jellyfin-editors-choice-plugin/raw/main/manifest.json as a Jellyfin plugin repository
  2. Install Editor's Choice from the repository

By default, Editor's Choice automatically uses the first available frontend injection method in this order:

  1. File Transformation
  2. JavaScript Injector
  3. Direct jellyfin-web/index.html injection

You can override the automatic selection under Editor's Choice → Technical settings. Install either of the two helper plugins below to avoid direct changes to Jellyfin Web.

Option 1: Install the File Transformation plugin (recommended)

The easiest way to load the frontend script is to use the File Transformation plugin:

  1. Add https://www.iamparadox.dev/jellyfin/plugins/manifest.json as a plugin source repository on your Jellyfin server.
  2. Find "File Transformation" in the list and install it.
  3. Restart server

Option 2: Install the JavaScript Injector plugin

Alternatively, install JavaScript Injector. Editor's Choice registers its frontend loader automatically; no script needs to be pasted into the injector settings.

  1. Add the JavaScript Injector repository that matches your Jellyfin version.
  2. Find "JavaScript Injector" in the plugin catalog and install it.
  3. Restart server.

Option 3: Direct script injection

If neither helper plugin is available, Editor's Choice falls back to injecting the necessary script into the main web file. This requires correct permissions.

  1. Make sure the user executing the Jellyfin server application has permissions to write to the jellyfin-web/index.html file.
  2. Restart server.

The client script will fail to inject automatically into the jellyfin-web server if there is a difference in permission between the owner of the web files (root, or www-data, etc.) and the executor of the main jellyfin-server. This often happens because...

  • Docker - the container is being run as a non-root user while having been built as a root user, causing the web files to be owned by root. To solve this, you can remove any lines like User: 1000:1000, GUID:, PID:, etc. from the jellyfin docker compose file.
  • Install from distro repositories - the jellyfin-server will execute as the jellyfin user while the web files will be owned by root, www-data, etc. This can likely be fixed by adding the jellyfin (or whichever user your main jellyfin server runs as) user to the same group the jellyfin-web folders are owned by. You should only do this if they are owned by a group other than root, and will have to lookup how to manage permissions on your specific distro.

Option 4: Manually insert script tag

The final way is to manually amend the jellyfin-web/index.html file yourself.

If you manually insert the script tag, you will have to manually insert it on every Jellyfin update, as the index.html file will get overwritten.

  1. Select "Disabled / manual injection" under Editor's Choice → Technical settings.
  2. In Jellyfin's program files, open jellyfin-web/index.html.
  3. Before the </body> tag, insert the following: <script plugin="EditorsChoice" defer="defer" src="/editorschoice/script"></script>. If you have a base path set, change src="/editorschoice/script" to src="/YOUR_BASE_PATH/editorschoice/script".
  4. Clear your site cookies / local storage to get rid of the cached index file and receive a new one from the server.

Explore related projects

Loading…