This commit is contained in:
Ade
2017-03-04 11:17:18 +13:00
3 changed files with 3 additions and 2 deletions

View File

@@ -687,7 +687,7 @@
</div>
<div class="row">
<label>Password</label>
<input type="password" name="pth_password" value="${config['pth_password']}" size="36">
<input type="password" name="pth_password" value="${config['pth_password'] | h}" size="36">
</div>
<div class="row">
<label>URL</label>

View File

@@ -312,6 +312,7 @@ function doAjaxCall(url,elem,reload,form) {
$.ajax({
url: url,
data: dataString,
type: 'POST',
beforeSend: function(jqXHR, settings) {
// Start loader etc.
feedback.prepend(loader);

View File

@@ -31,7 +31,7 @@ load_rc_config ${name}
: "${headphones_conf:="/usr/local/headphones/config.ini"}"
command="${headphones_dir}/Headphones.py"
command_interpreter="/usr/bin/python"
command_interpreter="/usr/local/bin/python"
pidfile="/var/run/headphones/headphones.pid"
start_precmd="headphones_start_precmd"
headphones_flags="--daemon --nolaunch --pidfile $pidfile --config $headphones_conf $headphones_flags"