From 377fa5832044dcc6ab0b079624215bbb1cd170a3 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Sun, 27 Nov 2022 23:41:53 +0100 Subject: [PATCH] Reduce number of recently played music displayed --- Pages/NowPlaying.cshtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Pages/NowPlaying.cshtml b/Pages/NowPlaying.cshtml index 95a7195..2b3fd36 100644 --- a/Pages/NowPlaying.cshtml +++ b/Pages/NowPlaying.cshtml @@ -5,7 +5,7 @@ @{ ViewData["title"] = "now playing"; var db = new Database.DbConn(); - var albums = db.AlbumHistory.OrderByDescending(p => p.DateTime).Take(50); + var albums = db.AlbumHistory.OrderByDescending(p => p.DateTime).Take(30); }

Here you can see what kind of music I've been listening to lately. This table is updated every couple minutes from multiple data sources.

@@ -25,4 +25,4 @@ } - \ No newline at end of file +