{{define "settings"}} {{template "head-common" .}} {{.Title}} {{template "accessibility-common" .}} {{template "main-layout-start" .}} {{template "settings-content" .}} {{template "main-layout-end" .}} {{template "password-modal" .}} {{template "reset-confirm-modal" .}} {{template "body-common-scripts" .}} {{end}} {{define "settings-content"}}

Settings

Manage MPV Manager application settings

{{/* Settings cards - responsive grid: 1 column, 2 columns on wide screens */}}
{{/* System Password Section */}}

System Password

{{if ne .Platform.OSType "linux"}} Linux Only {{end}}
{{if eq .Platform.OSType "linux"}}

Store your sudo password securely for package manager installations. The password is stored in your desktop's native Secret Service (GNOME Keyring or current KDE Wallet).

{{else}}

The system password feature is only available on Linux for package manager installations.

Your account must have permission to write to the installation location.

{{end}}
{{/* Desktop Shortcuts Section */}}

Desktop Shortcuts

Control whether MPV Manager creates desktop shortcuts automatically.

Automatically create a desktop shortcut when MPV Manager starts

{{/* Custom Install Location Section */}}
{{if .Platform.IsWindows}}

Custom Install Location

Choose where MPV Manager installs the mpv player binaries.

Leave empty to use the default: . Applies to mpv binary installs; existing installs are not moved.

{{else}}

Install Locations

{{if .Platform.IsDarwin}}

MPV and IINA application bundles install in /Applications. Homebrew manages the location of Homebrew installations.

{{else}}

Your package manager or Flatpak manages player installation locations.

{{end}}

The active MPV configuration path is shown below under Config File.

{{end}}
{{/* Data Management Section */}}

Data Management

Reset or manage MPV Manager data files.

Reset MPV Manager Data

Reset the mpv-manager.json configuration file to default values. This will remove all installed app records and reset only the manager preferences stored in that file.

This action cannot be undone.

Config File

{{end}} {{/* Confirmation Modal for Reset - rendered at body level (like password-modal) so MPVDialog can inert the page background */}} {{define "reset-confirm-modal"}} {{end}}