From f8c2ff735b2284ed7073ff442ee8f29fb431f30b Mon Sep 17 00:00:00 2001 From: jeffvli Date: Thu, 19 Sep 2024 20:39:47 -0700 Subject: [PATCH] Replace "SortName" for "Name" in Jellyfin song sort --- src/renderer/api/jellyfin.types.ts | 2 +- src/renderer/api/jellyfin/jellyfin-types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/api/jellyfin.types.ts b/src/renderer/api/jellyfin.types.ts index dae3f8d3d..f22febbaa 100644 --- a/src/renderer/api/jellyfin.types.ts +++ b/src/renderer/api/jellyfin.types.ts @@ -574,7 +574,7 @@ export enum JFSongListSort { ARTIST = 'Artist,Album,SortName', COMMUNITY_RATING = 'CommunityRating,SortName', DURATION = 'Runtime,AlbumArtist,Album,SortName', - NAME = 'SortName,Name', + NAME = 'Name', PLAY_COUNT = 'PlayCount,SortName', RANDOM = 'Random,SortName', RECENTLY_ADDED = 'DateCreated,SortName', diff --git a/src/renderer/api/jellyfin/jellyfin-types.ts b/src/renderer/api/jellyfin/jellyfin-types.ts index 97b13de03..70b402a56 100644 --- a/src/renderer/api/jellyfin/jellyfin-types.ts +++ b/src/renderer/api/jellyfin/jellyfin-types.ts @@ -545,7 +545,7 @@ const songListSort = { ARTIST: 'Artist,Album,SortName', COMMUNITY_RATING: 'CommunityRating,SortName', DURATION: 'Runtime,AlbumArtist,Album,SortName', - NAME: 'SortName,Name', + NAME: 'Name', PLAY_COUNT: 'PlayCount,SortName', RANDOM: 'Random,SortName', RECENTLY_ADDED: 'DateCreated,SortName',