diff --git a/vrobbler/apps/scrobbles/views.py b/vrobbler/apps/scrobbles/views.py index 35102c7..9500971 100644 --- a/vrobbler/apps/scrobbles/views.py +++ b/vrobbler/apps/scrobbles/views.py @@ -791,6 +791,7 @@ class ScrobbleStatusView(LoginRequiredMixin, TemplateView): data["participating"] = progress_plays.filter( life_event__isnull=False ).first() + data["working"] = progress_plays.filter(task__isnull=False).first() long_plays = user_scrobble_qs.filter( long_play_complete=False, played_to_completion=True diff --git a/vrobbler/templates/scrobbles/status.html b/vrobbler/templates/scrobbles/status.html index c2555b6..73794d8 100644 --- a/vrobbler/templates/scrobbles/status.html +++ b/vrobbler/templates/scrobbles/status.html @@ -149,5 +149,20 @@ {% endif %} +
+

Working

+
+ {% if working %} +
+

{{working.media_obj}}

+ {% if working.media_obj.subtitle %}

{{working.media_obj.subtitle}}

{% endif %} +
+

{{working.timestamp|naturaltime}} from {{working.source}}

+ {% else %} +
+

Nothing

+
+ {% endif %} +