Jump to content

New Statistics plugin


Recommended Posts

Posted

Thanks @@reggi.

 

Plugin is now running again.

  • Like 1
Posted

It could be that the graphs have a very small size. I will fix that in the next release. I misplaced a css class tag :D

Happy2Play
Posted

Update 1.1.6432.18254 works for me on beta server.

PenkethBoy
Posted

Yep working for me as well on beta server

Diedrich
Posted

Plugin: 1.1.6432.18254

Emby Server: 3.2.26.0

2017-08-11 13:59:43.4311 Info TaskManager: Executing Calculate statistics for all users
2017-08-11 13:59:43.4311 Error TaskManager: Error
	*** Error Report ***
	Version: 3.2.26.0
	Command line: C:\Users\DVGMAR\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	Processor count: 2
	Program data path: C:\Users\DVGMAR\AppData\Roaming\Emby-Server
	Application directory: C:\Users\DVGMAR\AppData\Roaming\Emby-Server\System
	System.MissingMethodException: Method not found: 'System.Collections.Generic.List`1<MediaBrowser.Controller.Entities.BaseItem> MediaBrowser.Controller.Library.ILibraryManager.GetItemList(MediaBrowser.Controller.Entities.InternalItemsQuery)'.
	   at Statistics.ScheduledTasks.CalculateStatsTask.CalculateTotalEpisodes(CancellationToken cancellationToken)
	   at Statistics.ScheduledTasks.CalculateStatsTask.<Execute>d__12.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__68.MoveNext()
	System.MissingMethodException
	   at Statistics.ScheduledTasks.CalculateStatsTask.CalculateTotalEpisodes(CancellationToken cancellationToken)
	   at Statistics.ScheduledTasks.CalculateStatsTask.<Execute>d__12.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__68.MoveNext()
	
2017-08-11 13:59:43.4311 Info TaskManager: Calculate statistics for all users Failed after 0 minute(s) and 0 seconds
2017-08-11 13:59:43.4311 Info ServerManager: Sending web socket message NotificationAdded
2017-08-11 13:59:43.4311 Info ServerManager: Sending web socket message ScheduledTaskEnded
2017-08-11 13:59:43.4311 Info TaskManager: ExecuteQueuedTasks
Posted

 

Plugin: 1.1.6432.18254

Emby Server: 3.2.26.0

Was it working up until the latest release of the plugin?

 

If so, it might be worth going back a version.

 

Looks like something changes in the latest beta server causing the issue that @@reggi fixed, but now causes an issue in stable.

Posted

Was it working up until the latest release of the plugin?

 

If so, it might be worth going back a version.

 

Looks like something changes in the latest beta server causing the issue that @@reggi fixed, but now causes an issue in stable.

 

I think Reggi may have mis-tagged the update and now stable users are getting it.

Diedrich
Posted

Was it working up until the latest release of the plugin?

 

If so, it might be worth going back a version.

 

Looks like something changes in the latest beta server causing the issue that @@reggi fixed, but now causes an issue in stable.

I was just in the middle of doing that and was going to report that .40775 works on the stable server. (this is the one with the borked plugin version numbering)

 

@@reggi

I'm definitely not getting historical data for watched TV shows in the graphs.

Emby Tower
Posted

I just got the update to .18254 and now I got an instant "failed" when running the task!

 

This are the error messages in the log:

 

System.MissingMethodException: Method not found: 'System.Collections.Generic.List`1<MediaBrowser.Controller.Entities.BaseItem> MediaBrowser.Controller.Library.ILibraryManager.GetItemList(MediaBrowser.Controller.Entities.InternalItemsQuery)'.
     at Statistics.ScheduledTasks.CalculateStatsTask.CalculateTotalEpisodes(CancellationToken cancellationToken)
     at Statistics.ScheduledTasks.CalculateStatsTask.<Execute>d__12.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.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__68.MoveNext()
    System.MissingMethodException
     at Statistics.ScheduledTasks.CalculateStatsTask.CalculateTotalEpisodes(CancellationToken cancellationToken)
     at Statistics.ScheduledTasks.CalculateStatsTask.<Execute>d__12.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.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__68.MoveNext()

 

Posted

I just got the update to .18254 and now I got an instant "failed" when running the task!

 

 

Which Emby server, Stable or Beta?

Emby Tower
Posted

Which Emby server, Stable or Beta?

Stable!

Posted

Same here! Emby stable and new Plugin. Going down one version fix it. But after the next reboot / restart of Emby the broken version is active again.

Posted

In recent days the plugin encountered bugs and I chose to remove from my Emby Server stable version.

Posted

Looks like I broke some stuff before I left for my weekend to Italy :P

 

I will, for the moment, place the last version back on Beta train so the stable is working again as well until I fixed the errors. 

 

Sorry guys for publishing a broken version!!

Posted

A new stable release is rolling out anyway so you could possibly just leave it as it is now.

Posted

Thanks for the tip!

Emby Tower
Posted

I just updated to the new Server Stable and also all the plugins ... Now everything is perfect, also all boxes are fitting onto the screen! ;)

 

Thanks for all the work to you!  B)

  • Like 1
Posted
Now, the plugin is perfect on my stable Emby Server 3.2.27.0.

Thank you so much for this.

Posted

Hi, plugin is working so far here, but the graphs are empty?

Emby: Version 3.2.27.0 (running on Ubuntu 16.04)

Statistics Plugin Version: 1.1.6432.18254

 

How to fix this?

 

Best Regards,

Stefan

post-190747-0-34277200-1502954407_thumb.png

post-190747-0-34410900-1502954475_thumb.png

  • Like 1
Posted

@@OKDaG

 

Thanks for posting this bug, it has been mentioned before and I'm still working on getting data on the graphs. 

Normally all new movies you watch will populate the graphs.

Posted

I uploaded a new version for Beta servers with a new layout. Feel free to give feedback!

 

As for the graphs, still don't know why they are empty in the beginning for some users.

PenkethBoy
Posted

@@reggi

 

Like the new "pictures" in the stats :) - will these be hyperlinks at some point to jump to the movie or show?

 

I hope we can have movie-based statistics soon as well :)

 

One minor thing "Studio" count for both movies and Shows are both zero

Posted

I've updated to v1.1.6438.18531, reran the scheduled task, but the graphs are still blank.

 

I'll leave you with it :)

QDivision
Posted

Hi,

 

When running the schedule task for statistics it says it fails (even though when I look at the stats everything seems to be there). Looking at the log it shows the following:

 

2017-08-19 22:35:51.0285 Info TaskManager: Executing Calculate statistics for all users
2017-08-19 22:35:51.0285 Info HttpServer: HTTP Response 204 to 10.0.0.1. Time: 0ms. https://www.xxxxxxx.co.uk:8920/emby/ScheduledTasks/Running/d459f39d7abb81f5fcce03048a7ecf4d
2017-08-19 22:35:51.0285 Info HttpClient: HttpClientManager GET: https://thetvdb.com/api/Updates.php?type=all&time=1503160052
2017-08-19 22:35:51.0761 Info HttpServer: HTTP GET https://www.xxxxxxx.co.uk:8920/emby/ScheduledTasks?isHidden=false. UserAgent: Mozilla/5.0 (Linux; Android 7.1.2; Pixel Build/NJH47F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.125 Mobile Safari/537.36
2017-08-19 22:35:51.0761 Info HttpServer: HTTP Response 200 to 10.0.0.1. Time: 0ms. https://www.xxxxxxx.co.uk:8920/emby/ScheduledTasks?isHidden=false
2017-08-19 22:35:51.7575 Info HttpClient: HttpClientManager GET: https://thetvdb.com/api/Updates.php?type=none
2017-08-19 22:35:52.1483 Error TaskManager: Error
    *** Error Report ***
    Version: 3.2.27.0
    Command line: C:\Users\Neo\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
    Operating system: Microsoft Windows NT 6.2.9200.0
    64-Bit OS: True
    64-Bit Process: True
    Processor count: 8
    Program data path: C:\Users\Neo\AppData\Roaming\Emby-Server
    Application directory: C:\Users\Neo\AppData\Roaming\Emby-Server\System
    System.InvalidOperationException: Sequence contains no elements
     at System.Linq.Enumerable.Aggregate[TSource](IEnumerable`1 source, Func`3 func)
     at Statistics.Helpers.Calculator.CalculateNewestAddedEpisode()
     at Statistics.ScheduledTasks.CalculateStatsTask.<Execute>d__12.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.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__68.MoveNext()
    System.InvalidOperationException
     at System.Linq.Enumerable.Aggregate[TSource](IEnumerable`1 source, Func`3 func)
     at Statistics.Helpers.Calculator.CalculateNewestAddedEpisode()
     at Statistics.ScheduledTasks.CalculateStatsTask.<Execute>d__12.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.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__68.MoveNext()
    
2017-08-19 22:35:52.1483 Info TaskManager: Calculate statistics for all users Failed after 0 minute(s) and 1 seconds
2017-08-19 22:35:52.1483 Info ServerManager: Sending web socket message NotificationAdded
2017-08-19 22:35:52.1483 Info ServerManager: Sending web socket message ScheduledTaskEnded

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...