Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions app/src/main/java/com/junkfood/seal/util/DownloadUtil.kt
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@ object DownloadUtil {
}
} else {
applyFormatSorter(this, toFormatSorter())
addOption("--audio-multistreams")
Copy link

Copilot AI Dec 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding a comment explaining why --audio-multistreams is added for automatic format selection. This option downloads all available audio streams which increases file size but ensures multi-language audio tracks are preserved (especially important for YouTube's multi-language audio feature).

For example:

// Download all audio streams to preserve multi-language tracks (e.g., original + dubbed audio)
addOption("--audio-multistreams")

Copilot uses AI. Check for mistakes.
}
if (downloadSubtitle) {
if (autoSubtitle) {
Expand Down Expand Up @@ -601,6 +602,7 @@ object DownloadUtil {
}
} else {
applyFormatSorter(preferences, toAudioFormatSorter())
addOption("--audio-multistreams")
Copy link

Copilot AI Dec 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding a comment explaining why --audio-multistreams is added for automatic format selection. This option downloads all available audio streams which increases file size but ensures multi-language audio tracks are preserved (especially important for YouTube's multi-language audio feature).

For example:

// Download all audio streams to preserve multi-language tracks (e.g., original + dubbed audio)
addOption("--audio-multistreams")

Copilot uses AI. Check for mistakes.
}

if (embedMetadata) {
Expand Down