Add Post Processing Jobs to NZBGet component (#29027)

* Added Post Processing Jobs to NZBGet component

In the current implementation of the NZBGet component there is no way of
knowing whether NZBGet is still in the Post Processing phase of a download
job. This can be very useful information. For instance when you want to
suspend the NZBGet service when all queue items have been completed.

This change adds that additional sensor.

* Renamed Count to Jobs in NZBGet component
pull/29114/head
Alex van den Hoogen 2019-11-26 20:31:20 +01:00 committed by Paulus Schoutsen
parent 078a7e446d
commit fe626f5669
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ SENSOR_TYPES = {
"download_rate": ["DownloadRate", "Speed", "MB/s"],
"download_size": ["DownloadedSizeMB", "Size", "MB"],
"free_disk_space": ["FreeDiskSpaceMB", "Disk Free", "MB"],
"post_job_count": ["PostJobCount", "Post Processing Jobs", "Jobs"],
"post_paused": ["PostPaused", "Post Processing Paused", None],
"remaining_size": ["RemainingSizeMB", "Queue Size", "MB"],
"uptime": ["UpTimeSec", "Uptime", "min"],