This commit is contained in:
parent
011f97a3e6
commit
6927e31a62
2 changed files with 20 additions and 12 deletions
|
@ -13,6 +13,8 @@
|
||||||
<th>ScanNewQueueTranscode</th>
|
<th>ScanNewQueueTranscode</th>
|
||||||
<th>ScanChangedQueueTranscode</th>
|
<th>ScanChangedQueueTranscode</th>
|
||||||
<th>HealthOkQueueTranscode</th>
|
<th>HealthOkQueueTranscode</th>
|
||||||
|
<th>HealthCommand</th>
|
||||||
|
<th>TranscodeCommand</th>
|
||||||
</tr>
|
</tr>
|
||||||
{{range $l := .Libraries}}
|
{{range $l := .Libraries}}
|
||||||
<tr onclick="window.location='/libraries/{{ $l.ID }}';">
|
<tr onclick="window.location='/libraries/{{ $l.ID }}';">
|
||||||
|
@ -49,6 +51,12 @@
|
||||||
<td>
|
<td>
|
||||||
{{ $l.HealthOkQueueTranscode }}
|
{{ $l.HealthOkQueueTranscode }}
|
||||||
</td>
|
</td>
|
||||||
|
<td>
|
||||||
|
{{ $l.HealthCommand }}
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
{{ $l.TranscodeCommand }}
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{end}}
|
{{end}}
|
||||||
</table>
|
</table>
|
||||||
|
@ -75,6 +83,18 @@
|
||||||
<input type="checkbox" name="scan_changed_queue_transcode">
|
<input type="checkbox" name="scan_changed_queue_transcode">
|
||||||
<label>Queue Transcode on Healthcheck Success:</label>
|
<label>Queue Transcode on Healthcheck Success:</label>
|
||||||
<input type="checkbox" name="health_ok_queue_transcode">
|
<input type="checkbox" name="health_ok_queue_transcode">
|
||||||
|
<label for="health_command">Health Command:</label>
|
||||||
|
<select id="health_command" name="health_command">
|
||||||
|
{{range $l := .FfmpegCommands}}
|
||||||
|
<option value="{{$l.ID}}">{{$l.Name}}</option>
|
||||||
|
{{end}}
|
||||||
|
</select>
|
||||||
|
<label for="transcode_command">Transcode Command:</label>
|
||||||
|
<select id="transcode_command" name="transcode_command">
|
||||||
|
{{range $l := .FfmpegCommands}}
|
||||||
|
<option value="{{$l.ID}}">{{$l.Name}}</option>
|
||||||
|
{{end}}
|
||||||
|
</select>
|
||||||
<input type="submit" value="Submit">
|
<input type="submit" value="Submit">
|
||||||
</form>
|
</form>
|
||||||
{{template "tail"}}
|
{{template "tail"}}
|
||||||
|
|
|
@ -6,18 +6,6 @@
|
||||||
<label>Full:</label><br />
|
<label>Full:</label><br />
|
||||||
<input type="checkbox" name="full"><br />
|
<input type="checkbox" name="full"><br />
|
||||||
<input value="Scan" type="submit">
|
<input value="Scan" type="submit">
|
||||||
<label for="health_command">Health Command:</label>
|
|
||||||
<select id="health_command" name="health_command">
|
|
||||||
{{range $l := .FfmpegCommands}}
|
|
||||||
<option value="{{$l.ID}}">{{$l.Name}}</option>
|
|
||||||
{{end}}
|
|
||||||
</select>
|
|
||||||
<label for="transcode_command">Transcode Command:</label>
|
|
||||||
<select id="transcode_command" name="transcode_command">
|
|
||||||
{{range $l := .FfmpegCommands}}
|
|
||||||
<option value="{{$l.ID}}">{{$l.Name}}</option>
|
|
||||||
{{end}}
|
|
||||||
</select>
|
|
||||||
</form>
|
</form>
|
||||||
<div class="file-list">
|
<div class="file-list">
|
||||||
<table>
|
<table>
|
||||||
|
|
Loading…
Add table
Reference in a new issue