Jellyfin integration incorrect values for media count #6407
Replies: 4 comments 2 replies
-
|
Hello. Those are not the actual troubleshooting steps form the support template, please do those and post the output. In particular the api output would likely be helpful here since of course homepage isn’t making the numbers up and the basic logic hasn’t changed in ages |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Adding to this thread since I ran into the same issue and did some deeper investigation that might be useful. I'm aware the maintainer @shamoon already linked jellyfin/jellyfin#13970, and I agree the root cause is on the Jellyfin side. However, since that issue has been open for a while with no fix in sight, I'd like to propose a workaround that could be implemented on the Homepage side. The issueThe Jellyfin widget displays incorrect statistics when using an admin API key — it shows aggregated counts across all users instead of the counts for a specific user/library. This is because the API sums up the counts across all accounts on the server, resulting in heavily inflated numbers.
Investigation stepsTo confirm the root cause, I did the following: 1. Verified there were no duplicate libraries in Jellyfin — all libraries were unique and correct. 2. Called the API directly to check what Homepage was actually receiving: This returned the same inflated numbers shown in the widget, confirming the issue is in the API response itself. 3. Retrieved the list of users to get the correct This returns all users — the 4. Called the API with a specific This returned the correct numbers, matching what Jellyfin shows in its own dashboard. 5. Checked the Homepage widget source code and found the endpoint is hardcoded without any user filter: Count: {
endpoint: "emby/Items/Counts?api_key={key}",
},There is no way to pass a Proposed workaround (Homepage side)Since the Jellyfin API does return correct numbers when a Proposed widget config: widget:
type: jellyfin
url: http://your-nas:8096
key: YOUR_API_KEY
userId: YOUR_USER_ID # optionalThe and looking at the Tested on Jellyfin 10.11.11 and Homepage latest.
|
Beta Was this translation helpful? Give feedback.
-
|
I'm curious, typically API keys are associated with a user. Are you able to generate a key for the presumably non admin user and configure that key for the Jellyfin widget? |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Description
Currently on v1.10.1 for Homepage with Jellyfin integration, I don't get the correct values reported by Jellyfin.
Here are the actual numbers for my media:

Here are the values reported by homepage:

homepage version
v1.10.1
Installation method
Docker
Configuration
Container Logs
No response
Browser Logs
No response
Troubleshooting
Restarting the service, clearing browser cache, looking for similar issues to potentially resolve this issue.
Beta Was this translation helpful? Give feedback.
All reactions