846 B
846 B
{% include 'header.ascii' %}
API [/api/v1]
───────────────────────────────────────────────
CURRENTLY PLAYING
───────────────────
{% if track.error %}
Error: {{ track.error }}
{% else %}
{% if track.ascii_art %}
{{ track.ascii_art }}
{% endif %}
Song: {{ track.song_name }}
Artist: {{ track.artist }}
Album: {{ track.album_name }}
URL: {{ track.url }}
Progress: {{ track.progress_ms // 60000 }}:{{ '%02d' % ((track.progress_ms // 1000) % 60) }} / {{ track.duration_ms // 60000 }}:{{ '%02d' % ((track.duration_ms // 1000) % 60) }}
Status: {{ 'Playing' if track.is_playing else 'Paused' }}
Note: Specify width with ?width=80 (default 40)
{% endif %}
API [/api/v1]
───────────────────────────────────────────────
CURRENTLY PLAYING
───────────────────
{% if track.error %}
Error: {{ track.error }}
{% else %}
{% if track.ascii_art %}
{{ track.ascii_art }}
{% endif %}
Song: {{ track.song_name }}
Artist: {{ track.artist }}
Album: {{ track.album_name }}
URL: {{ track.url }}
Progress: {{ track.progress_ms // 60000 }}:{{ '%02d' % ((track.progress_ms // 1000) % 60) }} / {{ track.duration_ms // 60000 }}:{{ '%02d' % ((track.duration_ms // 1000) % 60) }}
Status: {{ 'Playing' if track.is_playing else 'Paused' }}
Note: Specify width with ?width=80 (default 40)
{% endif %}