From 0076ea9c244d917e85786509a2263f2211bb03e1 Mon Sep 17 00:00:00 2001 From: Matthew Stratford Date: Thu, 2 Sep 2021 00:34:36 +0100 Subject: [PATCH] Add default audio output option and improve text. --- ui-templates/config_player.html | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/ui-templates/config_player.html b/ui-templates/config_player.html index 982f6e6..2b329e4 100644 --- a/ui-templates/config_player.html +++ b/ui-templates/config_player.html @@ -4,13 +4,21 @@

Please note: Currently BAPSicle does not support choosing which Host API is used. Only supported options can be selected.
- On MacOS: The available inputs will not update automatically, the server must be restarted. + On MacOS: The available output devices will not update automatically, the BAPSicle server must be restarted.

Currently Selected

{% for channel in data.channels %} - Channel {{channel.channel}}: {% if channel.output %}{{channel.output}}{% else %}Default Audio Device{% endif %}
+ Player {{channel.channel}}: {% if channel.output %}{{channel.output}}{% else %}Default Audio Device{% endif %}
{% endfor %} +
+ +Set for: +{% for channel in data.channels %} + Player {{channel.channel}} / +{% endfor %} +Default Audio Output +

{% for host_api in data.outputs %} {{host_api.name}} @@ -21,12 +29,12 @@ Set for: {% for channel in data.channels %} {% if channel.output == output.name %} - Channel {{channel.channel}} + Player {{channel.channel}} {% else %} - Channel {{channel.channel}} + Player {{channel.channel}} {% endif %} + / {% endfor %} - - {% endif %}{% if output.name %}{{output.name}}{% else %}System Default Output{% endif %}
{% endfor %}