Minor fixes
This commit is contained in:
parent
479c952766
commit
1855f515a6
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ class Player():
|
|||
state = None
|
||||
running = False
|
||||
out_q = None
|
||||
last_msg = None
|
||||
last_msg = ""
|
||||
logger = None
|
||||
|
||||
__default_state = {
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<br>
|
||||
<label for="file">{{ player.pos_true | int }} / {{ player.length | int }}s ({{ player.remaining | int }}s)</label>
|
||||
<br>
|
||||
<progress id="file" value="{{player.pos_true / player.length * 100}}" max="100" style="width: 100%"></progress>
|
||||
<progress id="file" value="{% if player.length > 0 %}{{player.pos_true / player.length * 100}}{% else %}0{% endif %}" max="100" style="width: 100%"></progress>
|
||||
|
||||
<hr />
|
||||
<h4 class="h6">Loaded Item</h3>
|
||||
|
|
Loading…
Reference in a new issue