fix navidrome getPlaylistSOngList end

This commit is contained in:
Kendall Garner 2024-09-28 21:22:14 -07:00
parent 3c99a662e8
commit 6e8ca7e035
No known key found for this signature in database
GPG Key ID: 18D2767419676C87

View File

@ -337,7 +337,7 @@ export const NavidromeController: ControllerEndpoint = {
id: query.id,
},
query: {
_end: query.limit,
_end: query.startIndex + (query.limit || -1),
_order: query.sortOrder ? sortOrderMap.navidrome[query.sortOrder] : 'ASC',
_sort: query.sortBy
? songListSortMap.navidrome[query.sortBy]