From 9bbfc4b9f8244b57465a215c8391531ae1054144 Mon Sep 17 00:00:00 2001 From: Milarin Date: Wed, 11 Dec 2024 11:48:25 +0100 Subject: [PATCH] renamed audio sink fields --- static/js/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }