mpv: unspecify audio and subtitle languages

This commit is contained in:
Aminda Suomalainen 2026-04-25 17:57:47 +03:00
parent 7f9941e247
commit 8ee55bc5ae
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

View File

@ -1,5 +1,8 @@
# <~/.config/mpv/mpv.conf|~/.var/app/io.mpv.Mpv/config/mpv/mpv.conf>
# REMEMBER! Audio and subtitle languages are not specified, use --{a,s}lang
# or --{a,s}id to specify!
# Preferred audio drivers, but by trailing comma, let others be used too.
ao=pipewire,pulse,
# And same for video output drivers
@ -17,11 +20,19 @@ gpu-context=auto
video-sync=display-resample
interpolation
# Specify preferred audio and subtitle languages. Two subtitles are shown
# simultaneously, one on top, another on bottom.
# REMEMBER to override this with --alang= --slang= as needed!
alang=jpn,jp,ja,en,eng,fi,fin,de,deu,ger
slang=fi,fin,sdh,doh,en,eng,eo,epo,la,lat,de,deu,ger,sv,swe,ru,rus,cs,ces,cze,es,spa,jpn,jp
# Use whatever (audio) track is the default
track-auto-selection=yes
aid=auto
# Allow same aid/sid language
subs-with-matching-audio=yes
# Consider OS language if no slang specified
subs-match-os-language=yes
# Permit subtitle fallback to unspecified languages
subs-fallback=yes
# Always use forced subtitle tracks (no idea if two can be forced, but if not,
# there is always the secondary sid)
subs-fallback-forced=always
# Remember quit position even without Shift+Q
save-position-on-quit