From ff13ef7217b48ea8d96c2df3aa0e63b7d6834a72 Mon Sep 17 00:00:00 2001 From: wukko Date: Thu, 12 Oct 2023 23:19:36 +0600 Subject: [PATCH] fix quality label for 720p yt videos --- src/modules/processing/services/youtube.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/processing/services/youtube.js b/src/modules/processing/services/youtube.js index 2e03d6bf..71a617b2 100644 --- a/src/modules/processing/services/youtube.js +++ b/src/modules/processing/services/youtube.js @@ -95,7 +95,7 @@ export default async function(o) { if (!o.isAudioOnly && !o.isAudioMuted && o.format === 'h264') { let single = info.streaming_data.formats.find(i => checkSingle(i)); if (single) { - filenameAttributes.qualityLabel = video.quality_label; + filenameAttributes.qualityLabel = single.quality_label; filenameAttributes.resolution = `${single.width}x${single.height}`; filenameAttributes.extension = c[o.format].container; filenameAttributes.youtubeFormat = o.format;