diff --git a/components/wifi-manager/code.js b/components/wifi-manager/code.js index f50a994b..0ba261d0 100644 --- a/components/wifi-manager/code.js +++ b/components/wifi-manager/code.js @@ -304,6 +304,7 @@ function checkStatus(){ //update wait screen $( "#loading" ).hide(); + $( "#connect-success" ).append("
Your IP address now is: " + text(data["ip"]) + "
"); $( "#connect-success" ).show(); $( "#connect-fail" ).hide(); } @@ -418,6 +419,9 @@ function selectOutput(el) { if ($(el).attr('id') == 'bt') { $("#btsinkdiv").show(200); output = 'bt'; + } else if ($(el).attr('id') == 'spdif') { + $("#btsinkdiv").hide(200); + output = 'spdif'; } else { $("#btsinkdiv").hide(200); output = 'i2s'; @@ -429,6 +433,8 @@ function generateCommand() { if (output == 'bt') { commandLine += ' -o "BT -n \'' + $("#btsink").val() + '\'" -R -u m -Z 192000 -r "44100-44100"'; + } else if (output == 'spdif') { + commandLine += ' -o SPDIF'; } else { commandLine += ' -o I2S'; } diff --git a/components/wifi-manager/index.html b/components/wifi-manager/index.html index e7cea9f3..ecd25c21 100644 --- a/components/wifi-manager/index.html +++ b/components/wifi-manager/index.html @@ -186,6 +186,8 @@ function handleClick(cb) {