rdmiller13 8 Posted July 29, 2019 Share Posted July 29, 2019 With the release of the new Emby server version 4.2.0.40, the statistics plugin fails to run the calculate user statistics task. @ This have a chance to be fixed or since it's deprecated, it's gone? Link to comment Share on other sites More sharing options...
Luke 37095 Posted July 29, 2019 Share Posted July 29, 2019 This have a chance to be fixed or since it's deprecated, it's gone? Have you checked out his new standalone app? Link to comment Share on other sites More sharing options...
rdmiller13 8 Posted July 29, 2019 Share Posted July 29, 2019 I have it downloaded and will have to sooner than later now it seems Guess I'm looking to see if I could procrastinate longer... Link to comment Share on other sites More sharing options...
Luke 37095 Posted July 29, 2019 Share Posted July 29, 2019 I have it downloaded and will have to sooner than later now it seems Guess I'm looking to see if I could procrastinate longer... He's actively working on it. Why not provide feedback about it? 1 Link to comment Share on other sites More sharing options...
feerlessleadr 155 Posted July 31, 2019 Share Posted July 31, 2019 (edited) @@feerlessleadr Not sure exactly when this started happening, but I just enabled my email alerts for my server, and I used to get a great email with user statistics for the previous day (who watched what, etc.). I noticed today though that my email now states "Calculate statistics for all users failed", along with the following error: Sequence contains no elements at System.Linq.Enumerable.Aggregate[TSource](IEnumerable`1 source, Func`3 func) at Statistics.Helpers.Calculator.CalculateOldestMovie() at Statistics.ScheduledTasks.CalculateStatsTask.MediaBrowser.Model.Tasks.IScheduledTask.Execute(CancellationToken cancellationToken, IProgress`1 progress) at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options) I can PM the whole log, but since it has my domain name, I'd rather not post to the forum, so please let me know if you'll need it. Here is some info on my system: - Windows 10 Pro, server version 4.2.0.40 thanks ::EDIT:: @@Luke thanks for moving to the correct thread! ::DOUBLEEDIT:: Didn't realize this was deprecated. I'll give the new statistics app a try. Edited July 31, 2019 by feerlessleadr Link to comment Share on other sites More sharing options...
crusher11 854 Posted July 31, 2019 Share Posted July 31, 2019 @@crusher11 Why do I keep getting this alert? Link to comment Share on other sites More sharing options...
CChris 58 Posted August 3, 2019 Share Posted August 3, 2019 Hi all, I am getting the following error in emby's task manager now: 2019-08-03 09:28:13.735 Info TaskManager: Executing Calculate statistics for all users 2019-08-03 09:28:13.735 Debug XmlSerializer: Serializing to file /var/lib/emby/plugins/configurations/Statistics.xml 2019-08-03 09:28:13.735 Info HttpServer: HTTP Response 204 to 192.168.52.254. Time: 2ms. http://192.168.52.243:8096/emby/ScheduledTasks/Running/d459f39d7abb81f5fcce03048a7ecf4d 2019-08-03 09:28:13.737 Info HttpClient: GET https://thetvdb.com/api/Updates.php?type=all&time=1564703886 2019-08-03 09:28:13.741 Info HttpServer: HTTP GET http://192.168.52.243:8096/emby/ScheduledTasks?isHidden=false. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0 2019-08-03 09:28:13.742 Info HttpServer: HTTP Response 200 to 192.168.52.254. Time: 1ms. http://192.168.52.243:8096/emby/ScheduledTasks?isHidden=false 2019-08-03 09:28:15.416 Info HttpServer: HTTP GET http://192.168.52.243:8096/emby/ScheduledTasks?isHidden=false. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0 2019-08-03 09:28:15.417 Info HttpServer: HTTP Response 200 to 192.168.52.254. Time: 1ms. http://192.168.52.243:8096/emby/ScheduledTasks?isHidden=false 2019-08-03 09:28:18.868 Info HttpClient: GET https://thetvdb.com/api/Updates.php?type=none 2019-08-03 09:28:18.888 Debug XmlSerializer: Serializing to file /var/lib/emby/plugins/configurations/Statistics.xml 2019-08-03 09:28:19.816 Error TaskManager: Error *** Error Report *** Version: 4.2.0.40 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Unix 4.15.18.12 64-Bit OS: True 64-Bit Process: True User Interactive: True Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll Processor count: 4 Program data path: /var/lib/emby Application directory: /opt/emby-server/system System.InvalidOperationException: System.InvalidOperationException: Sequence contains no elements at System.Linq.Enumerable.Aggregate[TSource](IEnumerable`1 source, Func`3 func) at Statistics.Helpers.Calculator.CalculateOldestMovie() at Statistics.ScheduledTasks.CalculateStatsTask.MediaBrowser.Model.Tasks.IScheduledTask.Execute(CancellationToken cancellationToken, IProgress`1 progress) at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options) Source: System.Linq TargetSite: TSource Aggregate[TSource](System.Collections.Generic.IEnumerable`1[TSource], System.Func`3[TSource,TSource,TSource]) 2019-08-03 09:28:19.816 Info TaskManager: Calculate statistics for all users Failed after 0 minute(s) and 6 seconds 2019-08-03 09:28:19.817 Info TaskManager: ExecuteQueuedTasks Any Idea, what I should check for getting this sorted out? Thanks and with best regards,Christoph Link to comment Share on other sites More sharing options...
darkassassin07 423 Posted August 3, 2019 Share Posted August 3, 2019 (edited) Announcement: As of today (30/04/2018), I will no longer update this plugin. Only fix it when there is a Nuget Package update needed. This is because I'm working on a standalone statistics server. Here you can find the main forum thread for EmbyStat. If you have any ideas, design layouts, development knownledge feel free to participate there or on the github repo Thanks everyone for all the support, testing and patience that made this plugin grown. But I think to get even better and more statistics, a standalone server is the way to go. The current 'calculate statistics failed' error is know, but im not sure if reggi is planning to fix it. I believe he is pretty close to a stable release of rhe standalone server, and once that's out the plugin will be depreciated. Edited August 3, 2019 by darkassassin07 Link to comment Share on other sites More sharing options...
CChris 58 Posted August 3, 2019 Share Posted August 3, 2019 The current 'calculate statistics failed' error is know, but im not sure if reggi is planning to fix it. I believe he is pretty close to a stable release of rhe standalone server, and once that's out the plugin will be depreciated. Ok, thanks Link to comment Share on other sites More sharing options...
hackthis02 93 Posted August 8, 2019 Share Posted August 8, 2019 Ok, thanks I'm currently working on a compatibility update for the old/current Statistics plugin. When I'm done I'll submit a pull request to @@reggi 2 Link to comment Share on other sites More sharing options...
hackthis02 93 Posted August 13, 2019 Share Posted August 13, 2019 (edited) I just submitted an update to make the plugin compatible with 4.2.1.0. It should be going out soon. Going forward the updates should be closer to the release of a new version of Emby. Edited August 13, 2019 by hackthis02 4 Link to comment Share on other sites More sharing options...
rdmiller13 8 Posted August 15, 2019 Share Posted August 15, 2019 (edited) Any guestimation when it might hit by chance? Finally got on board and am liking it a lot...but now it needs the update Edited August 15, 2019 by rdmiller13 Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted August 15, 2019 Share Posted August 15, 2019 @@Luke who updates this if @@reggi no longer maintains the code? I downloaded hackthis02's fork and compiled the plugin myself. Link to comment Share on other sites More sharing options...
Luke 37095 Posted August 16, 2019 Share Posted August 16, 2019 @@reggi can you merge in his pull request? thanks. Link to comment Share on other sites More sharing options...
reggi 409 Posted August 16, 2019 Author Share Posted August 16, 2019 Just merged the PR and pushed the update to Emby. It's still failing for some other reason on my server, I'll have a look and create another fix when I'm home in a few hours! Looks like a TVDB api problem 3 Link to comment Share on other sites More sharing options...
hackthis02 93 Posted August 19, 2019 Share Posted August 19, 2019 I'm see the TVDB error now too. I'll look into it. Link to comment Share on other sites More sharing options...
Glbjr29 1 Posted December 3, 2019 Share Posted December 3, 2019 Why did you quit using the plugin. It was easier to work. 1 Link to comment Share on other sites More sharing options...
lexisdude 133 Posted December 10, 2019 Share Posted December 10, 2019 I am getting this error consistently after the newest stable build of Emby:Value cannot be null. (Parameter 'source')at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)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(CancellationToken cancellationToken, IProgress`1 progress)at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)----------Plugin support, if this can be fixed - when will the newest revision be available. Mods: If this is no longer being updated/maintained - can we please remove it as part of the release?Thanks 1 Link to comment Share on other sites More sharing options...
ThePaladinTech 22 Posted December 10, 2019 Share Posted December 10, 2019 Why did you quit using the plugin. It was easier to work. I am getting this error consistently after the newest stable build of Emby: Value cannot be null. (Parameter 'source') at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument) 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(CancellationToken cancellationToken, IProgress`1 progress) at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options) ---------- Plugin support, if this can be fixed - when will the newest revision be available. Mods: If this is no longer being updated/maintained - can we please remove it as part of the release? Thanks I too found this plugin to satisfy my needs, and was glad it wasn't a seperate thing like PlexPy (or tatalui or whatever they call it now) - It's done what I need but since the latest update constantly getting the same error. I hope someone will update *this* pluging 1 Link to comment Share on other sites More sharing options...
rdmiller13 8 Posted December 10, 2019 Share Posted December 10, 2019 I like either one that'll judge my files and let me know which ones are missing episodes....my excel spreadsheet is killing me at the moment as I get other series and don't know if they are complete Always mislabel one or two and my OCD needs it perfect... Also the old one telling me how many I needed to improve to 1080 was handy Didn't tell me which ones...but it was a number I could track and feed my ocd Link to comment Share on other sites More sharing options...
nick naim 17 Posted December 11, 2019 Share Posted December 11, 2019 I am also a big fan of the plug-in. While I lack the capabilities to work on the plug-in myself, I hope that someone will keep maintining it. Link to comment Share on other sites More sharing options...
moviefan 184 Posted December 13, 2019 Share Posted December 13, 2019 I think to get even better and more statistics, a standalone server is the way to go. A standalone server to track the statistics of my Emby viewing? Say what? Link to comment Share on other sites More sharing options...
Luke 37095 Posted December 13, 2019 Share Posted December 13, 2019 Think of it as a standalone app. Link to comment Share on other sites More sharing options...
electrolight 0 Posted December 27, 2019 Share Posted December 27, 2019 (edited) Thanks to OP for the coding effort. As a fan of Tautulli I would like to try out the server, but: - Not familiar with dockers (I know now, hottest thing since DOS ... so I read up on it, looks like VM without the VM overhead). - When I go to the GitHub: https://github.com/mregni/EmbyStat/wiki/docker Windows x64 The Windows images are based on the microsoft/aspnetcore:2.0-nanoserver-1709 image. ( ==> https://hub.docker.com/r/microsoft/aspnetcore/ - DEPRECATED) You can find the docker file here ( ==> https://github.com/mregni/EmbyStat/blob/develop/win.dockerfile - 404 Error). QUESTIONS: 1) If I understand correctly, I install a Win10x64 "docker file processor" which then allows me run your EmbyStat docker files. if so, then Why are you developing with/for a DEPRECATED docker? Where is the correct Windows x64 docker file processor for EmbyStat located? How about an improved wiki for the unwashed? Thanks. Edited December 27, 2019 by electrolight Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted December 27, 2019 Share Posted December 27, 2019 Thanks to OP for the coding effort. As a fan of Tautulli I would like to try out the server, but: - Not familiar with dockers (I know now, hottest thing since DOS ... so I read up on it, looks like VM without the VM overhead). - When I go to the GitHub: https://github.com/mregni/EmbyStat/wiki/docker Windows x64 The Windows images are based on the microsoft/aspnetcore:2.0-nanoserver-1709 image. ( ==> https://hub.docker.com/r/microsoft/aspnetcore/ - DEPRECATED) You can find the docker file here ( ==> https://github.com/mregni/EmbyStat/blob/develop/win.dockerfile - 404 Error). QUESTIONS: 1) If I understand correctly, I install a Win10x64 "docker file processor" which then allows me run your EmbyStat docker files. if so, then Why are you developing with/for a DEPRECATED docker? Where is the correct Windows x64 docker file processor for EmbyStat located? How about an improved wiki for the unwashed? Thanks. I currently don't use docker, I just get the "EmbyStat-win10-x64-v0.2.0-beta.14.zip" release from Github. https://github.com/mregni/EmbyStat/releases 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