diff --git a/server/api/jellyfin.ts b/server/api/jellyfin.ts index d8c493d0..103fdcfb 100644 --- a/server/api/jellyfin.ts +++ b/server/api/jellyfin.ts @@ -199,10 +199,10 @@ class JellyfinAPI { public async getRecentlyAdded(id: string): Promise { try { const contents = await this.axios.get( - `/Users/${this.userId}/Items/Latest?Limit=50&ParentId=${id}` + `/Users/${this.userId}/Items/Latest?Limit=12&ParentId=${id}` ); - return contents.data.Items; + return contents.data; } catch (e) { logger.error( `Something went wrong while getting library content from the Jellyfin server: ${e.message}`,