From 8ee55bc5aebabf2661a2f2c0903408af09c72191 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sat, 25 Apr 2026 17:57:47 +0300 Subject: [PATCH] mpv: unspecify audio and subtitle languages --- conf/mpv.conf | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/conf/mpv.conf b/conf/mpv.conf index a78cbf56..e808fe26 100644 --- a/conf/mpv.conf +++ b/conf/mpv.conf @@ -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