mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-25 01:02:19 +00:00
WIP
This commit is contained in:
parent
3394363edc
commit
0c2b0f7dcb
3 changed files with 41 additions and 2 deletions
|
@ -197,6 +197,18 @@
|
|||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<div class="row">
|
||||
<div class="col-sm-4 text-right">
|
||||
<b>Skip wrong FPS</b>
|
||||
</div>
|
||||
<div class="form-group col-sm-1">
|
||||
<label class="custom-control custom-checkbox">
|
||||
<input type="checkbox" class="custom-control-input" id="settings-legendasdivx-skip_wrong_fps" name="settings-legendasdivx-skip_wrong_fps">
|
||||
<span class="custom-control-label"></span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
@ -682,6 +694,7 @@
|
|||
$('#settings-opensubtitles-vip').prop('checked', {{'true' if settings.opensubtitles.getboolean('vip') else 'false'}});
|
||||
$('#settings-opensubtitles-ssl').prop('checked', {{'true' if settings.opensubtitles.getboolean('ssl') else 'false'}});
|
||||
$('#settings-opensubtitles-skip_wrong_fps').prop('checked', {{'true' if settings.opensubtitles.getboolean('skip_wrong_fps') else 'false'}});
|
||||
$('#settings-legendasdivx-skip_wrong_fps').prop('checked', {{'true' if settings.legendasdivx.getboolean('skip_wrong_fps') else 'false'}});
|
||||
|
||||
$('#save_button').on('click', function() {
|
||||
var formdata = new FormData(document.getElementById("settings_form"));
|
||||
|
|
|
@ -51,6 +51,7 @@
|
|||
</div>
|
||||
<div class="col-sm-4">
|
||||
<input type="text" class="form-control" id="settings-radarr-ip" name="settings-radarr-ip" value="{{settings.radarr.ip}}">
|
||||
<label>Hostname or IP4 address of Radarr</label>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
|
@ -60,6 +61,7 @@
|
|||
</div>
|
||||
<div class="col-sm-4">
|
||||
<input type="text" class="form-control" id="settings-radarr-port" name="settings-radarr-port" value="{{settings.radarr.port}}">
|
||||
<label>TCP Port of Radarr</label>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
|
@ -69,6 +71,7 @@
|
|||
</div>
|
||||
<div class="col-sm-4">
|
||||
<input type="text" class="form-control" id="settings-radarr-base_url" name="settings-radarr-base_url" value="{{settings.radarr.base_url}}">
|
||||
<label>Base URL for Radarr (default: '/')</label>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
|
@ -89,6 +92,7 @@
|
|||
</div>
|
||||
<div class="col-sm-4">
|
||||
<input type="text" class="form-control" id="settings-radarr-apikey" name="settings-radarr-apikey" value="{{settings.radarr.apikey}}">
|
||||
<label>API Key for Radarr (32 alphanumeric characters)</label>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
|
@ -112,16 +116,25 @@
|
|||
<input type="number" min="0" max="100" step="1" onkeydown="return false" class="form-control" id="settings-general-minimum_score_movie" name="settings-general-minimum_score_movie" value="{{settings.general.minimum_score_movie}}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-3 text-right">
|
||||
|
||||
</div>
|
||||
<div class="col-sm-8">
|
||||
<label for="settings-general-minimum_score_movie">Minimum score for an Movies Subtitle to be downloaded (0 to 100).</label>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<div class="row">
|
||||
<div class="col-sm-3 text-right">
|
||||
<b>Download Only Monitored</b>
|
||||
</div>
|
||||
<div class="form-group col-sm-1">
|
||||
<div class="form-group col-sm-8">
|
||||
<label class="custom-control custom-checkbox">
|
||||
<input type="checkbox" class="custom-control-input" id="settings-radarr-only_monitored" name="settings-radarr-only_monitored">
|
||||
<span class="custom-control-label" for="settings-radarr-only_monitored"></span>
|
||||
</label>
|
||||
<label>Automatic download of Subtitles will only happen for monitored movies in Radarr.</label>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
|
|
|
@ -51,6 +51,7 @@
|
|||
</div>
|
||||
<div class="col-sm-4">
|
||||
<input type="text" class="form-control" id="settings-sonarr-ip" name="settings-sonarr-ip" value="{{settings.sonarr.ip}}">
|
||||
<label>Hostname or IP4 Address of Sonarr</label>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
|
@ -60,6 +61,7 @@
|
|||
</div>
|
||||
<div class="col-sm-4">
|
||||
<input type="text" class="form-control" id="settings-sonarr-port" name="settings-sonarr-port" value="{{settings.sonarr.port}}">
|
||||
<label>TCP Port of Sonarr</label>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
|
@ -69,6 +71,7 @@
|
|||
</div>
|
||||
<div class="col-sm-4">
|
||||
<input type="text" class="form-control" id="settings-sonarr-base_url" name="settings-sonarr-base_url" value="{{settings.sonarr.base_url}}">
|
||||
<label>Base URL for Sonarr (default: '/')</label>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
|
@ -89,6 +92,7 @@
|
|||
</div>
|
||||
<div class="col-sm-4">
|
||||
<input type="text" class="form-control" id="settings-sonarr-apikey" name="settings-sonarr-apikey" value="{{settings.sonarr.apikey}}">
|
||||
<label>API Key for Sonarr (32 alphanumeric characters)</label>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
|
@ -112,16 +116,25 @@
|
|||
<input type="number" min="0" max="100" step="1" onkeydown="return false" class="form-control" id="settings-general-minimum_score" name="settings-general-minimum_score" value="{{settings.general.minimum_score}}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-3 text-right">
|
||||
|
||||
</div>
|
||||
<div class="col-sm-8">
|
||||
<label for="settings-general-minimum_score">Minimum score for an Episodes Subtitle to be downloaded (0 to 100).</label>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<div class="row">
|
||||
<div class="col-sm-3 text-right">
|
||||
<b>Download Only Monitored</b>
|
||||
</div>
|
||||
<div class="form-group col-sm-1">
|
||||
<div class="form-group col-sm-8">
|
||||
<label class="custom-control custom-checkbox">
|
||||
<input type="checkbox" class="custom-control-input" id="settings-sonarr-only_monitored" name="settings-sonarr-only_monitored">
|
||||
<span class="custom-control-label" for="settings-sonarr-only_monitored"></span>
|
||||
</label>
|
||||
<label>Automatic download of Subtitles will only happen for monitored episodes in Sonarr.</label>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
|
|
Loading…
Reference in a new issue