Skip to content

Define/force default settings + enable backdrops + include plugins. All-in-one for fresh installs and updates.

License

Notifications You must be signed in to change notification settings

Uncle-Tio/jellyfin-media-player-setup-script

Repository files navigation

Inno Setup Script

This is a script I made to modify and update the Jellyfin Media Player configuration or files. The easy way.

Includes Jellyfin Media Player installer for updates or fresh installs.

You can/should modify and compile it to suit your needs. This is just a base and a very noob-friendly way of doing things.

What the script does:

  1. Run JellyfinMediaPlayer-1.10.0-windows-x64.exe with the parameter /passive /norestart (minimal UI with no prompts).
  2. Place the jellyfinmediaplayer.conf file in the C:\Users\YOURNAME\Appdata\Local\JellyfinMediaPlayer folder.
  3. Place the main.jellyfin.bundle.js file in the C:\Program Files\Jellyfin\Jellyfin Media Player\web-client\desktop folder.

This script doesn't create its own uninstallers (Original uninstaller is enough).

Modifications made by the setup:

  • Modified main.jellyfin.bundle.js.
    enableBackdrops:function(){return P} changed to {return x}.

Enables backdrops/background images by default.

  • Replaces/creates settings file, replacements include:
  1. Enable Intro Skipper.
  2. Audio set to automatic.
  3. Allow and prefer HEVC.
  4. Cache set to very large.
  • Embedded media player installer runs passively (no prompts and minimal UI).

Showcase

SetupShowcase

Compile

To compile yourself, follow these steps:

  1. Download and Install Inno Setup.

  2. Download the repository.

  3. Extract the files to C:\ProjectInno\ (if you prefer not to readjust the paths).

  4. Download the original setup, and move to the same folder.

  5. Modify main.jellyfin.bundle.js, jellyfinmediaplayer.conf and (optional) mpv.conf to suit your requirements.

  6. Open Setup Script.iss and make any necessary modifications (if any).

    Remove ; in line 52 if you want to include mpv.conf

  7. Press F9, wait for the process to finish and test. Look for the Output folder and there is the new compiled setup.

    The Inno Setup Script needs to be opened as an administrator if you want to debug, the files will not be overwritten without.

If you need help, don't be shy :)