Fix jellyfin album song order (#192)
This commit is contained in:
parent
c8663db4ba
commit
ff68de8c09
2 changed files with 2 additions and 1 deletions
|
@ -256,7 +256,7 @@ const getAlbumDetail = async (args: AlbumDetailArgs): Promise<AlbumDetailRespons
|
||||||
Fields: 'Genres, DateCreated, MediaSources, ParentId',
|
Fields: 'Genres, DateCreated, MediaSources, ParentId',
|
||||||
IncludeItemTypes: 'Audio',
|
IncludeItemTypes: 'Audio',
|
||||||
ParentId: query.id,
|
ParentId: query.id,
|
||||||
SortBy: 'Album,SortName',
|
SortBy: 'ParentIndexNumber,IndexNumber,SortName',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -529,6 +529,7 @@ const similarArtistListParameters = baseParameters.extend({
|
||||||
const songListSort = {
|
const songListSort = {
|
||||||
ALBUM: 'Album,SortName',
|
ALBUM: 'Album,SortName',
|
||||||
ALBUM_ARTIST: 'AlbumArtist,Album,SortName',
|
ALBUM_ARTIST: 'AlbumArtist,Album,SortName',
|
||||||
|
ALBUM_DETAIL: 'ParentIndexNumber,IndexNumber,SortName',
|
||||||
ARTIST: 'Artist,Album,SortName',
|
ARTIST: 'Artist,Album,SortName',
|
||||||
COMMUNITY_RATING: 'CommunityRating,SortName',
|
COMMUNITY_RATING: 'CommunityRating,SortName',
|
||||||
DURATION: 'Runtime,AlbumArtist,Album,SortName',
|
DURATION: 'Runtime,AlbumArtist,Album,SortName',
|
||||||
|
|
Reference in a new issue