bugfix lmfao

main
aria 1 month ago
parent 03637d0944
commit 7283262fc1
Signed by: a
GPG Key ID: E851AE999FFCBC37

@ -1887,7 +1887,7 @@ async function initTranscode(id, mime) {
let files = await db.collection("uploads");
let file = await files.findOne({id});
if (mime == "video/mp4" || mime == "video/webm") {
if (mime != "video/mp4" && mime != "video/webm") {
if (config?.["remux"]?.["enabled"] == true) {
let originalFile = `${config["media-folder"]}/${id}/${file.name}`;
let transFile = `${config["remux"]["folder"]}/${id}/${file.name}.${config["remux"]["container"]}`; // based file

Loading…
Cancel
Save