edl integration work

This commit is contained in:
Sundog Jones 2024-09-17 09:51:22 -04:00
parent b7d4653f56
commit e000f44a15
1 changed files with 1 additions and 2 deletions

View File

@ -472,8 +472,6 @@
thisRow.setAttribute("data-episode-number", row['episode_number']);
thisRow.setAttribute("data-duration", row['duration_secs']);
if (row['edl_definition'] !== null) {
console.log("EDL found:");
console.dir(row['edl_definition']);
const edl = JSON.parse(row['edl_definition']);
thisRow.setAttribute("data-inpoint", edl.inpoint);
thisRow.setAttribute("data-outpoint", edl.outpoint);
@ -519,6 +517,7 @@
console.dir(thisRowEDL);
if (thisRowEDL && thisRowEDL !== "") {
edl = JSON.parse(thisRowEDL);
console.dir(edl);
edl.inserts.forEach((insert) => {
const current_timecode = insert;
const template = document.getElementById("media_item_edl_insert_listitem");