audio DL quality reduced, shouldn't affect the actual quality
This commit is contained in:
parent
7274a5d80f
commit
c53ad0a768
@ -82,7 +82,7 @@ namespace NadekoBot.Classes.Music {
|
|||||||
var allVideos = await YouTube.Default.GetAllVideosAsync(links);
|
var allVideos = await YouTube.Default.GetAllVideosAsync(links);
|
||||||
var videos = allVideos.Where(v => v.AdaptiveKind == AdaptiveKind.Audio);
|
var videos = allVideos.Where(v => v.AdaptiveKind == AdaptiveKind.Audio);
|
||||||
var video = videos
|
var video = videos
|
||||||
.Where(v => v.AudioBitrate < 256)
|
.Where(v => v.AudioBitrate < 192)
|
||||||
.OrderByDescending(v => v.AudioBitrate)
|
.OrderByDescending(v => v.AudioBitrate)
|
||||||
.FirstOrDefault();
|
.FirstOrDefault();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user