services.jellyfin-mpv-shim.enable
Whether to enable Jellyfin mpv shim.
Type: boolean
Default:
false
Example:
true
Declared by:
services.jellyfin-mpv-shim.package
The jellyfin-mpv-shim package to use.
Type: package
Default:
pkgs.jellyfin-mpv-shim
Declared by:
services.jellyfin-mpv-shim.mpvBindings
mpv input bindings to use for jellyfin-mpv-shim. If null, jellyfin-mpv-shim will use its default input configuration.
Type: null or (attribute set of string)
Default:
null
Example:
{
WHEEL_DOWN = "seek -10";
WHEEL_UP = "seek 10";
}
Declared by:
services.jellyfin-mpv-shim.mpvConfig
mpv configuration options to use for jellyfin-mpv-shim. If null, jellyfin-mpv-shim will use its default mpv configuration.
Type: null or (attribute set of (string or signed integer or boolean or floating point number))
Default:
null
Example:
{
force-window = true;
profile = "gpu-hq";
}
Declared by:
services.jellyfin-mpv-shim.settings
Configuration written to
$XDG_CONFIG_HOME/jellyfin-mpv-shim/conf.json. See
https://github.com/jellyfin/jellyfin-mpv-shim#configuration
for the configuration documentation.
Changed settings trigger a service restart when automatic systemd
service switching is enabled. A running shim can write its old
in-memory settings back between the merge and restart. Stop it before
switching and start it afterward to avoid this window. If
systemd.user.startServices is false or "suggest", restart
the shim manually to load changed settings.
Type: JSON value
Default:
{ }
Example:
{
allow_transcode_to_h265 = false;
always_transcode = false;
audio_output = "hdmi";
auto_play = true;
fullscreen = true;
player_name = "mpv-shim";
}
Declared by: