d00zah 129 Posted March 30, 2018 Share Posted March 30, 2018 Tried again & see something, but can't tell if it's you: 2018-03-30 15:19:40.923 Info TaskManager: Executing Calculate statistics for all users2018-03-30 15:19:40.923 Info HttpServer: HTTP Response 204 to ::1. Time: 3ms. http://localhost:8096/emby/ScheduledTasks/Running/d459f39d7abb81f5fcce03048a7ecf4d2018-03-30 15:19:40.934 Info HttpClient: GET https://thetvdb.com/api/Updates.php?type=all&time=15224360252018-03-30 15:19:41.122 Info HttpServer: HTTP GET http://localhost:8096/emby/ScheduledTasks?isHidden=false. UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 2018-03-30 15:19:41.123 Info HttpServer: HTTP Response 200 to ::1. Time: 1ms. http://localhost:8096/emby/ScheduledTasks?isHidden=false2018-03-30 15:19:41.397 Info HttpClient: GET https://thetvdb.com/api/Updates.php?type=none2018-03-30 15:19:52.935 Info TaskManager: Calculate statistics for all users Completed after 0 minute(s) and 12 seconds2018-03-30 15:19:52.936 Info ServerManager: Sending web socket message ScheduledTaskEnded2018-03-30 15:19:52.936 Info TaskManager: ExecuteQueuedTasks2018-03-30 15:19:55.210 Info HttpServer: HTTP GET http://localhost:8096/emby/Users/d1f5dee31b93373e09413f0cc83d48f9. UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 2018-03-30 15:19:55.211 Info HttpServer: HTTP Response 200 to ::1. Time: 1ms. http://localhost:8096/emby/Users/d1f5dee31b93373e09413f0cc83d48f92018-03-30 15:19:55.318 Info HttpServer: HTTP GET http://localhost:8096/emby/Plugins/291d866f-baad-464a-aed6-a4a8b95a8fd7/Configuration. UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 2018-03-30 15:19:55.322 Info HttpServer: HTTP Response 200 to ::1. Time: 5ms. http://localhost:8096/emby/Plugins/291d866f-baad-464a-aed6-a4a8b95a8fd7/Configuration2018-03-30 15:19:55.421 Info HttpServer: HTTP GET http://localhost:8096/Items//Images/Primary. UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.02018-03-30 15:19:55.421 Error HttpServer: Could not find handler for /Items//Images/Primary2018-03-30 15:19:55.421 Info HttpServer: HTTP Response 404 to ::1. Time: 0ms. Link to comment Share on other sites More sharing options...
reggi 409 Posted March 30, 2018 Author Share Posted March 30, 2018 No that's something else. Normally you should see something like this in the logs now: youngest name: {youngest.Series?.Name} youngest AiredSeasonNumber: {youngest.AiredSeasonNumber} youngest IndexNumber: {youngest.IndexNumber} Still, I'll have to search why you don't see them in the logs. Link to comment Share on other sites More sharing options...
d00zah 129 Posted March 30, 2018 Share Posted March 30, 2018 No that's something else. Normally you should see something like this in the logs now: youngest name: {youngest.Series?.Name} youngest AiredSeasonNumber: {youngest.AiredSeasonNumber} youngest IndexNumber: {youngest.IndexNumber} Still, I'll have to search why you don't see them in the logs. Do I need to enable debug logging in the server cfg? Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted March 31, 2018 Share Posted March 31, 2018 (edited) Morning @@reggi hope you are well I updated to 4.2 and lost my Newest Added Movie and Newest Added Episode Both were there before the update (nothing added to server in meantime) - so series cant be "null" Also i also see Studio's have a count of 0 as reported above Tried 4.4 no change Unfortunately the changes from 4.1 -> 4.2-4.4 were a retrograde step for me Edited March 31, 2018 by PenkethBoy Link to comment Share on other sites More sharing options...
Happy2Play 8351 Posted March 31, 2018 Share Posted March 31, 2018 Newest added Movies and TV say "NO DATA FOUND!" now. Link to comment Share on other sites More sharing options...
reggi 409 Posted April 1, 2018 Author Share Posted April 1, 2018 mm, look slike I'm having the same problem with the logs now. I'll have a look after the weekend. @Happy2Play No idea why your newest added movie is empty as well now. Didn't change anything there. Link to comment Share on other sites More sharing options...
GhostRider 46 Posted April 1, 2018 Share Posted April 1, 2018 (edited) Hi Just tried the Statistic's plugin. Using version 2.0.4.2 on Emby Server 3.3.1.0 on Windows 10. I noticed a few problems: In Media Qualities Unknown is spelt wrong: unkown. There is no apostrophe in Studio's should be Studios Total Studios count is 0 for both TV and movies Newest Added Episode says NO DATA FOUND! Newest Added Movie says NO DATA FOUND! If click on View Movie list (text based) then click on one of the links to a movie it logs me out Media Qualities, not sure this is plural maybe should read media resolution as this is the only quality reported Hope there is a quick fix for these as the media quality stats are very useful. Edited April 1, 2018 by GhostRider Link to comment Share on other sites More sharing options...
Happy2Play 8351 Posted April 1, 2018 Share Posted April 1, 2018 (edited) Hi Just tried the Statistic's plugin. Using version 2.0.4.2 on Emby Server 3.3.1.0 on Windows 10. I noticed a few problems: In Media Qualities Unknown is spelt wrong: unkown. There is no apostrophe in Studio's should be Studios Total Studios count is 0 for both TV and movies Newest Added Episode says NO DATA FOUND! Newest Added Movie says NO DATA FOUND! If click on View Movie list (text based) then click on one of the links to a movie it logs me out Media Qualities, not sure this is plural maybe should read media resolution as this is the only quality reported Hope there is a quick fix for these as the media quality stats are very useful. I see all these also on beta server except #6, text links work for me. (no errors in log) looks like some columns alignment needs a little help also Edited April 1, 2018 by Happy2Play Link to comment Share on other sites More sharing options...
chjohans 32 Posted April 1, 2018 Share Posted April 1, 2018 I also have "NO DATA FOUND" for "Newest added movie" and also for the "Newest Added Episode". "Total Studio's" is 0 for both Movie and Show statistics, I'm sure that is wrong as well. It is also listing data from the BlurN plugin with my movies, so it is listing movies that BlurN says is released on BluRay, but those are NOT movies that I have in my library. I agree that this is a very useful plugin, but only if the data it produces is correct. Link to comment Share on other sites More sharing options...
GhostRider 46 Posted April 2, 2018 Share Posted April 2, 2018 (edited) A more tricky bug. I have a TV series that has some seasons on one disk and the remainder on a second disk. Emby correctly lists all the seasons/episodes under one TV series but I think the Stats plugin is not doing this: I have the full set of seasons and episodes and have watched all of them so it should show 67 out of 67 watched and be green for a complete collection. Edited April 2, 2018 by GhostRider Link to comment Share on other sites More sharing options...
reggi 409 Posted April 3, 2018 Author Share Posted April 3, 2018 (edited) At this moment the plugin itself is not my main project anymore. I'm building on a completely separate statistic plugin so I can implement more features in the future, include graphs and tables easily, get real-time user statistics, ... But this is still in a pre-alpha phase really. Soon I will have a first version ready for testing. When that happens this plugin will be deprecated. @GhostRider That's a tricky one indeed to debug. I'll see what I can do about it. I'll look at your other list of bugs as well soon. @@chjohans I will have a look at the BlurN plugin and how I can track those movies in the database. Edited April 3, 2018 by reggi 3 Link to comment Share on other sites More sharing options...
GhostRider 46 Posted April 4, 2018 Share Posted April 4, 2018 @@reggi, Thanks for the update. I am happy for you to make the new plugin a priority. I can live with the bugs in the current one and would sooner you spend time on the new version and not delay it by fixing the current one. 2 Link to comment Share on other sites More sharing options...
chjohans 32 Posted April 8, 2018 Share Posted April 8, 2018 Thanks reggi, your work on this is much appreciated! Link to comment Share on other sites More sharing options...
psybertech 33 Posted April 16, 2018 Share Posted April 16, 2018 Just a quick question... Love the plugin so far by the way! OK... I have a remote user that I share a library with. Does the stats show if he downloaded a movie/episode? I read that maybe it would show as 'watched', but this one user has no stats. I haven't asked him since I don't want him to think I am spying on him, which I am not really, but I would like to know if he is using it or its just a waste of time on my end to have set this up in the first place. Thanks! J Link to comment Share on other sites More sharing options...
Diedrich 355 Posted April 16, 2018 Share Posted April 16, 2018 Just a quick question... Love the plugin so far by the way! OK... I have a remote user that I share a library with. Does the stats show if he downloaded a movie/episode? I read that maybe it would show as 'watched', but this one user has no stats. I haven't asked him since I don't want him to think I am spying on him, which I am not really, but I would like to know if he is using it or its just a waste of time on my end to have set this up in the first place. Thanks! J I have a user who does exactly that - he only downloads. The only way to get it to record is if he checks Watched. So: check Watched, then download. Link to comment Share on other sites More sharing options...
psybertech 33 Posted April 16, 2018 Share Posted April 16, 2018 I have a user who does exactly that - he only downloads. The only way to get it to record is if he checks Watched. So: check Watched, then download.Interesting and good to know. I'll ask him to make an attempt to do that. It would be great for a separate stat to show downloads as its own though. But good to know there is a workaround. Thanks! j 1 Link to comment Share on other sites More sharing options...
reggi 409 Posted April 16, 2018 Author Share Posted April 16, 2018 @psybertech At this moment this is indeed the only solution to see when the user has downloaded something. In the standalone stat server I will look into the download event and maybe be able to log download stats from every user. But there is still a lot of work to be done before I implement that feature. 1 Link to comment Share on other sites More sharing options...
psybertech 33 Posted April 19, 2018 Share Posted April 19, 2018 @psybertech At this moment this is indeed the only solution to see when the user has downloaded something. In the standalone stat server I will look into the download event and maybe be able to log download stats from every user. But there is still a lot of work to be done before I implement that feature. Thanks! Link to comment Share on other sites More sharing options...
trusselo 220 Posted April 30, 2018 Share Posted April 30, 2018 #1 Love the Plugin. Thank you for your work. #2 I would love to see show statistics not just per user but for all users as well. I would like to easily see if NOBODY is watching a show.... so i can delete it. right now i have to look at each show to see if it is red or blank for each user. 2 Link to comment Share on other sites More sharing options...
reggi 409 Posted April 30, 2018 Author Share Posted April 30, 2018 @@trusselo Glad to hear you hare happy with the plugin! As of today I will not update the plugin anymore because I'm working on a full standalone statistics server (https://emby.media/community/index.php?/topic/56640-developing-a-standalone-embystat-server/). I do like your idea and created a GitHub issue for this. So in the future your #2 will be implemented in EmbyStat. 1 Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted May 3, 2018 Share Posted May 3, 2018 @@reggi stats plugin does not work on new stable server - 3.4.0.0 2018-05-03 10:13:49.831 Info TaskManager: Executing Calculate statistics for all users 2018-05-03 10:13:49.831 Info HttpServer: HTTP Response 204 to 192.168.1.56. Time: 3ms. http://192.168.1.81:8096/emby/ScheduledTasks/Running/d459f39d7abb81f5fcce03048a7ecf4d 2018-05-03 10:13:49.834 Info HttpServer: HTTP GET http://192.168.1.81:8096/emby/ScheduledTasks?isHidden=false. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36 2018-05-03 10:13:49.835 Info HttpServer: HTTP Response 200 to 192.168.1.56. Time: 1ms. http://192.168.1.81:8096/emby/ScheduledTasks?isHidden=false 2018-05-03 10:13:50.109 Info HttpClient: GET https://thetvdb.com/api/Updates.php?type=all&time=1525247567 2018-05-03 10:13:55.887 Error TaskManager: Error *** Error Report *** Version: 3.4.0.0 Command line: D:\Emby-Stable\system\EmbyServer.dll D:\Emby-Stable\system\EmbyServer.dll D:\Emby-Stable\system\EmbyServer.dll D:\Emby-Stable\system\EmbyServer.dll -noautorunwebapp Operating system: Microsoft Windows NT 6.2.9200.0 64-Bit OS: True 64-Bit Process: True User Interactive: True Processor count: 8 Program data path: D:\Emby-Stable Application directory: D:\Emby-Stable\system System.ArgumentNullException: Value cannot be null. Parameter name: source at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at Statistics.ScheduledTasks.CalculateStatsTask.UpdateTvdbConnection(ShowProgressCalculator calculator, String time, IEnumerable`1 seriesIdsInLibrary, CancellationToken cancellationToken) at Statistics.ScheduledTasks.CalculateStatsTask.CalculateTotalEpisodes(CancellationToken cancellationToken) at Statistics.ScheduledTasks.CalculateStatsTask.<MediaBrowser-Model-Tasks-IScheduledTask-Execute>d__20.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__68.MoveNext() System.ArgumentNullException at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at Statistics.ScheduledTasks.CalculateStatsTask.UpdateTvdbConnection(ShowProgressCalculator calculator, String time, IEnumerable`1 seriesIdsInLibrary, CancellationToken cancellationToken) at Statistics.ScheduledTasks.CalculateStatsTask.CalculateTotalEpisodes(CancellationToken cancellationToken) at Statistics.ScheduledTasks.CalculateStatsTask.<MediaBrowser-Model-Tasks-IScheduledTask-Execute>d__20.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__68.MoveNext() 2018-05-03 10:13:55.887 Info TaskManager: Calculate statistics for all users Failed after 0 minute(s) and 6 seconds 2018-05-03 10:13:56.050 Info ServerManager: Sending web socket message NotificationAdded 2018-05-03 10:13:56.062 Info ServerManager: Sending web socket message ScheduledTaskEnded 2018-05-03 10:13:56.068 Info TaskManager: ExecuteQueuedTasks 1 Link to comment Share on other sites More sharing options...
reggi 409 Posted May 3, 2018 Author Share Posted May 3, 2018 Thanks for the log! I got the same error this morning. probably another NuGet package update needed. I'll update this when i get home today. 1 Link to comment Share on other sites More sharing options...
Happy2Play 8351 Posted May 3, 2018 Share Posted May 3, 2018 Must be certain conditions as mine does not receive any errors. Link to comment Share on other sites More sharing options...
Spaceboy 2502 Posted May 3, 2018 Share Posted May 3, 2018 Errors here too Link to comment Share on other sites More sharing options...
RobWayBro 27 Posted May 3, 2018 Share Posted May 3, 2018 I too and receiving errors when trying to run the task. Link to comment Share on other sites More sharing options...
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