Jump to content

Media Playcount Inaccuracy


Recommended Posts

Posted

I am currently in the process of creating myself a js script for discord notifications. I created a Trending channel and it gathers info and posts to relevant channel.
my issue is that Monk appears to show 19604 plays from 1 user.  This is not correct i know for sure.
Is this a common issue, which would then render my script for trending pointless.

Untitled.thumb.png.165cac82dcddeb6de026fa941f6f619c.png
 

visproduction
Posted

Are the play counts grabbing multiple sequential media requests, so it counts a play for every 7 second media download?

Posted

HI, where did the data come from?

kjhedges
Posted

I am grabbing the data from the server. I then store some data in an sqlite db to save on pings to the server. The Trending section is run once a day and all information for that comes from the server on request.

I setup a server query in js to collect the information from the server. I collect varied data for relevant discord channels, Emby Auth, Now Playing, New Content, Trending on Emby and Recommendations.
With the Episode/Series trending section, I use UserDataPlayCount with UserDataLastPlayedDate for all users. I set it to display items played within last month, but the total plays it total.

Prior to this I did just have it set for PlayCount. Which showed the top 5 Series trending and the top 5 Movies trending. (This also showed Monk as 19604 plays)

As you can see with the movies, with similar code that appears to be working correctly.

To me, it just appears that The Series of Monk has wrong information on playcount. 

Untitled.thumb.png.93ed745c5c9ec7163642dbbeaea37c61.png

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...