2020-10-24 14:04:33 +00:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
{% block content_inner %}
|
2021-04-04 22:14:30 +00:00
|
|
|
<h3 class="h5">Audio Outputs</h3>
|
2021-04-17 20:28:57 +00:00
|
|
|
<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>
|
2021-09-01 23:34:36 +00:00
|
|
|
<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 %}
|
2021-09-21 22:02:24 +00:00
|
|
|
<strong>Player {{loop.index0}}:</strong>
|
|
|
|
{% if channel %}
|
|
|
|
{% if channel.output %}
|
|
|
|
{{channel.output}}
|
|
|
|
{% else %}
|
|
|
|
Default Audio Device
|
|
|
|
{% endif %}
|
|
|
|
{% if not channel.initialised %}
|
|
|
|
<code> - <strong>ERROR:</strong> Player did not start, potentially configured sound output is missing? Check <a href="/alerts">Alerts</a>.</code>
|
|
|
|
{% endif %}
|
2021-09-02 20:28:50 +00:00
|
|
|
{% else %}
|
2021-09-21 22:02:24 +00:00
|
|
|
<code> - <strong>ERROR:</strong> Player did not respond, likely it is dead :/ Check <a href="/alerts">Alerts</a>.</code>
|
2021-09-02 20:28:50 +00:00
|
|
|
{% endif %}
|
|
|
|
<br>
|
2021-05-26 23:18:35 +00:00
|
|
|
{% endfor %}
|
2021-09-01 23:34:36 +00:00
|
|
|
<br/>
|
|
|
|
<code>
|
|
|
|
Set for:
|
2021-09-21 22:02:24 +00:00
|
|
|
{% for channel in data.channels if channel %}
|
2021-09-01 23:34:36 +00:00
|
|
|
<a href="/player/{{channel.channel}}/output/None">Player {{channel.channel}}</a> /
|
|
|
|
{% endfor %}
|
|
|
|
Default Audio Output
|
|
|
|
</code>
|
2021-04-17 20:28:57 +00:00
|
|
|
</p>
|
2021-11-02 22:48:52 +00:00
|
|
|
{% if data.sdl_direct %}
|
|
|
|
Linux (Pulse Audio)
|
|
|
|
<br>
|
|
|
|
<code>
|
|
|
|
{% for output in data.outputs %}
|
|
|
|
Set for:
|
|
|
|
{% for channel in data.channels %}
|
|
|
|
{% if not channel %}
|
|
|
|
Player {{loop.index0}}
|
|
|
|
{% elif channel.output == output %}
|
|
|
|
<strong>Player {{channel.channel}}</strong>
|
|
|
|
{% else %}
|
|
|
|
<a href="/player/{{channel.channel}}/output/{{output}}">Player {{channel.channel}}</a>
|
|
|
|
{% endif %}
|
|
|
|
/
|
|
|
|
{% endfor %}
|
|
|
|
{% if output %}{{output}}{% else %}System Default Output{% endif %}<br>
|
|
|
|
{% endfor %}
|
|
|
|
</code>
|
|
|
|
{% else %}
|
2021-04-14 12:43:58 +00:00
|
|
|
{% for host_api in data.outputs %}
|
|
|
|
{{host_api.name}}
|
|
|
|
<br>
|
|
|
|
<code>
|
|
|
|
{% for output in host_api.output_devices %}
|
2021-04-14 13:39:53 +00:00
|
|
|
{% if host_api.usable %}
|
2021-04-04 22:14:30 +00:00
|
|
|
Set for:
|
2021-04-14 12:43:58 +00:00
|
|
|
{% for channel in data.channels %}
|
2021-09-21 22:02:24 +00:00
|
|
|
{% if not channel %}
|
|
|
|
Player {{loop.index0}}
|
|
|
|
{% elif channel.output == output.name %}
|
2021-09-01 23:34:36 +00:00
|
|
|
<strong>Player {{channel.channel}}</strong>
|
2021-05-26 23:18:35 +00:00
|
|
|
{% else %}
|
2021-09-01 23:34:36 +00:00
|
|
|
<a href="/player/{{channel.channel}}/output/{{output.name}}">Player {{channel.channel}}</a>
|
2021-05-26 23:18:35 +00:00
|
|
|
{% endif %}
|
2021-09-01 23:34:36 +00:00
|
|
|
/
|
2021-04-14 12:43:58 +00:00
|
|
|
{% endfor %}
|
2021-04-14 13:39:53 +00:00
|
|
|
{% endif %}{% if output.name %}{{output.name}}{% else %}System Default Output{% endif %}<br>
|
2020-10-24 14:04:33 +00:00
|
|
|
{% endfor %}
|
2021-04-14 12:43:58 +00:00
|
|
|
</code>
|
|
|
|
{% endfor %}
|
2021-11-02 22:48:52 +00:00
|
|
|
{% endif %}
|
2020-11-05 18:59:28 +00:00
|
|
|
{% endblock %}
|