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>ScanChangedQueueTranscode</th>
|
||||
<th>HealthOkQueueTranscode</th>
|
||||
<th>HealthCommand</th>
|
||||
<th>TranscodeCommand</th>
|
||||
</tr>
|
||||
{{range $l := .Libraries}}
|
||||
<tr onclick="window.location='/libraries/{{ $l.ID }}';">
|
||||
|
@ -49,6 +51,12 @@
|
|||
<td>
|
||||
{{ $l.HealthOkQueueTranscode }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $l.HealthCommand }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $l.TranscodeCommand }}
|
||||
</td>
|
||||
</tr>
|
||||
{{end}}
|
||||
</table>
|
||||
|
@ -75,6 +83,18 @@
|
|||
<input type="checkbox" name="scan_changed_queue_transcode">
|
||||
<label>Queue Transcode on Healthcheck Success:</label>
|
||||
<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">
|
||||
</form>
|
||||
{{template "tail"}}
|
||||
|
|
|
@ -6,18 +6,6 @@
|
|||
<label>Full:</label><br />
|
||||
<input type="checkbox" name="full"><br />
|
||||
<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>
|
||||
<div class="file-list">
|
||||
<table>
|
||||
|
|
Loading…
Add table
Reference in a new issue