Removing "experimental" cutting feature

pull/75/head
mg 5 years ago
parent dee140aec0
commit 7876880629

@ -81,16 +81,12 @@
<th>Stream</th> <th>Stream</th>
<th>Start Time</th> <th>Start Time</th>
<th>End Time</th> <th>End Time</th>
<th>Allow Holes</th>
<th>Experimental</th>
<th></th> <th></th>
</tr> </tr>
<tr> <tr>
<td><input id="StreamName" value="gamesdonequick" /></td> <td><input id="StreamName" value="gamesdonequick" /></td>
<td><input id="StreamStart" value="2019-01-06T16:00:00" /></td> <td><input id="StreamStart" value="2019-01-06T16:00:00" /></td>
<td><input id="StreamEnd" value="2019-01-06T17:00:00" /></td> <td><input id="StreamEnd" value="2019-01-06T17:00:00" /></td>
<td><input id="AllowHoles" type="checkbox" checked /></td>
<td><input id="IsExperimental" type="checkbox" checked /></td>
<td><input type="button" value="Load Playlist" onclick="loadPlaylist()" /></td> <td><input type="button" value="Load Playlist" onclick="loadPlaylist()" /></td>
</tr> </tr>
<tr> <tr>

@ -61,7 +61,6 @@
<td><a href="javascript:window.open('/files/' + document.getElementById('StreamName').value + '/source', '_blank');">Hours</a></td> <td><a href="javascript:window.open('/files/' + document.getElementById('StreamName').value + '/source', '_blank');">Hours</a></td>
</tr> </tr>
<tr><td>Allow Holes: </td><td><input id="AllowHoles" type="checkbox" checked /></td></tr> <tr><td>Allow Holes: </td><td><input id="AllowHoles" type="checkbox" checked /></td></tr>
<tr><td>Experimental: </td><td><input id="IsExperimental" type="checkbox" checked /></td></tr>
<tr><td>Quality Level: </td><td><select id="qualityLevel"></select></td></tr> <tr><td>Quality Level: </td><td><select id="qualityLevel"></select></td></tr>
<tr><td>Upload Location: </td><td><select id="uploadLocation"><option value="YouTube" selected>YouTube</option></select></td></tr> <tr><td>Upload Location: </td><td><select id="uploadLocation"><option value="YouTube" selected>YouTube</option></select></td></tr>
<tr><td>Uploader Whitelist: </td><td><input id="uploaderWhitelist" title="Uploader Whitelist" /></td></tr> <tr><td>Uploader Whitelist: </td><td><input id="uploaderWhitelist" title="Uploader Whitelist" /></td></tr>

@ -84,7 +84,6 @@ thrimbletrimmerSubmit = function() {
video_title:document.getElementById("VideoTitle").value, video_title:document.getElementById("VideoTitle").value,
video_description:document.getElementById("VideoDescription").value, video_description:document.getElementById("VideoDescription").value,
allow_holes:String(document.getElementById('AllowHoles').checked), allow_holes:String(document.getElementById('AllowHoles').checked),
experimental:String(document.getElementById('IsExperimental').checked),
upload_location:document.getElementById('uploadLocation').value, upload_location:document.getElementById('uploadLocation').value,
video_channel:document.getElementById("StreamName").value, video_channel:document.getElementById("StreamName").value,
video_quality:document.getElementById('qualityLevel').options[document.getElementById('qualityLevel').options.selectedIndex].value, video_quality:document.getElementById('qualityLevel').options[document.getElementById('qualityLevel').options.selectedIndex].value,
@ -127,8 +126,7 @@ thrimbletrimmerDownload = function() {
"/"+document.getElementById('qualityLevel').options[document.getElementById('qualityLevel').options.selectedIndex].value+".ts" + "/"+document.getElementById('qualityLevel').options[document.getElementById('qualityLevel').options.selectedIndex].value+".ts" +
"?start=" + downloadStart + "?start=" + downloadStart +
"&end=" + downloadEnd + "&end=" + downloadEnd +
"&allow_holes=" + String(document.getElementById('AllowHoles').checked) + "&allow_holes=" + String(document.getElementById('AllowHoles').checked);
"&experimental=" + String(document.getElementById('IsExperimental').checked);
console.log(targetURL); console.log(targetURL);
document.getElementById('outputFile').src = targetURL; document.getElementById('outputFile').src = targetURL;
} }

Loading…
Cancel
Save