Skip to content

best way to save what you love

api/youtube: use the iOS client for <=1080p vp9 videos

wukkocf17f53405c0
diff --git a/api/src/processing/services/youtube.js b/api/src/processing/services/youtube.js
index 219209ad..e1cbf018 100644
--- a/api/src/processing/services/youtube.js
+++ b/api/src/processing/services/youtube.js
@@ -109,7 +109,7 @@ export default async function (o) {
&& innertubeClient === "IOS"
&& (
(quality > 1080 && o.format !== "h264")
- || o.format === "vp9"
+ || (quality > 1080 && o.format !== "vp9")
)
)
);