|
|
@ -152,6 +152,17 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="chmod_enabled" class="middle aligned row">
|
|
|
|
|
|
|
|
<div class="right aligned four wide column">
|
|
|
|
|
|
|
|
<label>Enable chmod</label>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="five wide column">
|
|
|
|
|
|
|
|
<div id="settings_chmod_enabled" class="ui toggle checkbox" data-chmod={{settings.general.getboolean('chmod_enabled')}}>
|
|
|
|
|
|
|
|
<input name="settings_general_chmod_enabled" type="checkbox">
|
|
|
|
|
|
|
|
<label></label>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div id="chmod" class="middle aligned row">
|
|
|
|
<div id="chmod" class="middle aligned row">
|
|
|
|
<div class="right aligned four wide column">
|
|
|
|
<div class="right aligned four wide column">
|
|
|
|
<label>Set subtitle file permissions to</label>
|
|
|
|
<label>Set subtitle file permissions to</label>
|
|
|
@ -599,7 +610,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="middle aligned row">
|
|
|
|
<div class="middle aligned row postprocessing">
|
|
|
|
<div class="right aligned four wide column">
|
|
|
|
<div class="right aligned four wide column">
|
|
|
|
<label>Post-processing command</label>
|
|
|
|
<label>Post-processing command</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -610,7 +621,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="middle aligned row">
|
|
|
|
<div class="middle aligned row postprocessing">
|
|
|
|
<div class="right aligned four wide column">
|
|
|
|
<div class="right aligned four wide column">
|
|
|
|
<label>Variables you can use in your command (include the double curly brace):</label>
|
|
|
|
<label>Variables you can use in your command (include the double curly brace):</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -2032,6 +2043,7 @@
|
|
|
|
% import sys
|
|
|
|
% import sys
|
|
|
|
% if sys.platform.startswith('win'):
|
|
|
|
% if sys.platform.startswith('win'):
|
|
|
|
$("#chmod").hide();
|
|
|
|
$("#chmod").hide();
|
|
|
|
|
|
|
|
$("#chmod_enabled").hide();
|
|
|
|
% end
|
|
|
|
% end
|
|
|
|
|
|
|
|
|
|
|
|
$('.menu .item')
|
|
|
|
$('.menu .item')
|
|
|
@ -2070,6 +2082,12 @@
|
|
|
|
$("#settings_debug").checkbox('uncheck');
|
|
|
|
$("#settings_debug").checkbox('uncheck');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($('#settings_chmod_enabled').data("chmod") === "True") {
|
|
|
|
|
|
|
|
$("#settings_chmod_enabled").checkbox('check');
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
$("#settings_chmod_enabled").checkbox('uncheck');
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if ($('#settings_single_language').data("single-language") === "True") {
|
|
|
|
if ($('#settings_single_language').data("single-language") === "True") {
|
|
|
|
$("#settings_single_language").checkbox('check');
|
|
|
|
$("#settings_single_language").checkbox('check');
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
@ -2247,6 +2265,21 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($('#settings_chmod_enabled').data("chmod") === "True") {
|
|
|
|
|
|
|
|
$('#chmod').show();
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
$('#chmod').hide();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$('#settings_chmod_enabled').checkbox({
|
|
|
|
|
|
|
|
onChecked: function() {
|
|
|
|
|
|
|
|
$('#chmod').show();
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
onUnchecked: function() {
|
|
|
|
|
|
|
|
$('#chmod').hide();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
if ($('#settings_auth_type').val() === "None") {
|
|
|
|
if ($('#settings_auth_type').val() === "None") {
|
|
|
|
$('.auth_option').hide();
|
|
|
|
$('.auth_option').hide();
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -2467,7 +2500,7 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
},
|
|
|
|
% if not sys.platform.startswith('win'):
|
|
|
|
% if not sys.platform.startswith('win') and settings.general.getboolean('chmod_enabled'):
|
|
|
|
settings_general_chmod: {
|
|
|
|
settings_general_chmod: {
|
|
|
|
rules: [
|
|
|
|
rules: [
|
|
|
|
{
|
|
|
|
{
|
|
|
|