RTube - Watch History

# Watch History

{% if history_data %}
{% endif %}
{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %}
{% for category, message in messages %}
{{ message }}
{% endfor %}
{% endif %} {% endwith %} {% if history_data %}
{% for item in history_data %}
{% if item.video.thumbnail %} {% else %}
No thumbnail
{% endif %}
{{ item.video.title or item.video.filename }} {% if item.entry.progress_percent() > 0 and item.entry.progress_percent() < 90 %} Resume {% endif %}
{{ item.video.owner_username or 'Unknown' }} {{ item.video.view_count }} views
{% if item.entry.duration %} {{ (item.entry.position / 60)|int }}:{{ '%02d' % (item.entry.position % 60)|int }} / {{ (item.entry.duration / 60)|int }}:{{ '%02d' % (item.entry.duration % 60)|int }} ({{ item.entry.progress_percent() }}%) {% else %} Watched {{ item.entry.watched_at.strftime('%Y-%m-%d %H:%M') }} {% endif %}
{% endfor %}
{% else %}

## No watch history yet

Videos you watch will appear here.

{% endif %}