BAPSicle/ui-templates/config_player.html

52 lines
1.5 KiB
HTML
Raw Normal View History

{% extends 'base.html' %}
{% block content_inner %}
2021-04-04 22:14:30 +00:00
<h3 class="h5">Audio Outputs</h3>
<p>
2021-05-26 23:18:35 +00:00
<strong>Please note:</strong> Currently BAPSicle does not support choosing which Host API is used. Only supported options can be selected.
<br>
<strong>On MacOS:</strong> The available output devices will not update automatically, the BAPSicle server must be restarted.
2021-05-26 23:18:35 +00:00
</p>
<h4 class="h5">Currently Selected</h4>
<p>
{% for channel in data.channels %}
<strong>Player {{channel.channel}}:</strong>
{% if channel.output %}
{{channel.output}}
{% else %}
Default Audio Device
{% endif %}
{% if not channel.initialised %}
<code> - <strong>ERROR:</strong> Player did not start, potentially missing sound output?</code>
{% endif %}
<br>
2021-05-26 23:18:35 +00:00
{% endfor %}
<br/>
<code>
Set for:
{% for channel in data.channels %}
<a href="/player/{{channel.channel}}/output/None">Player {{channel.channel}}</a> /
{% endfor %}
Default Audio Output
</code>
</p>
{% for host_api in data.outputs %}
{{host_api.name}}
<br>
<code>
{% for output in host_api.output_devices %}
{% if host_api.usable %}
2021-04-04 22:14:30 +00:00
Set for:
{% for channel in data.channels %}
2021-05-26 23:18:35 +00:00
{% if channel.output == output.name %}
<strong>Player {{channel.channel}}</strong>
2021-05-26 23:18:35 +00:00
{% else %}
<a href="/player/{{channel.channel}}/output/{{output.name}}">Player {{channel.channel}}</a>
2021-05-26 23:18:35 +00:00
{% endif %}
/
{% endfor %}
{% endif %}{% if output.name %}{{output.name}}{% else %}System Default Output{% endif %}<br>
{% endfor %}
</code>
{% endfor %}
{% endblock %}