Use startIndex in Jellyfin getPlaylistSongList (#449)

This commit is contained in:
SlyFabi 2024-01-22 04:46:34 +01:00 committed by GitHub
parent 2095ff6ab9
commit dcccccea2f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -538,7 +538,7 @@ const getPlaylistSongList = async (args: PlaylistSongListArgs): Promise<SongList
Limit: query.limit, Limit: query.limit,
SortBy: query.sortBy ? songListSortMap.jellyfin[query.sortBy] : undefined, SortBy: query.sortBy ? songListSortMap.jellyfin[query.sortBy] : undefined,
SortOrder: query.sortOrder ? sortOrderMap.jellyfin[query.sortOrder] : undefined, SortOrder: query.sortOrder ? sortOrderMap.jellyfin[query.sortOrder] : undefined,
StartIndex: 0, StartIndex: query.startIndex,
UserId: apiClientProps.server?.userId, UserId: apiClientProps.server?.userId,
}, },
}); });