edl integration work

This commit is contained in:
Sundog Jones 2024-09-17 09:29:52 -04:00
parent 892bc8bbf0
commit 1cd313b48a

View File

@ -472,6 +472,8 @@
thisRow.setAttribute("data-episode-number", row['episode_number']);
thisRow.setAttribute("data-duration", row['duration_secs']);
if (row['edl_definition'] !== undefined) {
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)