某平台特殊处理

This commit is contained in:
nilaoda 2023-06-01 17:07:20 +08:00
parent d8ed94cbac
commit 681f287439
1 changed files with 5 additions and 0 deletions

View File

@ -161,6 +161,11 @@ namespace N_m3u8DL_RE.Parser.Extractor
"audio" => MediaType.AUDIO,
_ => null
};
//特殊处理
if (representation.Attribute("volumeAdjust") != null)
{
streamSpec.GroupId += "-" + representation.Attribute("volumeAdjust")?.Value;
}
//推测后缀名
var mType = representation.Attribute("mimeType")?.Value ?? adaptationSet.Attribute("mimeType")?.Value;
if (mType != null)