From 933573b57fda9aaba2c7d57332cbe3203fe20262 Mon Sep 17 00:00:00 2001 From: lymnyx <58519597+lymnyx@users.noreply.github.com> Date: Sat, 3 Feb 2024 21:21:15 +0000 Subject: [PATCH] Order artist's Top Songs by play count (#410). (#487) --- src/renderer/api/jellyfin/jellyfin-controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/api/jellyfin/jellyfin-controller.ts b/src/renderer/api/jellyfin/jellyfin-controller.ts index d1c9faff4..9da604fd0 100644 --- a/src/renderer/api/jellyfin/jellyfin-controller.ts +++ b/src/renderer/api/jellyfin/jellyfin-controller.ts @@ -374,7 +374,7 @@ const getTopSongList = async (args: TopSongListArgs): Promise IncludeItemTypes: 'Audio', Limit: query.limit, Recursive: true, - SortBy: 'CommunityRating,SortName', + SortBy: 'PlayCount,SortName', SortOrder: 'Descending', UserId: apiClientProps.server?.userId, },