{{define "dashboard"}} {{template "head-common" .}} {{.Title}} {{template "accessibility-common" .}} {{template "main-layout-start" .}} {{template "dashboard-content" .}} {{template "main-layout-end" .}} {{template "ui-select-modal" .}} {{template "body-common-scripts" .}} {{end}} {{define "dashboard-content"}}

Dashboard

System overview and quick actions

Hardware Information

CPU

{{.Platform.CPUInfo.Model}}

Vendor: {{.Platform.CPUInfo.VendorDisplay}}

Arch: {{.Platform.CPUInfo.ArchitectureLevel}}

{{if .Platform.CPUInfo.SupportsAVX2}}

✓ AVX2 Supported

{{end}} {{if .Platform.CPUInfo.SupportsAVX512}}

✓ AVX512 Supported

{{end}} {{if .Platform.CPUInfo.SupportsNEON}}

✓ NEON Supported

{{end}}

GPU & Hardware Acceleration

{{range .Platform.GPUInfo.Models}}

{{.}}

{{end}}

Vendor: {{getVendorDisplay .Platform.GPUInfo.Brand}}

Hardware Acceleration
{{getHWABadgeText .Config.HardwareAccel}}
{{if .Config.HardwareAccel}}
Method: {{.Config.HardwareAccel}}
{{end}}
Supported Codecs
{{range .Platform.GPUInfo.SupportedCodecs}} {{formatCodecName .}} {{end}} {{if not .Platform.GPUInfo.SupportedCodecs}} No codec information available {{end}}

MPV Manager Update

Current Version

{{.ManagerUpdate.CurrentVersion}}

Latest Version

{{.ManagerUpdate.LatestVersion}}

Status

{{if .SelfUpdateDisabled}}

Managed by Package Manager

{{else if .ManagerUpdate.UpdateAvailable}}

Update Available

{{else}}

Up to Date

{{end}}
{{if .SelfUpdateDisabled}} {{else}}
Repository Website {{if .ManagerUpdate.UpdateAvailable}} {{end}}
{{end}}

Language Preferences

{{if .Config.AudioLanguages}}
{{range $index, $lang := .Config.AudioLanguages}}
{{$flagCode := GetLanguageCountryCode $lang}} {{if $flagCode}} {{end}}

{{GetRegionalLanguageName $lang}}

{{GetRegionalNativeName $lang}}

{{$lang}}

{{end}}
{{else}}
Not set
{{end}}
{{if .Config.SubtitleLanguages}}
{{range $index, $lang := .Config.SubtitleLanguages}}
{{$flagCode := GetLanguageCountryCode $lang}} {{if $flagCode}} {{end}}

{{GetRegionalLanguageName $lang}}

{{GetRegionalNativeName $lang}}

{{$lang}}

{{end}}
{{else}}
Not set
{{end}}

Available Updates

{{template "client-updates" .}}

Installed MPV Clients

{{if .InstalledAppGroups}}
{{range $key, $value := .InstalledAppGroups}} {{range $value}} {{$data := createAppCardData . $.Platform}} {{template "app-card" $data}} {{end}} {{end}}
{{else}}

No MPV clients installed

Install MPV
{{end}}
{{end}}