SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations

Notices

SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-23-2014, 10:48 AM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 358
Plugin: Stats for SageTV Web Interface

I threw this together for myself, so I figured I might as well package it up as a plugin. It adds a new page to the SageTV Web Interface with two charts showing some things I found interesting about my recording habits.

As this was only a quick project, I can't promise much from it. But if there are suggestions for more charts that pique my interest, I may add them.

Charts are from chartjs.org
Attached Images
File Type: png screenshot.png (92.6 KB, 423 views)

Last edited by skiingwiz; 11-23-2014 at 10:50 AM. Reason: Add source for charts
Reply With Quote
  #2  
Old 11-23-2014, 11:02 AM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
That's pretty damn cool! I currently have a spreadsheet I manually update with new/changed favorites, showing what channel everything is on, if it's ending and when or has already ended, as well as the package it's on. I use that to know whether or not we need to continue with our current TV package or can up/down-grade. Your graphs serve a very similar purpose.
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7
Reply With Quote
  #3  
Old 11-23-2014, 06:14 PM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 358
Quote:
Originally Posted by Skirge01 View Post
That's pretty damn cool! I currently have a spreadsheet I manually update with new/changed favorites, showing what channel everything is on, if it's ending and when or has already ended, as well as the package it's on. I use that to know whether or not we need to continue with our current TV package or can up/down-grade. Your graphs serve a very similar purpose.
Yes, that's the exact reason I started creating these.
Reply With Quote
  #4  
Old 11-24-2014, 10:34 AM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,185
Will this display historic data from the wiz.bin? or only for new recordings going forward?
__________________
Server: Ubuntu 16.04 running Sage for Linux v9
Reply With Quote
  #5  
Old 11-24-2014, 05:46 PM
jt4242 jt4242 is offline
Sage Advanced User
 
Join Date: Dec 2009
Location: Montreal, Canada
Posts: 157
Sorry if this is an obvious question but....is the plugin available? If so, where? I've searched around a bit but can't find it and it looks like something I could have fun with (and be horrified by when I see how many hours I've spent watching and recording!!)

thanks!
Reply With Quote
  #6  
Old 11-25-2014, 07:46 PM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 358
Quote:
Originally Posted by matt91 View Post
Will this display historic data from the wiz.bin? or only for new recordings going forward?
It uses the SageTV API, so it is pulling historical data from the wiz.bin.
Reply With Quote
  #7  
Old 11-25-2014, 07:47 PM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 358
Quote:
Originally Posted by jt4242 View Post
Sorry if this is an obvious question but....is the plugin available? If so, where? I've searched around a bit but can't find it and it looks like something I could have fun with (and be horrified by when I see how many hours I've spent watching and recording!!)

thanks!
It is available from the plugin manager in SageTV version 7. In the "General" section, it is listed as "Stats for SageTV Web Interface".

I hope that helps you find it.
Reply With Quote
  #8  
Old 11-26-2014, 01:52 AM
jt4242 jt4242 is offline
Sage Advanced User
 
Join Date: Dec 2009
Location: Montreal, Canada
Posts: 157
I swear I looked there and didn't see it - now I do - sorry to have been so blind!
Reply With Quote
  #9  
Old 11-26-2014, 09:35 AM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,185
Quote:
Originally Posted by jt4242 View Post
I swear I looked there and didn't see it - now I do - sorry to have been so blind!
but now sourceforge seems to be down (again). can't install it until it's back up.
__________________
Server: Ubuntu 16.04 running Sage for Linux v9
Reply With Quote
  #10  
Old 11-26-2014, 08:53 PM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 358
Quote:
Originally Posted by matt91 View Post
but now sourceforge seems to be down (again). can't install it until it's back up.
Back up now. I only moved over to sourceforge when google code stopped allowing downloads.
Reply With Quote
  #11  
Old 03-06-2015, 04:10 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,186
So it's cool that it gives you the number, but has anyone found a way to figure out what those shows/recordings are?
Reply With Quote
  #12  
Old 03-08-2015, 05:49 PM
pjpjpjpj pjpjpjpj is offline
Sage Icon
 
Join Date: Feb 2008
Posts: 2,068
Does this require a reboot? I just installed it (via an extender) and it's not showing up (I'd try rebooting myself but the kids are watching something)
__________________
Server: AMD Athlon II x4 635 2.9GHz, 8 Gb RAM, Win 8.1 x64, Java 8, Gigabit network
Drives: Several TB of internal SATA and external USB drives, no NAS or RAID or such...
Software: SageTV v9, stock STV with ADM.
Tuners: 4 tuners via (2) HDHomeruns (100% OTA, DIY antennas in the attic).
Clients: Several HD300s, HD200s, even an old HD100, all on wired LAN. Latest firmware for each.
Reply With Quote
  #13  
Old 03-08-2015, 07:35 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,186
Yeah, I had to restart to get it to work. I think it's only loaded by the webserver on startup.
Reply With Quote
  #14  
Old 03-12-2015, 10:08 AM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 358
Quote:
Originally Posted by stanger89 View Post
So it's cool that it gives you the number, but has anyone found a way to figure out what those shows/recordings are?
Nothing like that in there currently, but it's certainly something I can add.
Reply With Quote
  #15  
Old 03-15-2015, 09:35 PM
david1234 david1234 is offline
Sage Aficionado
 
Join Date: Nov 2007
Location: Beaverton, OR
Posts: 311
This is cool. if you change the by time chart to 2 hour intervals it's ordering the times in ascii order, but I can still read it, so I'm good
Reply With Quote
  #16  
Old 03-17-2015, 08:17 PM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 358
Quote:
Originally Posted by david1234 View Post
This is cool. if you change the by time chart to 2 hour intervals it's ordering the times in ascii order, but I can still read it, so I'm good
When I can find some time, I'll fix that.
Reply With Quote
  #17  
Old 04-03-2015, 08:25 AM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 358
New version is available (v1.1.0)
  • Fix time ordering on Recordings by Time of Day
  • Add new chart for popular shows by channel

Check out the new chart.

I'm not a web designer, so feedback is welcome.
Reply With Quote
  #18  
Old 04-06-2015, 10:14 AM
pjpjpjpj pjpjpjpj is offline
Sage Icon
 
Join Date: Feb 2008
Posts: 2,068
Love it, thanks for the hard work.

One request: in the "customize" portion at the bottom, could you add a checkbox (or drop-down yes/no, or whatever's easiest to put in) for "Hide 'Other'"?

The reason is that, in my ranking of shows, "Other" is way more than everything else. I don't know what all falls into "Other" (I do have one daily manual recording, it's probably that, but may include other stuff as well). But when I look at my hours, "Other" is like 6x more than everything else, so it skews the graph such that the vertical scale is really large and all the other shows are just little blips across the bottom. If "Other" could be omitted, I'd get a much better "scaling" of the numbers, if that makes sense.
__________________
Server: AMD Athlon II x4 635 2.9GHz, 8 Gb RAM, Win 8.1 x64, Java 8, Gigabit network
Drives: Several TB of internal SATA and external USB drives, no NAS or RAID or such...
Software: SageTV v9, stock STV with ADM.
Tuners: 4 tuners via (2) HDHomeruns (100% OTA, DIY antennas in the attic).
Clients: Several HD300s, HD200s, even an old HD100, all on wired LAN. Latest firmware for each.
Reply With Quote
  #19  
Old 04-06-2015, 08:21 PM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 358
Quote:
Originally Posted by pjpjpjpj View Post
Love it, thanks for the hard work.

One request: in the "customize" portion at the bottom, could you add a checkbox (or drop-down yes/no, or whatever's easiest to put in) for "Hide 'Other'"?

The reason is that, in my ranking of shows, "Other" is way more than everything else. I don't know what all falls into "Other" (I do have one daily manual recording, it's probably that, but may include other stuff as well). But when I look at my hours, "Other" is like 6x more than everything else, so it skews the graph such that the vertical scale is really large and all the other shows are just little blips across the bottom. If "Other" could be omitted, I'd get a much better "scaling" of the numbers, if that makes sense.
Good suggestion. I will add that. I may actually hide the "Other" by default, since your situation is probably similar for most people. My charts look similar, so it's good for me too.

Last edited by skiingwiz; 04-18-2015 at 08:55 PM. Reason: grammar
Reply With Quote
  #20  
Old 04-18-2015, 08:56 PM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 358
Quote:
Originally Posted by skiingwiz View Post
Good suggestion. I will add that. I may actually hide the "Other" by default, since your situation is probably similar for most people. My charts look similar, so it's good for me too.
Version 1.2.0 is now available and adds this functionality. The 'Other' category is now hidden by default. Use the 'Customize this Chart' link to show the 'Other' category if desired.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Plugin: Web User Interface for SageTV 2.2-6.6 (V2.25 18 Sep 2009) nielm SageTV Customizations 2644 10-24-2016 10:18 AM
Plugin: SageTV Web Interface V2 for Jetty jreichen SageTV Customizations 256 02-09-2014 08:05 AM
Plugin: Mobile Web Interface 1.2 jreichen SageTV Customizations 281 06-17-2011 02:20 PM
Problems with the Jetty webserver plugin and SageTV web interface hagur SageTV v7 Customizations 0 06-06-2011 05:28 PM
SageTV Plugin Developers: Any way to see stats for your plugin? mkanet SageTV Software 4 12-12-2010 10:33 PM


All times are GMT -6. The time now is 02:20 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.