diff --git a/thrimbletrimmer/dashboard.html b/thrimbletrimmer/dashboard.html
index 1aeea06..5abc5f3 100644
--- a/thrimbletrimmer/dashboard.html
+++ b/thrimbletrimmer/dashboard.html
@@ -135,6 +135,8 @@
State
Edit
Link
+ Edit Time
+ Upload Time
@@ -218,6 +220,9 @@
function populateTable (events) {
events.forEach(event => {
+ if(!event.description) { //If a row doesn't have a description, it's probably orphaned from the spreadsheet, and does not need to be displayed.
+ return;
+ }
let row = document.createElement("TR");
row.innerHTML = `
${event.event_start}
@@ -227,6 +232,8 @@
${event.state}
Edit
${event.video_link ? ""+event.video_link+" ":""}
+ ${event.edit_time}
+ ${event.upload_time}
`;
document.getElementById('QueueTable').appendChild(row);
});
diff --git a/thrimbletrimmer/index.html b/thrimbletrimmer/index.html
index 154c682..7d85657 100644
--- a/thrimbletrimmer/index.html
+++ b/thrimbletrimmer/index.html
@@ -86,7 +86,8 @@
Description:
-
+
+
Go To Dashboard |
Manual Link |
diff --git a/thrimbletrimmer/scripts/IO.js b/thrimbletrimmer/scripts/IO.js
index 456959d..4c99422 100644
--- a/thrimbletrimmer/scripts/IO.js
+++ b/thrimbletrimmer/scripts/IO.js
@@ -70,7 +70,7 @@ loadPlaylist = function(startTrim, endTrim) {
});
};
-thrimbletrimmerSubmit = function() {
+thrimbletrimmerSubmit = function(state) {
document.getElementById('SubmitButton').disabled = true;
if(player.trimmingControls().options.startTrim >= player.trimmingControls().options.endTrim) {
alert("End Time must be greater than Start Time");
@@ -88,7 +88,7 @@ thrimbletrimmerSubmit = function() {
video_channel:document.getElementById("StreamName").value,
video_quality:document.getElementById('qualityLevel').options[document.getElementById('qualityLevel').options.selectedIndex].value,
uploader_whitelist:(document.getElementById('uploaderWhitelist').value ? document.getElementById('uploaderWhitelist').value.split(','):null),
- state:"EDITED",
+ state:state,
token: user.getAuthResponse().id_token
};
// state_columns = ['state', 'uploader', 'error', 'video_link']