Add Ombi issues counter

This commit is contained in:
Oscar Andersson 2018-12-27 20:02:44 +01:00
parent 1ee99481e4
commit f950b3719f
5 changed files with 46 additions and 2 deletions

View file

@ -61,6 +61,8 @@ class OmbiServer(NamedTuple):
request_type_run_seconds: int = 30
request_total_counts: bool = False
request_total_run_seconds: int = 30
request_issues_counts: bool = False
request_issues_type_run_seconds: int = 30
class TautulliServer(NamedTuple):
@ -106,6 +108,11 @@ class OmbiRequestCounts(NamedTuple):
approved: int = 0
available: int = 0
class OmbiIssuesCounts(NamedTuple):
pending: int = 0
inProgress: int = 0
resolved: int = 0
class TautulliStream(NamedTuple):
rating: str = None