修复命名格式无AV1编码的问题

pull/612/head
leiurayer 2 years ago
parent ef4a87b478
commit d572d3d6ae

@ -260,7 +260,7 @@ namespace DownKyi.Services.Download
} }
if (isDownloading) { continue; } if (isDownloading) { continue; }
// 如果存在下载完成列表,弹出选择框是否再次下载 // TODO 如果存在下载完成列表,弹出选择框是否再次下载
bool isDownloaded = false; bool isDownloaded = false;
foreach (DownloadedItem item in App.DownloadedList) foreach (DownloadedItem item in App.DownloadedList)
{ {
@ -311,7 +311,7 @@ namespace DownKyi.Services.Download
.SetVideoZone(videoInfoView.VideoZone.Split('>')[0]) .SetVideoZone(videoInfoView.VideoZone.Split('>')[0])
.SetAudioQuality(page.AudioQualityFormat) .SetAudioQuality(page.AudioQualityFormat)
.SetVideoQuality(page.VideoQuality == null ? "" : page.VideoQuality.QualityFormat) .SetVideoQuality(page.VideoQuality == null ? "" : page.VideoQuality.QualityFormat)
.SetVideoCodec(page.VideoQuality == null ? "" : page.VideoQuality.SelectedVideoCodec.Contains("AVC") ? "AVC" : page.VideoQuality.SelectedVideoCodec.Contains("HEVC") ? "HEVC" : page.VideoQuality.SelectedVideoCodec.Contains("Dolby") ? "Dolby Vision" : "") .SetVideoCodec(page.VideoQuality == null ? "" : page.VideoQuality.SelectedVideoCodec.Contains("AVC") ? "AVC" : page.VideoQuality.SelectedVideoCodec.Contains("HEVC") ? "HEVC" : page.VideoQuality.SelectedVideoCodec.Contains("Dolby") ? "Dolby Vision" : page.VideoQuality.SelectedVideoCodec.Contains("AV1") ? "AV1" : "")
.SetVideoPublishTime(page.PublishTime) .SetVideoPublishTime(page.PublishTime)
.SetAvid(page.Avid) .SetAvid(page.Avid)
.SetBvid(page.Bvid) .SetBvid(page.Bvid)

Loading…
Cancel
Save