Jellyfin Forum
Difference in movie/series count between web/app and API - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Difference in movie/series count between web/app and API (/t-difference-in-movie-series-count-between-web-app-and-api)

Pages: 1 2


Difference in movie/series count between web/app and API - BaconAddict - 2025-02-11

Today I installed Homepage dashboard and added the Jellyfin widget. I noticed that the total number of movies and series are reported differently in the widget than via Jellyfin webpage.

Totals:
Shows: Web = 116, Widget = 360
Movies: Web = 456, Widget = 896

Tests performed:
- The iPhone app is reporting the same as the web.
- I thought it was Homepage so I installed Heimdall and added the Jellyfin widget for that. It is reporting the same number as Homepage.
- Rescanned library.
- Rebooted Jellyfin and Homepage

1) Is the above issue known to anyone? I tried searching this forum and reddit but couldn't find anything (mostly results for incorrect metadata).
If not,
2) I suspect it is something to do with the result the API is returning. Is there an easy (I am not that technical) way I can verify this by performing an API call using open source tools (or at least free to use)?
3) What other suggestions do you have to reset Jellyfin without erasing watch history?

Jellyfin is running in a Proxmox container.


RE: Difference in movie/series count between web/app and API - TheDreadPirate - 2025-02-12

Without knowing how they are coming up with those numbers, it is hard to say which number is right or wrong.


RE: Difference in movie/series count between web/app and API - BaconAddict - 2025-02-12

Jellyfin is correct. I checked the movies and series folders on my NAS.


RE: Difference in movie/series count between web/app and API - BaconAddict - 2025-02-13

So I found the in-built swagger UI (http://<IP>:8096/api-docs/swagger/index.html) and confirmed it is the API returning incorrect results:
   


RE: Difference in movie/series count between web/app and API - 1hitsong - 2025-02-13

Let's look at just 1 number, SeriesCount for instance.

I believe the count reported by the API to be an aggregate of ALL series, across all libraries. In my case, this includes the series in my recordings library, and in a test library I have. So in web, if I click on TV Shows, I see a number that is less than what the API reports due to this.

Could this explain your situation? Do you have multiple libraries that it may be adding together?


RE: Difference in movie/series count between web/app and API - TheDreadPirate - 2025-02-13

Can you show me where you are seeing your "Web" numbers (116 shows and 456 movies). The endpoint you used in your most recent post matches what I'm seeing in the Reports plugin on my server.


RE: Difference in movie/series count between web/app and API - BaconAddict - 2025-02-13

(2025-02-13, 01:55 PM)1hitsong Wrote: Let's look at just 1 number, SeriesCount for instance.

I believe the count reported by the API to be an aggregate of ALL series, across all libraries. In my case, this includes the series in my recordings library, and in a test library I have. So in web, if I click on TV Shows, I see a number that is less than what the API reports due to this.

Could this explain your situation? Do you have multiple libraries that it may be adding together?

I have 3 libraries:
   
If I add up both Shows and Anime (as they are both the same content type) I get Series total of 173 and an episode count of 3250.


(2025-02-13, 02:37 PM)TheDreadPirate Wrote: Can you show me where you are seeing your "Web" numbers (116 shows and 456 movies).  The endpoint you used in your most recent post matches what I'm seeing in the Reports plugin on my server.

Here is the homepage widget:
   

These are from the iPhone app
           

EDIT: I installed the reports plugin you mentioned, and that reports the correct numbers:
   


RE: Difference in movie/series count between web/app and API - TheDreadPirate - 2025-02-13

What Jellyfin version are you running? Can you install the Reports plugin and confirm what it shows for your series/episode/movie counts?


RE: Difference in movie/series count between web/app and API - BaconAddict - 2025-02-13

Web version: 10.10.5 (e8e4ff0ca)


RE: Difference in movie/series count between web/app and API - TheDreadPirate - 2025-02-13

I'm assuming the server version is the same. Can you install the Reports plugin and see what it says the counts are?