From e7e3efec0064bd79c8c30dc906209b5d16db549b Mon Sep 17 00:00:00 2001 From: nilaoda Date: Sun, 11 Jun 2023 19:38:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96MPD=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E7=A0=81=E7=8E=87=E9=97=AE=E9=A2=98=20#187?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs b/src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs index 4f54059..b51ff76 100644 --- a/src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs +++ b/src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs @@ -509,11 +509,11 @@ namespace N_m3u8DL_RE.Parser.Extractor { if (aL.Any()) { - item.AudioId = aL.First().GroupId; + item.AudioId = aL.OrderByDescending(x => x.Bandwidth).First().GroupId; } if (sL.Any()) { - item.SubtitleId = sL.First().GroupId; + item.SubtitleId = sL.OrderByDescending(x => x.Bandwidth).First().GroupId; } } }