|
|
|
@ -11,7 +11,8 @@
|
|
|
|
|
<button class="btn btn-outline" id="save_button">
|
|
|
|
|
<div>
|
|
|
|
|
<span class="fa-stack">
|
|
|
|
|
<i class="fas fa-save fa-stack-2x align-top text-themecolor text-center font-20" aria-hidden="true"></i>
|
|
|
|
|
<i class="fas fa-save fa-stack-2x align-top text-themecolor text-center font-20"
|
|
|
|
|
aria-hidden="true"></i>
|
|
|
|
|
<i id="save_button_checkmark" class="fas fa-check fa-stack-2x" style="color:green;"></i>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
@ -34,12 +35,14 @@
|
|
|
|
|
<b>Subtitle Folder</b>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group col-sm-4">
|
|
|
|
|
<select class="form-control selectpicker" id="settings-general-subfolder" name="settings-general-subfolder">
|
|
|
|
|
<select class="form-control selectpicker" id="settings-general-subfolder"
|
|
|
|
|
name="settings-general-subfolder">
|
|
|
|
|
<option value="current">Alongside Media File</option>
|
|
|
|
|
<option value="relative">Relative Path To Media File</option>
|
|
|
|
|
<option value="absolute">Absolute Path</option>
|
|
|
|
|
</select>
|
|
|
|
|
<label for="settings-general-subfolder">Choose the folder you wish to store/read the Subtitles</label>
|
|
|
|
|
<label for="settings-general-subfolder">Choose the folder you wish to store/read the
|
|
|
|
|
Subtitles</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="subfolder_div">
|
|
|
|
@ -48,7 +51,8 @@
|
|
|
|
|
<b>Custom Subtitle Folder</b>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-4">
|
|
|
|
|
<input type="text" class="form-control" id="settings-general-subfolder_custom" name="settings-general-subfolder_custom" value="{{settings.general.subfolder_custom}}">
|
|
|
|
|
<input type="text" class="form-control" id="settings-general-subfolder_custom"
|
|
|
|
|
name="settings-general-subfolder_custom" value="{{ settings.general.subfolder_custom }}">
|
|
|
|
|
<label for="settings-general-subfolder_custom">Choose your own folder for Subtitles</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -60,7 +64,8 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group col-sm-8">
|
|
|
|
|
<label class="custom-control custom-checkbox">
|
|
|
|
|
<input type="checkbox" class="custom-control-input" id="settings-general-upgrade_subs" name="settings-general-upgrade_subs">
|
|
|
|
|
<input type="checkbox" class="custom-control-input" id="settings-general-upgrade_subs"
|
|
|
|
|
name="settings-general-upgrade_subs">
|
|
|
|
|
<span class="custom-control-label" for="settings-general-upgrade_subs"></span>
|
|
|
|
|
</label>
|
|
|
|
|
<label>Schedule a task to upgrade Subtitles previously downloaded by Bazarr.</label>
|
|
|
|
@ -73,7 +78,9 @@
|
|
|
|
|
<b>Number of days to go back in history to upgrade subtitles (up to 30)</b>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-4">
|
|
|
|
|
<input type="number" class="form-control" id="settings-general-days_to_upgrade_subs" name="settings-general-days_to_upgrade_subs" min="1" max="30" value="{{settings.general.days_to_upgrade_subs}}" onkeydown="return false">
|
|
|
|
|
<input type="number" class="form-control" id="settings-general-days_to_upgrade_subs"
|
|
|
|
|
name="settings-general-days_to_upgrade_subs" min="1" max="30"
|
|
|
|
|
value="{{ settings.general.days_to_upgrade_subs }}" onkeydown="return false">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<br>
|
|
|
|
@ -83,7 +90,8 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group col-sm-8">
|
|
|
|
|
<label class="custom-control custom-checkbox">
|
|
|
|
|
<input type="checkbox" class="custom-control-input" id="settings-general-upgrade_manual" name="settings-general-upgrade_manual">
|
|
|
|
|
<input type="checkbox" class="custom-control-input" id="settings-general-upgrade_manual"
|
|
|
|
|
name="settings-general-upgrade_manual">
|
|
|
|
|
<span class="custom-control-label" for="settings-general-upgrade_manual"></span>
|
|
|
|
|
</label>
|
|
|
|
|
<label>Enable or disable upgrade of manually searched and downloaded Subtitles.</label>
|
|
|
|
@ -99,12 +107,14 @@
|
|
|
|
|
<b>Provider</b>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group col-sm-4">
|
|
|
|
|
<select class="form-control selectpicker" id="settings-general-anti_captcha_provider" name="settings-general-anti_captcha_provider">
|
|
|
|
|
<select class="form-control selectpicker" id="settings-general-anti_captcha_provider"
|
|
|
|
|
name="settings-general-anti_captcha_provider">
|
|
|
|
|
<option value="None">None</option>
|
|
|
|
|
<option value="anti-captcha">Anti-Captcha</option>
|
|
|
|
|
<option value="death-by-captcha">Death by Captcha</option>
|
|
|
|
|
</select>
|
|
|
|
|
<label for="settings-general-anti_captcha_provider">Choose the Anti-Captcha provider you want to use.</label>
|
|
|
|
|
<label for="settings-general-anti_captcha_provider">Choose the Anti-Captcha provider you want to
|
|
|
|
|
use.</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="anticaptcha_div">
|
|
|
|
@ -122,7 +132,9 @@
|
|
|
|
|
<b>Account Key</b>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-4">
|
|
|
|
|
<input type="text" class="form-control" id="settings-anticaptcha-anti_captcha_key" name="settings-anticaptcha-anti_captcha_key" value="{{settings.anticaptcha.anti_captcha_key}}">
|
|
|
|
|
<input type="text" class="form-control" id="settings-anticaptcha-anti_captcha_key"
|
|
|
|
|
name="settings-anticaptcha-anti_captcha_key"
|
|
|
|
|
value="{{ settings.anticaptcha.anti_captcha_key }}">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<br>
|
|
|
|
@ -142,7 +154,8 @@
|
|
|
|
|
<b>Username</b>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-4">
|
|
|
|
|
<input type="text" class="form-control" id="settings-deathbycaptcha-username" name="settings-deathbycaptcha-username" value="{{settings.deathbycaptcha.username}}">
|
|
|
|
|
<input type="text" class="form-control" id="settings-deathbycaptcha-username"
|
|
|
|
|
name="settings-deathbycaptcha-username" value="{{ settings.deathbycaptcha.username }}">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<br>
|
|
|
|
@ -151,7 +164,8 @@
|
|
|
|
|
<b>Password</b>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-4">
|
|
|
|
|
<input type="password" class="form-control" id="settings-deathbycaptcha-password" name="settings-deathbycaptcha-password" value="{{settings.deathbycaptcha.password}}">
|
|
|
|
|
<input type="password" class="form-control" id="settings-deathbycaptcha-password"
|
|
|
|
|
name="settings-deathbycaptcha-password" value="{{ settings.deathbycaptcha.password }}">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<br>
|
|
|
|
@ -165,10 +179,12 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group col-sm-8">
|
|
|
|
|
<label class="custom-control custom-checkbox">
|
|
|
|
|
<input type="checkbox" class="custom-control-input" id="settings-general-adaptive_searching" name="settings-general-adaptive_searching">
|
|
|
|
|
<input type="checkbox" class="custom-control-input" id="settings-general-adaptive_searching"
|
|
|
|
|
name="settings-general-adaptive_searching">
|
|
|
|
|
<span class="custom-control-label" for="settings-general-adaptive_searching"></span>
|
|
|
|
|
</label>
|
|
|
|
|
<label>When searching for Subtitles, Bazarr will search less frequently to limit call to providers.</label>
|
|
|
|
|
<label>When searching for Subtitles, Bazarr will search less frequently to limit call to
|
|
|
|
|
providers.</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row">
|
|
|
|
@ -177,7 +193,8 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group col-sm-8">
|
|
|
|
|
<label class="custom-control custom-checkbox">
|
|
|
|
|
<input type="checkbox" class="custom-control-input" id="settings-general-multithreading" name="settings-general-multithreading">
|
|
|
|
|
<input type="checkbox" class="custom-control-input" id="settings-general-multithreading"
|
|
|
|
|
name="settings-general-multithreading">
|
|
|
|
|
<span class="custom-control-label" for="settings-general-multithreading"></span>
|
|
|
|
|
</label>
|
|
|
|
|
<label>Search multiple providers at once (Don't choose this on low powered devices)</label>
|
|
|
|
@ -189,7 +206,8 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group col-sm-8">
|
|
|
|
|
<label class="custom-control custom-checkbox">
|
|
|
|
|
<input type="checkbox" class="custom-control-input" id="settings-general-use_embedded_subs" name="settings-general-use_embedded_subs">
|
|
|
|
|
<input type="checkbox" class="custom-control-input" id="settings-general-use_embedded_subs"
|
|
|
|
|
name="settings-general-use_embedded_subs">
|
|
|
|
|
<span class="custom-control-label" for="settings-general-use_embedded_subs"></span>
|
|
|
|
|
</label>
|
|
|
|
|
<label>Use embedded Subtitles in media files when determining missing ones.</label>
|
|
|
|
@ -202,10 +220,12 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group col-sm-8">
|
|
|
|
|
<label class="custom-control custom-checkbox">
|
|
|
|
|
<input type="checkbox" class="custom-control-input" id="settings-general-ignore_pgs_subs" name="settings-general-ignore_pgs_subs">
|
|
|
|
|
<input type="checkbox" class="custom-control-input" id="settings-general-ignore_pgs_subs"
|
|
|
|
|
name="settings-general-ignore_pgs_subs">
|
|
|
|
|
<span class="custom-control-label" for="settings-general-ignore_pgs_subs"></span>
|
|
|
|
|
</label>
|
|
|
|
|
<label>Ignores PGS Subtitles in Embedded Subtitles detection. Only relevant if 'Use embedded Subtitles' is enabled.</label>
|
|
|
|
|
<label>Ignores PGS Subtitles in Embedded Subtitles detection. Only relevant if 'Use embedded
|
|
|
|
|
Subtitles' is enabled.</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row">
|
|
|
|
@ -214,7 +234,9 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group col-sm-8">
|
|
|
|
|
<label class="custom-control custom-checkbox">
|
|
|
|
|
<input type="checkbox" class="custom-control-input" id="settings-general-embedded_subs_show_desired" name="settings-general-embedded_subs_show_desired">
|
|
|
|
|
<input type="checkbox" class="custom-control-input"
|
|
|
|
|
id="settings-general-embedded_subs_show_desired"
|
|
|
|
|
name="settings-general-embedded_subs_show_desired">
|
|
|
|
|
<span class="custom-control-label" for="settings-general-embedded_subs_show_desired"></span>
|
|
|
|
|
</label>
|
|
|
|
|
<label>Hide embedded subtitles for languages that are not currently desired.</label>
|
|
|
|
@ -230,7 +252,8 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group col-sm-8">
|
|
|
|
|
<label class="custom-control custom-checkbox">
|
|
|
|
|
<input type="checkbox" class="custom-control-input" id="settings-general-utf8_encode" name="settings-general-utf8_encode">
|
|
|
|
|
<input type="checkbox" class="custom-control-input" id="settings-general-utf8_encode"
|
|
|
|
|
name="settings-general-utf8_encode">
|
|
|
|
|
<span class="custom-control-label" for="settings-general-utf8_encode"></span>
|
|
|
|
|
</label>
|
|
|
|
|
<label>Re-encode downloaded Subtitles to UTF8. Should be left enabled in most case.</label>
|
|
|
|
@ -243,7 +266,8 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group col-sm-1">
|
|
|
|
|
<label class="custom-control custom-checkbox">
|
|
|
|
|
<input type="checkbox" class="custom-control-input" id="settings-general-chmod_enabled" name="settings-general-chmod_enabled">
|
|
|
|
|
<input type="checkbox" class="custom-control-input" id="settings-general-chmod_enabled"
|
|
|
|
|
name="settings-general-chmod_enabled">
|
|
|
|
|
<span class="custom-control-label" for="settings-general-chmod_enabled"></span>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
@ -254,7 +278,8 @@
|
|
|
|
|
<b>Set Subtitle file permissions to</b>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-4">
|
|
|
|
|
<input type="text" class="form-control" id="settings-general-chmod" name="settings-general-chmod" value="{{settings.general.chmod}}">
|
|
|
|
|
<input type="text" class="form-control" id="settings-general-chmod"
|
|
|
|
|
name="settings-general-chmod" value="{{ settings.general.chmod }}">
|
|
|
|
|
<label for="settings-general-chmod">Must be 4 digit octal, e.g.: 0775</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -267,7 +292,8 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group col-sm-8">
|
|
|
|
|
<label class="custom-control custom-checkbox">
|
|
|
|
|
<input type="checkbox" class="custom-control-input" id="settings-general-use_postprocessing" name="settings-general-use_postprocessing">
|
|
|
|
|
<input type="checkbox" class="custom-control-input" id="settings-general-use_postprocessing"
|
|
|
|
|
name="settings-general-use_postprocessing">
|
|
|
|
|
<span class="custom-control-label" for="settings-general-use_postprocessing"></span>
|
|
|
|
|
</label>
|
|
|
|
|
<label>Enable the post-processing execution after downloading a subtitles.</label>
|
|
|
|
@ -280,8 +306,11 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-1">
|
|
|
|
|
<label class="custom-control custom-checkbox">
|
|
|
|
|
<input type="checkbox" class="custom-control-input" id="settings-general-use_postprocessing_threshold" name="settings-general-use_postprocessing_threshold">
|
|
|
|
|
<span class="custom-control-label" for="settings-general-use_postprocessing_threshold"></span>
|
|
|
|
|
<input type="checkbox" class="custom-control-input"
|
|
|
|
|
id="settings-general-use_postprocessing_threshold"
|
|
|
|
|
name="settings-general-use_postprocessing_threshold">
|
|
|
|
|
<span class="custom-control-label"
|
|
|
|
|
for="settings-general-use_postprocessing_threshold"></span>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -291,7 +320,9 @@
|
|
|
|
|
<b>Only for score below</b>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-1">
|
|
|
|
|
<input type="number" class="form-control" id="settings-general-postprocessing_threshold" name="settings-general-postprocessing_threshold" min="0" max="100" step="1" onkeydown="return false" value="{{settings.general.postprocessing_threshold}}">
|
|
|
|
|
<input type="number" class="form-control" id="settings-general-postprocessing_threshold"
|
|
|
|
|
name="settings-general-postprocessing_threshold" min="0" max="100" step="1"
|
|
|
|
|
onkeydown="return false" value="{{ settings.general.postprocessing_threshold }}">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<br>
|
|
|
|
@ -301,8 +332,11 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-1">
|
|
|
|
|
<label class="custom-control custom-checkbox">
|
|
|
|
|
<input type="checkbox" class="custom-control-input" id="settings-general-use_postprocessing_threshold_movie" name="settings-general-use_postprocessing_threshold_movie">
|
|
|
|
|
<span class="custom-control-label" for="settings-general-use_postprocessing_threshold_movie"></span>
|
|
|
|
|
<input type="checkbox" class="custom-control-input"
|
|
|
|
|
id="settings-general-use_postprocessing_threshold_movie"
|
|
|
|
|
name="settings-general-use_postprocessing_threshold_movie">
|
|
|
|
|
<span class="custom-control-label"
|
|
|
|
|
for="settings-general-use_postprocessing_threshold_movie"></span>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -312,7 +346,9 @@
|
|
|
|
|
<b>Only for score below</b>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-1">
|
|
|
|
|
<input type="number" class="form-control" id="settings-general-postprocessing_threshold_movie" name="settings-general-postprocessing_threshold_movie" min="0" max="100" step="1" onkeydown="return false" value="{{settings.general.postprocessing_threshold_movie}}">
|
|
|
|
|
<input type="number" class="form-control" id="settings-general-postprocessing_threshold_movie"
|
|
|
|
|
name="settings-general-postprocessing_threshold_movie" min="0" max="100" step="1"
|
|
|
|
|
onkeydown="return false" value="{{ settings.general.postprocessing_threshold_movie }}">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<br>
|
|
|
|
@ -321,7 +357,9 @@
|
|
|
|
|
<b>Post-processing command</b>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input type="text" class="form-control" id="settings-general-postprocessing_cmd" name="settings-general-postprocessing_cmd" value="{{settings.general.postprocessing_cmd}}">
|
|
|
|
|
<input type="text" class="form-control" id="settings-general-postprocessing_cmd"
|
|
|
|
|
name="settings-general-postprocessing_cmd"
|
|
|
|
|
value="{{ settings.general.postprocessing_cmd }}">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<br>
|
|
|
|
@ -350,6 +388,8 @@
|
|
|
|
|
<p>The 2-letter ISO-639 language code of the episode audio language.</p>
|
|
|
|
|
<b>{{episode_language_code3}}</b>
|
|
|
|
|
<p>The 3-letter ISO-639 language code of the episode audio language.</p>
|
|
|
|
|
<b>{{score}}</b>
|
|
|
|
|
<p>The score of the subtitles file.</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -464,8 +504,7 @@
|
|
|
|
|
form_changed = false;
|
|
|
|
|
$('#save_button').prop('disabled', true).css('cursor', 'not-allowed');
|
|
|
|
|
setTimeout(
|
|
|
|
|
function()
|
|
|
|
|
{
|
|
|
|
|
function () {
|
|
|
|
|
$('#save_button_checkmark').hide();
|
|
|
|
|
}, 2000);
|
|
|
|
|
}
|
|
|
|
|