fixed a silly mistake that broke soundcloud

also added an error handler for this issue if it happens ever again
This commit is contained in:
wukko
2022-09-04 10:14:25 +06:00
parent bf8571565c
commit ecf2dac5d8
3 changed files with 9 additions and 4 deletions

View File

@@ -76,6 +76,7 @@ export default async function (host, patternMatch, url, lang, obj) {
noWatermark: obj.noWatermark, fullAudio: obj.fullAudio,
isAudioOnly: obj.isAudioOnly
});
if (r.isAudioOnly) obj.isAudioOnly = true
break;
case "tumblr":
r = await tumblr({