edl integration work
This commit is contained in:
parent
b7d4653f56
commit
e000f44a15
@ -472,8 +472,6 @@
|
|||||||
thisRow.setAttribute("data-episode-number", row['episode_number']);
|
thisRow.setAttribute("data-episode-number", row['episode_number']);
|
||||||
thisRow.setAttribute("data-duration", row['duration_secs']);
|
thisRow.setAttribute("data-duration", row['duration_secs']);
|
||||||
if (row['edl_definition'] !== null) {
|
if (row['edl_definition'] !== null) {
|
||||||
console.log("EDL found:");
|
|
||||||
console.dir(row['edl_definition']);
|
|
||||||
const edl = JSON.parse(row['edl_definition']);
|
const edl = JSON.parse(row['edl_definition']);
|
||||||
thisRow.setAttribute("data-inpoint", edl.inpoint);
|
thisRow.setAttribute("data-inpoint", edl.inpoint);
|
||||||
thisRow.setAttribute("data-outpoint", edl.outpoint);
|
thisRow.setAttribute("data-outpoint", edl.outpoint);
|
||||||
@ -519,6 +517,7 @@
|
|||||||
console.dir(thisRowEDL);
|
console.dir(thisRowEDL);
|
||||||
if (thisRowEDL && thisRowEDL !== "") {
|
if (thisRowEDL && thisRowEDL !== "") {
|
||||||
edl = JSON.parse(thisRowEDL);
|
edl = JSON.parse(thisRowEDL);
|
||||||
|
console.dir(edl);
|
||||||
edl.inserts.forEach((insert) => {
|
edl.inserts.forEach((insert) => {
|
||||||
const current_timecode = insert;
|
const current_timecode = insert;
|
||||||
const template = document.getElementById("media_item_edl_insert_listitem");
|
const template = document.getElementById("media_item_edl_insert_listitem");
|
||||||
|
Loading…
Reference in New Issue
Block a user