mirror of
https://github.com/anidl/multi-downloader-nx.git
synced 2026-04-21 08:21:56 +00:00
Fix regression in Funimation merging
Fixes audio not being in the final video
This commit is contained in:
parent
95374bd8f1
commit
a356e98aa8
2 changed files with 6 additions and 7 deletions
|
|
@ -196,17 +196,16 @@ class Merger {
|
|||
|
||||
for (const aud of this.options.onlyAudio) {
|
||||
const trackName = aud.lang.name;
|
||||
const trackNum = this.options.inverseTrackOrder ? '0' : '1';
|
||||
args.push('--track-name', `${trackNum}:"${trackName}"`);
|
||||
args.push(`--language ${trackNum}:${aud.lang.code}`);
|
||||
args.push('--track-name', `0:"${trackName}"`);
|
||||
args.push(`--language 0:${aud.lang.code}`);
|
||||
args.push(
|
||||
'--no-video',
|
||||
`--audio-tracks ${trackNum}`
|
||||
'--audio-tracks 0'
|
||||
);
|
||||
if (this.options.defaults.audio.code === aud.lang.code) {
|
||||
args.push(`--default-track ${trackNum}`);
|
||||
args.push('--default-track 0');
|
||||
} else {
|
||||
args.push(`--default-track ${trackNum}:0`);
|
||||
args.push('--default-track 0:0');
|
||||
}
|
||||
args.push(`"${aud.path}"`);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "multi-downloader-nx",
|
||||
"short_name": "aniDL",
|
||||
"version": "4.2.0b2",
|
||||
"version": "4.2.0b3",
|
||||
"description": "Download videos from Funimation, Crunchyroll, or Hidive via cli",
|
||||
"keywords": [
|
||||
"download",
|
||||
|
|
|
|||
Loading…
Reference in a new issue