kjhedges 67 Posted yesterday at 10:33 AM Posted yesterday at 10:33 AM 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.
visproduction 336 Posted 18 hours ago Posted 18 hours ago Are the play counts grabbing multiple sequential media requests, so it counts a play for every 7 second media download?
kjhedges 67 Posted 1 hour ago Author Posted 1 hour ago 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.
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