From 301440909bf544b92ffa6533c5a4eb6118ea195b Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Wed, 27 May 2026 14:26:44 -0400 Subject: [PATCH] [calendar] Exclude locations from count --- vrobbler/apps/scrobbles/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/vrobbler/apps/scrobbles/views.py b/vrobbler/apps/scrobbles/views.py index 4b6b593..f8955c2 100644 --- a/vrobbler/apps/scrobbles/views.py +++ b/vrobbler/apps/scrobbles/views.py @@ -1376,6 +1376,7 @@ class ScrobbleCalendarView(LoginRequiredMixin, TemplateView): timestamp__date__gte=month_start, timestamp__date__lte=month_end, ) + .exclude(media_type="GeoLocation") .annotate(local_date=TruncDate("timestamp", tzinfo=timezone.get_current_timezone())) .values("local_date") .annotate(count=Count("id"))