Added feature: In queue, change the selected audio and subtitles tracks by language

This commit is contained in:
Jeffery Hogan authored and Damiano Galassi committed 2024-07-02 19:18:53 +02:00
1 parent 34cef8fbc4
commit 2d98e11e9e
4 files changed
+471 -237

No files matched your search

+7 -1
View File
@@ -289,7 +289,13 @@ final class QueueController : NSWindowController, NSWindowDelegate, NSPopoverDel
if prefs.sendToiTunes {
item.addAction(QueueSendToiTunesAction())
}
//MARK: Change Selected Tracks by Language
if prefs.changeAudioLanguage {
item.addAction(QueueChangeAudioLanguageAction(language: prefs.changeAudioLanguageValue))
}
if prefs.changeSubtitleLanguage {
item.addAction(QueueChangeSubtitleLanguageAction(language: prefs.changeSubtitleLanguageValue))
}
return item
}