edl integration work

This commit is contained in:
Sundog Jones 2024-09-17 09:29:52 -04:00
parent 892bc8bbf0
commit 1cd313b48a
1 changed files with 2 additions and 0 deletions

View File

@ -472,6 +472,8 @@
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'] !== undefined) { if (row['edl_definition'] !== undefined) {
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)