Fix jellyfin album song order (#192)

This commit is contained in:
jeffvli 2023-08-04 13:26:33 -07:00
parent c8663db4ba
commit ff68de8c09
2 changed files with 2 additions and 1 deletions

View File

@ -256,7 +256,7 @@ const getAlbumDetail = async (args: AlbumDetailArgs): Promise<AlbumDetailRespons
Fields: 'Genres, DateCreated, MediaSources, ParentId',
IncludeItemTypes: 'Audio',
ParentId: query.id,
SortBy: 'Album,SortName',
SortBy: 'ParentIndexNumber,IndexNumber,SortName',
},
});

View File

@ -529,6 +529,7 @@ const similarArtistListParameters = baseParameters.extend({
const songListSort = {
ALBUM: 'Album,SortName',
ALBUM_ARTIST: 'AlbumArtist,Album,SortName',
ALBUM_DETAIL: 'ParentIndexNumber,IndexNumber,SortName',
ARTIST: 'Artist,Album,SortName',
COMMUNITY_RATING: 'CommunityRating,SortName',
DURATION: 'Runtime,AlbumArtist,Album,SortName',