diff --git a/static/js/main.js b/static/js/main.js index 5625092..1a9427f 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -158,14 +158,14 @@ async function onShowSelectAudioSinkDialogClicked() { input.setAttribute("type", "radio"); input.setAttribute("name", "audiosink"); input.setAttribute("id", `audiosink_${index}`); - input.setAttribute("value", audioSink.description); + input.setAttribute("value", audioSink.device_name); input.addEventListener("change", onCloseSelectAudioSinkDialogClicked); if (audioSink.name == currentAudioSink) input.setAttribute("checked", "checked"); audioSinkSelectForm.appendChild(input); const label = document.createElement("label"); label.setAttribute("for", `audiosink_${index}`); - label.textContent = audioSink.description; + label.textContent = audioSink.display_name; audioSinkSelectForm.appendChild(label); }