at least i fixed the internal system error

This commit is contained in:
ihatespawn 2024-06-05 08:17:09 +02:00
parent 661bf51111
commit ef52bb023b
2 changed files with 2 additions and 1 deletions

View File

@ -101,7 +101,7 @@ export default function(r, host, userFormat, isAudioOnly, lang, isAudioMuted, di
switch (host) {
case "videoclip":
if (r.urls.endsWith(".m3u8")) {
params = { type: "render" }
params = { type: "stream" }
} else {
responseType = "redirect";
}

View File

@ -22,6 +22,7 @@ export default async function({ id }) {
if (videoSource) {
return {
urls: "https://www." + videoSource,
isM3U8: videoSource.endsWith(".m3u8"),
filename: `videoclip_${modifiedId}.mp4`,
audioFilename: `videoclip_${modifiedId}_audio`
}