This plugin for Jellyfin prevents the server from entering sleep mode whenever there are active streams.
At this time, this plugin is not part of the Jellyfin project. Use at your own risk.
-
Jellyfin 10.11: Go to Administration -> Dashboard -> Plugins, then click Manage Repositories on the top right.
- The option to add third-party repositories exists in earlier versions of Jellyfin as well, but the way to get there can be slightly different.
-
Click New Repository, enter some name like Prevent Sleep and add the following URL:
https://raw.githubusercontent.com/jonschz/jellyfin-plugin-preventsleep/refs/heads/main/manifest.json
-
Close the window and search for Prevent Sleep. You should then find the plugin. Click on it and install an appropriate version.
- You probably want to install the latest version unless you are running a pretty outdated version of Jellyfin; see also the details on the installation page and in the next paragraph.
Compiled binaries can be downloaded here. Note that the most recent release only works with Jellyfin 10.9 or newer, and Jellyfin does not automatically update itself. If you run into issues, check your Jellyfin version first.
To install the compiled binary, download the .dll, go to your plugin folder (see here), create a subfolder Jellyfin.Plugin.PreventSleep, and paste the .dll inside. After a restart of Jellyfin, the plugin should be enabled.
- Only Jellyfin Server running on Windows is supported. In particular, this plugin will not work on Linux, including Jellyfin docker containers (regardless of the host OS).
- This plugin might not work correctly if the server is capable of connected standby, see https://superuser.com/a/1287544. Testing would be greatly appreciated.
Please don't hesistate to report issues if you find any.
Every kind of help is welcome! Feel free to test the plugin, report issues, or open a pull request.
To build this plugin yourself, follow e.g. these steps. For debugging, see this manual.
This plugin's code and packages are distributed under the GPLv3 License. See LICENSE for more information.