api/match/youtube: use 1080 dummy quality for audio-only downloads

This commit is contained in:
wukko 2025-03-21 21:30:47 +06:00
parent cf17f53405
commit b93099620f
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -109,7 +109,7 @@ export default async function({ host, patternMatch, params }) {
} }
if (url.hostname === "music.youtube.com" || isAudioOnly) { if (url.hostname === "music.youtube.com" || isAudioOnly) {
fetchInfo.quality = "max"; fetchInfo.quality = "1080";
fetchInfo.format = "vp9"; fetchInfo.format = "vp9";
fetchInfo.isAudioOnly = true; fetchInfo.isAudioOnly = true;
fetchInfo.isAudioMuted = false; fetchInfo.isAudioMuted = false;