{% if mpd_status["state"] == "play" %} {% if mpd_song["artist"] and mpd_song["title"] %}
{{ mpd_song["artist"] }}{{ mpd_song["title"] }}
{% elif mpd_song["title"] %}
{{ mpd_song["title"] }}
{% elif mpd_song["artist"] %}
{{ mpd_song["artist"] }}
{% else %}
Unknown music, fix your metadata!
{% endif %} {% endif %}

Messages

{% for m in messages %}
- {{ m.sender }}: {{ m.msg }}
{% endfor %}