From abcd3d903d6f4da2a8ff118329c8599ef59890e1 Mon Sep 17 00:00:00 2001 From: Bond_009 Date: Tue, 23 May 2023 15:26:28 +0200 Subject: [PATCH] Set max audio channels for transcode profile based on JMP settings --- native/nativeshell.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/nativeshell.js b/native/nativeshell.js index a798042d..82013a93 100644 --- a/native/nativeshell.js +++ b/native/nativeshell.js @@ -188,7 +188,7 @@ function getDeviceProfile() { : 'h264,h265,hevc,mpeg4,mpeg2video' ) : 'h264,mpeg4,mpeg2video', - 'MaxAudioChannels': '6' + 'MaxAudioChannels': jmpInfo.settings.audio.channels === "2.0" ? '2' : '6' }, {'Container': 'jpeg', 'Type': 'Photo'} ],