Skip to content

Commit

Permalink
Clearing old comments
Browse files Browse the repository at this point in the history
  • Loading branch information
COMTOP1 committed Dec 23, 2024
1 parent 11f3239 commit 98c8e2b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 182 deletions.
75 changes: 0 additions & 75 deletions server/templates/main.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -43,81 +43,6 @@

<div id="stream_further_1" hidden>
{{template "recallStartHTML" .}}






{{/* <div class="card">*/}}
{{/* <div class="card-content">*/}}
{{/* <p class="title">Stream outputs</p>*/}}
{{/* <p class="subtitle">Recording</p>*/}}
{{/* <p>This is the file output of the stream, it will be saved as a .mkv file, and you can specify a*/}}
{{/* path<br>*/}}
{{/* It will be saved in the pending edits folder on the network drive (not to be confused with the*/}}
{{/* Google Drive)<br>*/}}
{{/* The format to follow is (folder/file) e.g. ERN/ERN.mkv, the folder will be created in pending*/}}
{{/* edits*/}}
{{/* if it doesn't already exist<br>*/}}
{{/* The extension (.mkv) will be added to the end of the file if it doesn't already contain it*/}}
{{/* </p>*/}}
{{/* <br>*/}}
{{/* <label for="record_checkbox">Record stream </label>*/}}
{{/* <input name="record_checkbox" id="record_checkbox" type="checkbox" checked><br>*/}}
{{/* <label for="save_path">MKV save location </label><br>*/}}
{{/* <input type="text" name="save_path" id="save_path" placeholder="ERN/ERN.mkv"*/}}
{{/* class="input"><br><br>*/}}
{{/* </div>*/}}
{{/* </div>*/}}
{{/* <div class="card">*/}}
{{/* <div class="card-content">*/}}
{{/* <p class="subtitle">Website forwarding</p>*/}}
{{/* <p>If this is selected then it will default to stream1?pwd=gamer<br>*/}}
{{/* By default, the website works with streaming to the live endpoint so that is done by default<br>*/}}
{{/* Use the live endpoint followed by one of the keys in <a*/}}
{{/* href="https://cobra.dev.ystv.co.uk/streamkeys">cobra</a>*/}}
{{/* [stream key and password]<br>*/}}
{{/* This is especially important for events like Roses</p><br>*/}}
{{/* <label for="website_stream">Stream to website </label>*/}}
{{/* <input name="website_stream" id="website_stream" type="checkbox" checked><br>*/}}
{{/* <label for="website_stream_endpoint">Website stream endpoint</label><br>*/}}
{{/* <input name="website_stream_endpoint"*/}}
{{/* id="website_stream_endpoint"*/}}
{{/* placeholder="stream1?pwd=gamer"*/}}
{{/* class="input" required><br><br>*/}}
{{/* </div>*/}}
{{/* </div>*/}}
{{/* <div class="card">*/}}
{{/* <div class="card-content">*/}}
{{/* <p class="subtitle">Additional forwarding</p>*/}}
{{/* <p>This section is for adding all the stream servers and keys<br>*/}}
{{/* All stream servers should start with "rtmp://" or "rtmps://"<br>*/}}
{{/* If you are unsure how to get the stream servers and keys from YouTube and Facebook then click on*/}}
{{/* the links below<br>*/}}
{{/* <a target="_blank" href="/youtubehelp">YouTube</a><br>*/}}
{{/* <a target="_blank" href="/facebookhelp">Facebook</a></p><br>*/}}
{{/* <label for="input"></label><input type="text" id="input" hidden disabled/>*/}}
{{/* <table class="table table-bordered" id="streams_dynamic_field">*/}}
{{/* <tr>*/}}
{{/* <td><label for="stream_server_0">Enter the stream server - 1 </label><br>*/}}
{{/* <input type="text" name="stream_server_0" id="stream_server_0"*/}}
{{/* placeholder="Enter stream server" class="input" required/><br><br>*/}}
{{/* <label for="stream_key_0">Enter the stream key - 1 </label><br>*/}}
{{/* <input type="text" name="stream_key_0" id="stream_key_0" placeholder="Enter stream key"*/}}
{{/* class="input" required/><br><br>*/}}
{{/* </td>*/}}
{{/* <td>*/}}
{{/* <button type="button" name="add_stream_button" id="add_stream_button"*/}}
{{/* class="btn btn-success button">Add More*/}}
{{/* </button>*/}}
{{/* </td>*/}}
{{/* </tr>*/}}
{{/* </table>*/}}
{{/* <p id="start_error" style="color: red"></p><br>*/}}
{{/* <input id="start_button" type="button" class="button" value="Start"/>*/}}
{{/* </div>*/}}
{{/* </div>*/}}
</div>
</form>
</div>
Expand Down
107 changes: 0 additions & 107 deletions server/templates/recall.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -34,79 +34,6 @@
</div>
</div>
{{template "recallStartHTML" .}}
{{/* <div class="card">*/}}
{{/* <div class="card-content">*/}}
{{/* <p class="title">Stream outputs</p>*/}}
{{/* <p class="subtitle">Recording</p>*/}}
{{/* <p>This is the file output of the stream, it will be saved as a .mkv file, and you can specify a*/}}
{{/* path<br>*/}}
{{/* It will be saved in the pending edits folder on the network drive (not to be confused with the*/}}
{{/* Google Drive)<br>*/}}
{{/* The format to follow is (folder/file) e.g. ERN/ERN.mkv, the folder will be created in pending*/}}
{{/* edits*/}}
{{/* if it doesn't already exist<br>*/}}
{{/* The extension (.mkv) will be added to the end of the file if it doesn't already contain it</p>*/}}
{{/* <br>*/}}
{{/* <label for="record_checkbox">Record stream </label>*/}}
{{/* <input name="record_checkbox" id="record_checkbox" type="checkbox"><br>*/}}
{{/* <label for="save_path">MKV save location </label><br>*/}}
{{/* <input type="text" name="save_path" id="save_path" placeholder="ERN/ERN.mkv" class="input"*/}}
{{/* style="visibility: hidden"><br><br>*/}}
{{/* </div>*/}}
{{/* </div>*/}}
{{/* <div class="card">*/}}
{{/* <div class="card-content">*/}}
{{/* <p class="subtitle">Website forwarding</p>*/}}
{{/* <p>If this is selected then it will default to stream1?pwd=gamer<br>*/}}
{{/* By default, the website works with streaming to the live endpoint so that is done by default<br>*/}}
{{/* Use the live endpoint followed by one of the keys in <a*/}}
{{/* href="https://cobra.dev.ystv.co.uk/streamkeys">cobra</a>*/}}
{{/* [stream key and password]<br>*/}}
{{/* This is especially important for events like Roses</p><br>*/}}
{{/* <label for="website_stream">Stream to website </label>*/}}
{{/* <input name="website_stream" id="website_stream" type="checkbox"><br>*/}}
{{/* <label for="website_stream_endpoint">Website stream endpoint</label><br>*/}}
{{/* <input name="website_stream_endpoint"*/}}
{{/* id="website_stream_endpoint"*/}}
{{/* placeholder="stream1?pwd=gamer"*/}}
{{/* class="input" style="visibility: hidden"><br><br>*/}}
{{/* </div>*/}}
{{/* </div>*/}}
{{/* <div class="card">*/}}
{{/* <div class="card-content">*/}}
{{/* <p class="subtitle">Additional forwarding</p>*/}}
{{/* <p>This section is for adding all the stream servers and keys<br>*/}}
{{/* All stream servers should start with "rtmp://" or "rtmps://"<br>*/}}
{{/* If you are unsure how to get the stream servers and keys from YouTube and Facebook then click on the*/}}
{{/* links below<br>*/}}
{{/* <a target="_blank" href="/youtubehelp">YouTube</a><br>*/}}
{{/* <a target="_blank" href="/facebookhelp">Facebook</a></p><br>*/}}
{{/* <label for="input"></label><input type="text" id="input" hidden disabled/>*/}}
{{/* <table class="table table-bordered" id="streams_dynamic_field">*/}}
{{/* <tr>*/}}
{{/* <td><label for="stream_server_0">Enter the stream server - 1 </label><br>*/}}
{{/* <input type="text" name="stream_server_0" id="stream_server_0"*/}}
{{/* placeholder="Enter stream server" class="input" required/><br><br>*/}}
{{/* <label for="stream_key_0">Enter the stream key - 1 </label><br>*/}}
{{/* <input type="text" name="stream_key_0" id="stream_key_0" placeholder="Enter stream key"*/}}
{{/* class="input" required/><br><br>*/}}
{{/* </td>*/}}
{{/* <td>*/}}
{{/* <button type="button" name="add_stream_button" id="add_stream_button"*/}}
{{/* class="btn btn-success button">Add More*/}}
{{/* </button>*/}}
{{/* </td>*/}}
{{/* </tr>*/}}
{{/* </table>*/}}
{{/* <p id="start_error" style="color: red"></p><br>*/}}
{{/* <input class="button" id="start_button" type="button" value="Start"><br><br><br>*/}}
{{/* <p id="delete_error" style="color: red"></p><br>*/}}
{{/* <label for="delete_checkbox">Enable the delete button </label>*/}}
{{/* <input name="delete_checkbox" id="delete_checkbox" type="checkbox"><br>*/}}
{{/* <input name="delete_button" id="delete_button" type="button" class="button" value="|> DELETE <|"*/}}
{{/* style="visibility: hidden" disabled hidden>*/}}
{{/* </div>*/}}
{{/* </div>*/}}
</form>
</div>
{{template "statusWindowHTML"}}
Expand Down Expand Up @@ -454,40 +381,6 @@
startButton.disabled = false;
});

// let deleteButton = $("#delete_button");
// let deleteError = $("#delete_error");
//
// deleteButton.click(function () {
// deleteButton.disabled = true;
// console.log("Delete pressed");
// $.ajax({
// url: "delete",
// type: "post",
// dataType: "text",
// contentType: "application/x-www-form-urlencoded",
// data: ({"unique": unique}),
// success: function (data) {
// const deleteResponseJson = JSON.parse(data);
// if (deleteResponseJson.error !== "") {
// deleteError.html(deleteResponseJson.error);
// return;
// }
// if (deleteResponseJson.deleted) {
// document.getElementById("recalled_stream_window").hidden = true;
// document.getElementById("recalled_stream_window").style.visibility = "hidden";
// document.getElementById("deleted_window").hidden = false;
// document.getElementById("deleted_window").style.visibility = "visible";
// unique = "";
// clearInterval(recalledWindowServerErrorInterval);
// return;
// }
// deleteError.html("invalid response from server: " + deleteResponseJson.deleted);
// console.log("invalid response from server: " + deleteResponseJson.deleted);
// },
// });
// deleteButton.disabled = false;
// });

{{template "stopJSON" .}}
});

Expand Down

0 comments on commit 98c8e2b

Please sign in to comment.