Commit Graph

18 Commits

Author SHA1 Message Date
blacktwin
49a15fa3fa moving vars
moved colors into rich notifcation area
moved end and start into time/date calculation area
2020-05-10 23:18:57 -04:00
blacktwin
ad2120203c move color vars to top
remove "User: " from USER_STAT
2020-05-10 22:30:28 -04:00
blacktwin
a8d8b1b66f adding rich notifications 2020-05-10 22:27:43 -04:00
blacktwin
ad47db6587 adding call to home_stats
fix time calculations
add library refresh
2020-02-14 16:25:04 -05:00
blacktwin
ff0e834b9c Overhaul
reuse classes and methods from kill_stream
still using old methods for calculations
frameworks for using discord or slack from kill_stream
using plexapi CONFIG file for url and apikey
2020-02-13 09:30:57 -05:00
blacktwin
7b0befad71 Corrections for issue #207 2020-02-11 16:29:27 -05:00
Landon Abney
2be0e376f8
Massive style cleanup
Adds a basic `setup.cfg` file with configurations for flake8 and pylama, 
fixes some basic issues with essentially every file including:
* Many, many, whitespace line cleanups
* Several unused variables and imports
* Missing coding and shabang lines
* Minor style fixes to more closely align with PEP8
* Turn `print` into function calls for Python 2/3 compat
* A few minor bugs
  * Things like using an undefined `i` in `stream_limiter_ban_email.py`
2019-06-20 23:55:11 -07:00
Blacktwin
bdff121f5b PlexPy names to tautulli. Agent_id to notifier_id. 2018-03-29 09:48:21 -04:00
blacktwin
78309d9468 Update weekly_stats_reporting.py 2017-09-14 20:06:40 -04:00
blacktwin
f30b12b791 loop and def reduction
removed 1 loop and 2 def. Added a lot more prints.....
2017-09-14 20:06:16 -04:00
blacktwin
f18dc6bcae no refresh 2017-09-14 19:47:12 -04:00
blacktwin
67bc50f95c Update weekly_stats_reporting.py 2017-09-14 16:35:42 -04:00
blacktwin
eeee1e30bc Update weekly_stats_reporting.py 2017-09-14 14:03:17 -04:00
blacktwin
656e2c9f24 Update weekly_stats_reporting.py 2017-09-14 13:59:50 -04:00
blacktwin
d78754d16c Update weekly_stats_reporting.py 2017-09-14 13:58:55 -04:00
blacktwin
bd28f84028 Fix for user_stats
user_stats was not pulling all dates only the one date. Changed formatting of Date in BODY_TEXT. Clean up. Added custom days arg.
2017-09-14 13:55:08 -04:00
blacktwin
6fd762e95a removing logging
Haven't decide if I want to add logging and outputting to a json file for previous week comparisons (growth - shrink).
2017-09-13 13:35:47 -04:00
blacktwin
ea02818947 Move to reporting 2017-09-13 13:28:39 -04:00