Jump to content


Photo

New Statistics plugin


  • Please log in to reply
796 replies to this topic

#1 reggi OFFLINE  

reggi

    Advanced Member

  • Members
  • 277 posts
  • Local time: 01:41 AM
  • LocationAntwerp, Belgium

Posted 26 May 2016 - 12:46 PM

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.

 

------------------------------------------

------------------------------------------

 

Hi everyone,

 

The last few days I made a small statistics plugin for Emby server because I always was missing a few statistics of my collection. 

At this stage, it's very basic but I will continue the development step by step.

I'm running the plugin on Emby-server version 3.0.5971.0

 

version 0.0.12.0 (working on Emby 3.2.14.0)

version 0.0.11.8

version 0.0.11.3

version 0.0.11.0

version 0.0.10.0

version 0.0.0.9

version 0.0.0.7

version 0.0.0.6

version 0.0.0.5

version 0.0.0.4 (also 0.0.4.1)

version 0.0.0.3

version 0.0.0.2

 

Features:

 - Every user can get his own statistics

 - 14 statistics are shown at this moment

 - backdrops are random movie backdrops

 

Next

 - A basic styling (normal text)

 - More statistics (Genre graphs, ...)

 - UI update

 

If you have the time feel free to test the plugin, the dll is included in the zip file.

I would love to hear what you guys think about it. Any remarks, idea's, bugs, layout changes, new stats, ... are welcome :)

 

57472627ec1fa_Screenshot_1.png

 

 

Thanks!

 

Reggi

Attached Files


Edited by reggi, 30 April 2018 - 04:05 AM.

  • swhitmore, CBers, AdrianW and 23 others like this

#2 Doonga OFFLINE  

Doonga

    Advanced Member

  • Members
  • 145 posts
  • Local time: 08:41 PM
  • LocationConnecticut

Posted 26 May 2016 - 01:03 PM

This looks promising, I'll give it a shot soon.

 

Thanks!



#3 Koleckai Silvestri OFFLINE  

Koleckai Silvestri

    Advanced Member

  • Alpha Testers
  • 3765 posts
  • Local time: 05:41 PM

Posted 26 May 2016 - 03:42 PM

Nice.. The plugin works well for me. I have been asking for statistics like these for a couple of years now. Thanks for providing them.

 

Wish I could change the date format to something I am more used to but that isn't a blocker.


Edited by Koleckai Silvestri, 26 May 2016 - 03:44 PM.


#4 CBers OFFLINE  

CBers

    Advanced Member

  • Moderators
  • 13862 posts
  • Local time: 12:41 AM
  • LocationKent, England.

Posted 26 May 2016 - 03:47 PM

Nice work reggi.

#5 MSattler OFFLINE  

MSattler

    Advanced Member

  • Alpha Testers
  • 1447 posts
  • Local time: 08:41 PM

Posted 26 May 2016 - 04:08 PM

Nice work reggi.

 

It would be nice to get overall usage statistics.

 

Like # of movies watched, per day, per week, per month etc.

# of movies watcher per user, etc.


  • Koleckai Silvestri likes this

#6 MSattler OFFLINE  

MSattler

    Advanced Member

  • Alpha Testers
  • 1447 posts
  • Local time: 08:41 PM

Posted 26 May 2016 - 04:22 PM

Would it be possible to adjust the dates to the US standard, and have the user decide?



#7 CBers OFFLINE  

CBers

    Advanced Member

  • Moderators
  • 13862 posts
  • Local time: 12:41 AM
  • LocationKent, England.

Posted 26 May 2016 - 04:39 PM

OK, I've just downloaded the DLL, copied it to my plugins folder and restarted Emby server, but where do I go to access the stats please?

2016-05-26 21:29:51.1736 Info App: Loading Statistics, Version=1.0.5989.26099, Culture=neutral, PublicKeyToken=null


#8 Koleckai Silvestri OFFLINE  

Koleckai Silvestri

    Advanced Member

  • Alpha Testers
  • 3765 posts
  • Local time: 05:41 PM

Posted 26 May 2016 - 05:04 PM

OK, I've just downloaded the DLL, copied it to my plugins folder and restarted Emby server, but where do I go to access the stats please?
 

2016-05-26 21:29:51.1736 Info App: Loading Statistics, Version=1.0.5989.26099, Culture=neutral, PublicKeyToken=null

 

In the Emby Dashboard, go to Plugins and select Statistics.



#9 CBers OFFLINE  

CBers

    Advanced Member

  • Moderators
  • 13862 posts
  • Local time: 12:41 AM
  • LocationKent, England.

Posted 26 May 2016 - 05:06 PM

In the Emby Dashboard, go to Plugins and select Statistics.

Thanks Koleckai.

@reggi - might be an idea to put it as a TAB under Users?

.

Edited by CBers, 26 May 2016 - 05:06 PM.


#10 reggi OFFLINE  

reggi

    Advanced Member

  • Members
  • 277 posts
  • Local time: 01:41 AM
  • LocationAntwerp, Belgium

Posted 26 May 2016 - 05:26 PM

Thanks for the replies!! 

 

It would be nice to get overall usage statistics.

 

Like # of movies watched, per day, per week, per month etc.

# of movies watcher per user, etc.

 

Thanks, I'll try to add a horizontal bar graph to see the usage stats.

 

 

Would it be possible to adjust the dates to the US standard, and have the user decide?

 

At the moment I hardcoded the date transformation. Good idea to change it to a dynamic string.

 

Thanks Koleckai.

@reggi - might be an idea to put it as a TAB under Users?

.

 

CBers, any idea how I can make my plugin visible as a tab in the left menu bar?

 

 

I'll keep you all posted!



#11 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 40448 posts
  • Local time: 07:41 PM

Posted 26 May 2016 - 05:40 PM

Thanks Koleckai.

@reggi - might be an idea to put it as a TAB under Users?

.

 

That isn't possible at this time.



#12 MSattler OFFLINE  

MSattler

    Advanced Member

  • Alpha Testers
  • 1447 posts
  • Local time: 08:41 PM

Posted 27 May 2016 - 03:21 PM

That isn't possible at this time.

 

should just make the build in statistics/reporting be a plugin, so we can remove it if we want and replace it with something that suits certain folks better?



#13 reggi OFFLINE  

reggi

    Advanced Member

  • Members
  • 277 posts
  • Local time: 01:41 AM
  • LocationAntwerp, Belgium

Posted 31 May 2016 - 12:49 PM

Hi guys,

 

I have a new update for you all.

 

Changelog

 

- Reduced number of API calls

- Added 2 new graphs 

      - view count of last 20 weeks

      - views per day

 

 

574dbff2652e8_Screenshot_4.png

 

I will need to add some more styling to the graphs

    - value displayed in the bar

    - sizing

    - ...

 

Let me know what you think

Attached Files


  • CBers, CashMoney and SikSlayer like this

#14 MSattler OFFLINE  

MSattler

    Advanced Member

  • Alpha Testers
  • 1447 posts
  • Local time: 08:41 PM

Posted 31 May 2016 - 01:56 PM

Hi guys,

 

I have a new update for you all.

 

Changelog

 

- Reduced number of API calls

- Added 2 new graphs 

      - view count of last 20 weeks

      - views per day

 

 

574dbff2652e8_Screenshot_4.png

 

I will need to add some more styling to the graphs

    - value displayed in the bar

    - sizing

    - ...

 

Let me know what you think

 

So the views per week is per user?

 

Anyway I can see total views of all users?



#15 reggi OFFLINE  

reggi

    Advanced Member

  • Members
  • 277 posts
  • Local time: 01:41 AM
  • LocationAntwerp, Belgium

Posted 31 May 2016 - 03:05 PM

Both charts are indeed for the selected user only.

 

I don't know yet how I can keep the UI clean when I add graphs for a total view of all users.

Maybe I can add some tabs or separate pages (one for totals and one with a dropdown for users)

 

Thanks for the tip


  • MSattler likes this

#16 Pais OFFLINE  

Pais

    Advanced Member

  • Members
  • 214 posts
  • Local time: 08:41 PM

Posted 31 May 2016 - 08:22 PM

I like this. Well done.



#17 ozchef OFFLINE  

ozchef

    Advanced Member

  • Members
  • 52 posts
  • Local time: 12:41 AM

Posted 01 June 2016 - 04:34 AM

Good  job



#18 MSattler OFFLINE  

MSattler

    Advanced Member

  • Alpha Testers
  • 1447 posts
  • Local time: 08:41 PM

Posted 01 June 2016 - 10:34 AM

Both charts are indeed for the selected user only.

 

I don't know yet how I can keep the UI clean when I add graphs for a total view of all users.

Maybe I can add some tabs or separate pages (one for totals and one with a dropdown for users)

 

Thanks for the tip

 

Would it be possibly to add a selection in the user drop down for "All users"?

 

And then just go ahead and display the charts, and data.



#19 MSattler OFFLINE  

MSattler

    Advanced Member

  • Alpha Testers
  • 1447 posts
  • Local time: 08:41 PM

Posted 01 June 2016 - 11:24 AM

One other suggestion, it appears in cases where playback fails, it counts towards playback.   For instance one user hit play, playback failed, and they hit play again, and it worked.  Under their stats it shows the movie as being watched twice.



#20 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 40448 posts
  • Local time: 07:41 PM

Posted 01 June 2016 - 11:25 AM

One other suggestion, it appears in cases where playback fails, it counts towards playback.   For instance one user hit play, playback failed, and they hit play again, and it worked.  Under their stats it shows the movie as being watched twice.

 

There isn't going to be anything this plug-in can do about that.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users