Jump to content

New statistics plugin


Recommended Posts

HawkXP71
Posted (edited)

I was having problems with DV Profile 5.0, and I wanted an easy way to find any media that was using this profile.

Thus began my efforts in working with the statistics package.

Mostly for my own benefit and knowledge, I started working on the plugin to clean it up a bit as well as speed it up.  It started as a fork of the fork that represents the current state of the current statistics plugin

Architecturally, the biggest change is it no longer uses the config file for all the data.  Instead it uses a sqllite database.

The biggest advantaged is the runtime.  On my server,  5,312 movies and 17,232 episodes the 3 scheduled tasks for the current plugin takes 25 minutes.  The new plugin about 3.5 minutes.  There is also only 1 task that needs to get scheduled (it takes care of calling the subtasks, which can be run if you want updating)

I also added the ability for non-admin users to see their "User Based Statistics" as well as "TV Progress" via a non-admin settings page.

There is still more work to do, but I would love any and all feedback.  I have not yet submitted the plugin, but people can play with it via github

https://github.com/towel42-com/Statistics2026

  • Things I want to working - Convert to the PluginUI architecture
  • Better table/list viewing
  • Remove one of the caches

 



 

Edited by HawkXP71
HawkXP71
Posted

Blank for further details

HawkXP71
Posted

Blank for further details

HawkXP71
Posted

Blank for further details

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