Jump to content

New Statistics plugin


Recommended Posts

Happy2Play
Posted

@DarkStar1977 @hackthis02 Yes you can manually reinstall from catalog or restart server to as plugin update task runs at startup and every 24 hours or you can run the task from the api.

 

DarkStar1977
Posted
2 minutes ago, hackthis02 said:

You should be able to go force the update under plugin catalog.

The Catalog shows the same latest version:

2103557842_Capturadepantalla2022-10-13alas0_19_07.png.9e332ce49c72ebeac8bda67b1f21d5f3.png

Anyway if this is solved in 3.0.3.11, probably will be refreshed in the next couple of hours, no problem, thanks for your help !

Happy2Play
Posted

@DarkStar1977 You have to go to the Catalog tab, then the plugin and use the version dropdown.

image.png.dd5796badb7382684b3c752cc981b231.png

  • Like 1
  • Agree 1
DarkStar1977
Posted
1 minute ago, Happy2Play said:

@DarkStar1977 You have to go to the Catalog tab, then the plugin and use the version dropdown.

image.png.dd5796badb7382684b3c752cc981b231.png

Thank You !! Every day I learn something new :)

  • Like 1
Happy2Play
Posted

I am guessing a change in beta server causing stats to not work.

image.png.5ba11ba3c5de8d79b91f8ca5af305bb7.png

Posted
7 minutes ago, Happy2Play said:

I am guessing a change in beta server causing stats to not work.

image.png.5ba11ba3c5de8d79b91f8ca5af305bb7.png

Maybe not. I don't recognize that code. 

Happy2Play
Posted
1 minute ago, Luke said:

Maybe not. I don't recognize that code. 

Not sure as on that server 2 or the 3 users work.  But stable 4 users work.  And another test beta 0 of 4 work.

Posted (edited)
33 minutes ago, hackthis02 said:

You should be able to go force the update under plugin catalog.

@hackthis02 Oddly, the update to 3.0.3.11 wasn't automatically offered to me either. Same for the Folder Sync update that was released earlier today. Weird...

Anyway, just manually updated to version 3.0.3.11 of the statistics plugin from the catalog, and I'm happy to report that the issue I reported about with respect to episode counts in the "collected" column on the "User-based show progress" not being reported correctly is resolved. Hopefully others report the same. 

Once again, thanks for keeping this plug-in up and running!!!

Edited by DarWun
  • Thanks 1
hackthis02
Posted
1 hour ago, Happy2Play said:

Not sure as on that server 2 or the 3 users work.  But stable 4 users work.  And another test beta 0 of 4 work.

I'm sorry, what do you mean?

Happy2Play
Posted
2 minutes ago, hackthis02 said:
1 hour ago, Happy2Play said:

Not sure as on that server 2 or the 3 users work.  But stable 4 users work.  And another test beta 0 of 4 work.

I'm sorry, what do you mean?

In the image provided only that user throws that error.

Tested on three servers

Beta 1: only one of the three users shows error on user stats.

Beta 2: all users fail.

Stable: all users work.

Happy2Play
Posted

@hackthis02 Can see in previous backups the issue is in with Statistics.xml.

Looks like it broke after 3.0.3.3, rolled all the way back to 3.0.3.3 to get that users stats to work for all users. 

Updating to 3.0.3.11 still shows data, but running the task no longer generates data in the xml for that user and breaks even though it knows there are 3 total users.  Only generate for data for two users.

But on this machine, it is selective to that specific user.

 

 

 

hackthis02
Posted
6 minutes ago, Happy2Play said:

@hackthis02 Can see in previous backups the issue is in with Statistics.xml.

Looks like it broke after 3.0.3.3, rolled all the way back to 3.0.3.3 to get that users stats to work for all users. 

Updating to 3.0.3.11 still shows data, but running the task no longer generates data in the xml for that user and breaks even though it knows there are 3 total users.  Only generate for data for two users.

But on this machine, it is selective to that specific user.

 

 

 

Do those users have Emby connect ids? I remember an API update that deprecated the ability to get all users, so I ended up getting just the ones that Emby connect ids. 

Happy2Play
Posted
1 minute ago, hackthis02 said:

Do those users have Emby connect ids? I remember an API update that deprecated the ability to get all users, so I ended up getting just the ones that Emby connect ids. 

There are three users on this system that I am primarily testing on.

database userids

User id 1 no ConnectID does not work

User id 2 has ConnectID works

User id 5 no ConnectID works

  • Thanks 1
hackthis02
Posted
2 minutes ago, Happy2Play said:

There are three users on this system that I am primarily testing on.

database userids

User id 1 no ConnectID does not work

User id 2 has ConnectID works

User id 5 no ConnectID works

Thanks. I'll look into that. 

hackthis02
Posted

Also, it seems people weren't getting the newest version because 3.0.3.11 was sorted in between 3.0.3.1 and 3.0.3.2. Making version 3.0.3.9 the 'newest' version. @Luke Might want to have someone check that. 

  • Thanks 1
Happy2Play
Posted
2 minutes ago, hackthis02 said:

Also, it seems people weren't getting the newest version because 3.0.3.11 was sorted in between 3.0.3.1 and 3.0.3.2. Making version 3.0.3.9 the 'newest' version. @Luke Might want to have someone check that. 

Not sure I follow but as for updates it is only checked at Startup and 24 hr intervals.  Unless there is something in different platforms.

image.png.b96d48e72b668b62325dfd1737ad0904.png

hackthis02
Posted
2 hours ago, Happy2Play said:

Not sure I follow but as for updates it is only checked at Startup and 24 hr intervals.  Unless there is something in different platforms.

image.png.b96d48e72b668b62325dfd1737ad0904.png

This is what I saw in the admin site.

image.png.7ef20b9feff8d84682befd026eabc96e.png

DarkStar1977
Posted
7 hours ago, hackthis02 said:

You should be able to go force the update under plugin catalog.

Jut wanted to confirm that updating to 3.0.3.11 solved the issue. Thanks !

  • Thanks 1
Posted
1 hour ago, DarkStar1977 said:

Jut wanted to confirm that updating to 3.0.3.11 solved the issue. Thanks !

Hi, how to install that plugin because it's gone from my catalogue?

Regards.

Happy2Play
Posted
9 minutes ago, Przemek said:

Hi, how to install that plugin because it's gone from my catalogue?

Regards.

What do you mean?  I see it in the catalog in top plugins row and in reporting row.

  • Agree 1
Posted
1 hour ago, Happy2Play said:

What do you mean?  I see it in the catalog in top plugins row and in reporting row.

OK, I see now in browser on laptop. I don't have that plugin when I open with Android smartphone.
Regards.

Junglejim
Posted

@hackthis02 Thanks for the quick fix with the episode count. The 3.0.4 is working great here, even the scroll issue I reported seems to have worked it's self out. Not sure if it's a core update/plugin or maybe browser but all good. 👍

  • Thanks 1
Posted

I install it again and still see that error:
`Object reference not set to an instance of an object.
at Statistics.Helpers.Calculator.CalculateMovieQualities()
at Statistics.ScheduledTasks.CalculateStatsTask.MediaBrowser.Model.Tasks.IScheduledTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)`

Regards.

embyserver (1).txt

Happy2Play
Posted
7 hours ago, Przemek said:

I install it again and still see that error:
`Object reference not set to an instance of an object.
at Statistics.Helpers.Calculator.CalculateMovieQualities()
at Statistics.ScheduledTasks.CalculateStatsTask.MediaBrowser.Model.Tasks.IScheduledTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)`

Regards.

embyserver (1).txt 419.15 kB · 1 download

You need to find the unidentified items in your library.

https://emby.media/community/index.php?/topic/65998-new-statistics-plugin/&do=findComment&comment=1180098

 

  • Like 1
Posted

I don't know it's possible.

Regards.

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