more edl work

This commit is contained in:
Sundog Jones 2024-09-17 08:50:41 -04:00
parent 11a3412732
commit dcb4d2623c

View File

@ -572,7 +572,8 @@
current_items.forEach((insertPoint) => { current_items.forEach((insertPoint) => {
edl_definition.inserts.push(insertPoint.getAttribute("data-timestamp")); edl_definition.inserts.push(insertPoint.getAttribute("data-timestamp"));
}); });
payload.edl_definition = edl_definition; payload.edl_definition = JSON.stringify(edl_definition);
payload.edl_name = "default"; // TODO: handle multiple EDLs per media file later!
console.log("preparing to save edl:"); console.log("preparing to save edl:");
console.dir(payload); console.dir(payload);
fetch(api_url, { fetch(api_url, {