mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-28 12:36:42 +00:00
Comskip Update
This commit is contained in:
parent
c76d68f382
commit
f652d2b233
9 changed files with 329 additions and 7 deletions
|
|
@ -1668,6 +1668,20 @@ export default class API {
|
|||
}
|
||||
}
|
||||
|
||||
static async runComskip(recordingId) {
|
||||
try {
|
||||
const resp = await request(`${host}/api/channels/recordings/${recordingId}/comskip/`, {
|
||||
method: 'POST',
|
||||
});
|
||||
// Refresh recordings list to reflect comskip status when done later
|
||||
// This endpoint just queues the task; the websocket/refresh will update eventually
|
||||
return resp;
|
||||
} catch (e) {
|
||||
errorNotification('Failed to run comskip', e);
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
||||
// DVR Series Rules
|
||||
static async listSeriesRules() {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue