added stats pull from tautulli -,-

This commit is contained in:
Nicholas St. Germain 2018-12-18 20:30:04 -06:00
parent 831498f89b
commit 67b98d57ea
5 changed files with 49 additions and 3 deletions

View file

@ -103,6 +103,8 @@ if __name__ == "__main__":
TAUTULLI = TautulliAPI(server, DBMANAGER, GEOIPHANDLER)
if server.get_activity:
schedule.every(server.get_activity_run_seconds).seconds.do(threaded, TAUTULLI.get_activity)
if server.get_stats:
schedule.every(server.get_stats_run_seconds).seconds.do(threaded, TAUTULLI.get_stats)
if CONFIG.radarr_enabled:
for server in CONFIG.radarr_servers: