fix(mpv): auto-select subtitle and audio tracks on file open

This commit is contained in:
tri committed 2026-11-13 20:49:19 +07:00
1 parent 32c686e0e3
commit 23cf7e31a9
13 files changed
+437 -1

No files matched your search

+3
View File
@@ -34,6 +34,9 @@ MpvItem {
Kirigami.Theme.inherit: false
loadUserConfig: QtPotatoSettings.loadMpvConfig
preferredAudioLanguages: QtPotatoSettings.preferredAudioLanguages
preferredSubtitleLanguages: QtPotatoSettings.preferredSubtitleLanguages
autoSelectSubtitle: QtPotatoSettings.autoSelectSubtitle
// Set once the saved volume is applied; mpv reports its default volume before that.
property bool volumeRestored: false