Jump to content

New Statistics plugin


Recommended Posts

Posted

@@chjohans from the above post it sounds like he's on vacation and you may just need to wait.

Posted

Hey guys, sorry for keeping you waiting.

 

I updated the plugin and it should you Emby server should receive the update soon! Not new actually, just a nuget package update.

chjohans
Posted

Thanks, sorry to be a nag. Hope you didn't freeze your butt off up there in Finland :)

chjohans
Posted

Still failing for me with this error message: Value cannot be null. Parameter name: source

 

Server 3.3.1.0

QDivision
Posted

same for me but with error message: 'Object reference not set to an instance of an object.'

Posted

@@chjohans No problem at all!

 

Can you supply me with the full Emby log so I can see where the exception is thrown?

Happy2Play
Posted

I am not seeing any errors on stable or beta in Windows.

manolodf
Posted

Great Plugin!  Any chance that Statistics will include Live TV Viewing stats as well?  

PenkethBoy
Posted

Not seeing any errors on stable or Beta on windows - and also was not seeing any errors on the previous version

JarvisTek
Posted (edited)

I've had the "Object reference not set to an instance of an object" for a very long time (it's been a while and I haven't really bothered trying to fix it till now. I've attached a tail of my log when I manually ran the scheduled task. This is on Ubuntu.

Edit - once more with the tail this time.

tail.txt

Edited by JarvisTek
  • Like 1
chjohans
Posted

Take note that I only see the above exception one one of my two Emby servers, both running stable release 3.3.1 on Windows 10. They are pretty much identical with the same libraries, but the libraries for the two servers are on different NAS devices at different locations. But the servers are pretty much the same both HW and SW.

QDivision
Posted

Here is my log for the error: 'Object reference not set to an instance of an object.'
 

Running latest stable build (v3.3.1) on Windows 10

 

Also had this error for a while now, would be good to get this fixed.

Log.txt

  • Like 1
QDivision
Posted

It looks like the error is thrown when calculating latest episode added. I only have a movie collection and don't have tv shows, maybe it's not checking tv show count before processing?

QDivision
Posted

Any progress on the Object reference not set to an instance of an object bug?

Posted (edited)

@

I still have to check it out. I will probably add a count check indeed to make sure the null ref is not happening anymore! i'll probably will look into it tonight.

 

 

@

It's indeed the active repo. You can always make a PR with your changes. I will pull them and make a new build. Thanks for the help

Edited by reggi
Posted

Haven't experienced the 'Object reference not set to an instance of an object' bug until I installed a recent plugin (ServerWMC) update & haven't been able to refresh stats since. I removed the suspect plugin to test, but the Stats update still fails so I'm betting it's now 'permanent' in the dB. Attaching a server log even though the error looks no different than any other posted. Miss my stats... B^(

 

server-63658013667.txt

 

Thanks, @@reggi !

Posted

I uploaded a new version, hope this will fix the null ref exception.

 

If not, I will have to add some more logging to get more debug info.

Posted

I uploaded a new version, hope this will fix the null ref exception.

 

If not, I will have to add some more logging to get more debug info.

 

Thanks for the quick response!! After the update, I no longer get the failure, but both 'Newest Added Movie/Episode' report 'NO DATA FOUND'. Not sure a new log will help, but ask & ye shall receive...

Posted

Can you try this version for me?

 

The NO DATA is because the youngest episode fount has a Serie property that is null. So I excluded all episodes that that have a series name.

statistics.zip

Posted

Can you try this version for me?

 

The NO DATA is because the youngest episode fount has a Serie property that is null. So I excluded all episodes that that have a series name.

 

Statistics v2.0.4.3... no change. Still reporting 'NDF'.
Posted

Can you test this version, this should be 2.0.4.4. 

I added some logging as well, so feel free to search for the extra 3 lines in your log and post them here :) 

Posted

Can you test this version, this should be 2.0.4.4. 

I added some logging as well, so feel free to search for the extra 3 lines in your log and post them here :)

 

No attachment to last post. Also notice that 'Studio's: 0' is back (& lose the apostrophe ;^).

Posted

Woeps, forgot to press upload

 

Here is version  2.0.4.4. 

statistics.zip

Posted (edited)

No fail, no change. Not much goin' on in log...

 

2018-03-30 15:09:46.675 Info TaskManager: Queueing task CalculateStatsTask
2018-03-30 15:09:46.682 Info TaskManager: Executing Check for application updates
2018-03-30 15:09:46.682 Info TaskManager: Executing Check for plugin updates
2018-03-30 15:09:46.682 Info TaskManager: Executing Change Movie date added to original Premier date
2018-03-30 15:09:46.682 Info TaskManager: Executing Calculate statistics for all users
2018-03-30 15:09:46.698 Info HttpClient: GET https://www.mb3admin.com/admin/service/EmbyPackages.json
2018-03-30 15:09:46.715 Info App: TimeLordMovies Registration Status - Registered: True In trial: False Expiration Date: 12/31/2050 12:00:00 AM Is Valid: True
2018-03-30 15:09:46.715 Info App: TimeLordMovies :: Start :
2018-03-30 15:09:46.715 Info App: TimeLord :: Rework Movie Dates :: Start
2018-03-30 15:09:46.748 Info TaskManager: Check for application updates Completed after 0 minute(s) and 0 seconds
2018-03-30 15:09:46.764 Info ServerManager: Sending web socket message ScheduledTaskEnded
2018-03-30 15:09:46.770 Info TaskManager: ExecuteQueuedTasks
2018-03-30 15:09:46.869 Info HttpClient: GET https://thetvdb.com/api/Updates.php?type=all&time=1522435137
2018-03-30 15:09:47.368 Info TaskManager: Check for plugin updates Completed after 0 minute(s) and 0 seconds
2018-03-30 15:09:47.369 Info ServerManager: Sending web socket message ScheduledTaskEnded
2018-03-30 15:09:47.369 Info TaskManager: ExecuteQueuedTasks
2018-03-30 15:09:47.400 Info HttpClient: GET https://thetvdb.com/api/Updates.php?type=none
2018-03-30 15:09:48.663 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:09:48.687 Info HttpServer: HTTP Response 200 to ::1. Time: 26ms. http://localhost:8096/emby/Users/d1f5dee31b93373e09413f0cc83d48f9
2018-03-30 15:09:48.899 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:09:48.965 Info HttpServer: HTTP Response 200 to ::1. Time: 66ms. http://localhost:8096/emby/ScheduledTasks?isHidden=false
2018-03-30 15:09:49.758 Info TaskManager: Change Movie date added to original Premier date Completed after 0 minute(s) and 3 seconds
2018-03-30 15:09:49.771 Info ServerManager: Sending web socket message ScheduledTaskEnded
2018-03-30 15:09:49.771 Info TaskManager: ExecuteQueuedTasks
2018-03-30 15:10:01.524 Info TaskManager: Calculate statistics for all users Completed after 0 minute(s) and 14 seconds
2018-03-30 15:10:01.525 Info ServerManager: Sending web socket message ScheduledTaskEnded

Edited by d00zah

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