2020-10-24 02:13:02 +00:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
{% block head %}
|
|
|
|
<meta http-equiv="refresh" content="2;url=/status" />
|
|
|
|
{% endblock %}
|
2020-10-24 14:04:33 +00:00
|
|
|
{% block content_inner %}
|
|
|
|
{% if data %}
|
|
|
|
<code>
|
|
|
|
{% for player in data.channels %}
|
|
|
|
<a href="/player/{{player.channel}}/play">Play</a>
|
2020-10-30 19:31:18 +00:00
|
|
|
{% if player.paused %}
|
|
|
|
<a href="/player/{{player.channel}}/unpause">UnPause</a>
|
|
|
|
{% else %}
|
|
|
|
<a href="/player/{{player.channel}}/pause">Pause</a>
|
|
|
|
{% endif %}
|
2020-10-24 14:04:33 +00:00
|
|
|
<a href="/player/{{player.channel}}/stop">Stop</a>
|
|
|
|
<a href="/player/{{player.channel}}/seek/50">Seek 50</a>
|
|
|
|
{{player}}<br>
|
|
|
|
{% endfor %}
|
|
|
|
</code>
|
|
|
|
{% endif %}
|
2020-10-24 02:13:02 +00:00
|
|
|
{% endblock %}
|