allow spaces in player name

This commit is contained in:
Christian Herzog
2019-12-02 19:32:35 +01:00
parent 3cc74534d1
commit 71f9f82270

View File

@@ -343,7 +343,7 @@ $(document).ready(function(){
}); });
$("#generate-command").on("click", function() { $("#generate-command").on("click", function() {
var commandLine = commandHeader + '-n ' + $("#player").val(); var commandLine = commandHeader + '-n "' + $("#player").val() + '"';
if (output == 'bt') { if (output == 'bt') {
commandLine += ' -o "BT -n \'' + $("#btsink").val() + '\'" -R -Z 192000'; commandLine += ' -o "BT -n \'' + $("#btsink").val() + '\'" -R -Z 192000';