JohnMason1 2 Posted April 14 Posted April 14 I use the Homepage dashboard. One of its widgets uses Emby's API to display counts for Movies, TV shows etc. It appears that Emby's API reports the number of movie files as the number of movies. This is incorrect; it should report the movie count as shown on the web/app UI. If one has multiple versions for a lot of movies (most common reason is having a 4K and an HD version as separate files), Emby's API reports each one of these as two movies instead of one, making the movie/TV show/episode count the API reports completely wrong. Could there be a fix for this please?
Luke 39648 Posted April 14 Posted April 14 HI there, can you please provide a specific example? How to Report a Problem Thanks !
JohnMason1 2 Posted April 14 Author Posted April 14 Hi @Luke, yes I should have provided more details. Here is my movie count: And here is what the API reports to Homepage: Similarly for TV shows, and the total episode count. Every time I add two movie files that are different versions of the same movie, the movie count inside Emby goes up by one (as it should), but the API movie count goes up by two. Here is what I believe is the relevant Homepage code showing they are just getting the movie etc count numbers from the Emby API without any further processing (indicating that the counts are wrong from Emby).
Luke 39648 Posted April 15 Posted April 15 The total that you see next to the play button is just for one library. What homepage is getting is for all libraries.
JohnMason1 2 Posted April 15 Author Posted April 15 Yes you are right, I have more movie libraries. However, the count is still wrong, as it does count multiple versions as separate movies.
Luke 39648 Posted April 15 Posted April 15 15 hours ago, JohnMason1 said: Yes you are right, I have more movie libraries. However, the count is still wrong, as it does count multiple versions as separate movies. I don't believe this is true. I think it does accurately handle multiple versions. Can you please provide an example of why you think this isn't the case?
JohnMason1 2 Posted 23 hours ago Author Posted 23 hours ago On 16/04/2025 at 00:11, Luke said: Can you please provide an example of why you think this isn't the case? The first reason is because when I add up all the movies from all the 'movie'-type libraries I have the total is less than what the API reports to Homepage. The second reason is that I can see it happening live: if I add a new movie that has two versions (HD and 4K, adding both files to the directory before rescanning the library), the movie count reported to Homepage by the API goes up by two.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now