{% if encodes|length == 0 %} There is currently no encode running. {% else %}

You have currently {{ encodes|length }} encodes running.
Run %reattach [ID] to view the output of a specific encode.

{% for encode in encodes %} {% set value = (encode.current|float) / encode.length * 100 %} {% endfor %}
ID Command Progress
{{ encode.id }}
{{ encode.command|e }}
{{ encode.current }} of {{ encode.length }}
{% endif %}