瀏覽代碼

Fix Now playing widget

Colin Powell 2 年之前
父節點
當前提交
1f26931215
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      vrobbler/apps/scrobbles/views.py

+ 0 - 3
vrobbler/apps/scrobbles/views.py

@@ -56,12 +56,9 @@ class RecentScrobbleList(ListView):
     def get_context_data(self, **kwargs):
         data = super().get_context_data(**kwargs)
         now = timezone.now()
-        last_eight_minutes = timezone.now() - timedelta(minutes=8)
-        # Find scrobbles from the last 10 minutes
         data['now_playing_list'] = Scrobble.objects.filter(
             in_progress=True,
             is_paused=False,
-            modified__gte=last_eight_minutes,
             timestamp__lte=now,
         )
         data['video_scrobble_list'] = Scrobble.objects.filter(