UPDATE track/artist display in StatView

This commit is contained in:
dylandefaoite
2025-08-21 16:06:58 +02:00
parent 710d17a265
commit dddcc63674
3 changed files with 59 additions and 11 deletions

View File

@@ -39,7 +39,7 @@ const getListenedArtists = (streams: stream[], startDate: string, endDate: strin
const artistMap: Record<string, stream> = {};
streams.forEach(stream => {
if (stream.ts < startDate || stream.ts > endDate) {
if (stream.ts < startDate || stream.ts > endDate || !stream.master_metadata_album_artist_name) {
return; // Skip streams outside the date range
}