mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
handle limit -1 for jellyfin genres
This commit is contained in:
@@ -397,7 +397,7 @@ export const JellyfinController: InternalControllerEndpoint = {
|
|||||||
query: {
|
query: {
|
||||||
EnableTotalRecordCount: true,
|
EnableTotalRecordCount: true,
|
||||||
Fields: 'ItemCounts',
|
Fields: 'ItemCounts',
|
||||||
Limit: query.limit,
|
Limit: query.limit === -1 ? undefined : query.limit,
|
||||||
ParentId: getMusicFolderId(query.musicFolderId),
|
ParentId: getMusicFolderId(query.musicFolderId),
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
SearchTerm: query?.searchTerm,
|
SearchTerm: query?.searchTerm,
|
||||||
|
|||||||
Reference in New Issue
Block a user