diff --git a/dashboard-ui/livetvrecording.html b/dashboard-ui/livetvrecording.html new file mode 100644 index 000000000..75964f19c --- /dev/null +++ b/dashboard-ui/livetvrecording.html @@ -0,0 +1,18 @@ + + + + Media Browser + + +
+
+ Guide + Channels + Recordings + Timers +
+
+
+
+ + diff --git a/dashboard-ui/scripts/livetvrecording.js b/dashboard-ui/scripts/livetvrecording.js new file mode 100644 index 000000000..812f47f49 --- /dev/null +++ b/dashboard-ui/scripts/livetvrecording.js @@ -0,0 +1,19 @@ +function deleteRecording(page, id) { + + Dashboard.confirm("Are you sure you wish to delete this recording?", "Confirm Recording Deletion", function (result) { + + if (result) { + + Dashboard.showLoadingMsg(); + + ApiClient.deleteLiveTvRecording(id).done(function () { + + Dashboard.alert('Recording deleted'); + + reload(page); + }); + } + + }); +} +