Fix sonarr configuration (#6754)

* Fix sonarr configuration

* Close configuration tag
This commit is contained in:
cgtobi 2018-10-13 21:39:56 +02:00 committed by Fabian Affolter
parent 1bf8349176
commit efc99cedfe

View File

@ -27,24 +27,64 @@ sensor:
api_key: YOUR_API_KEY api_key: YOUR_API_KEY
``` ```
Configuration variables: {% configuration %}
api_key:
- **api_key** (*Required*): Your Sonarr API key, found in Settings > General in the Sonarr Web UI. required: true
- **host** (*Optional*): The host Sonarr is running on. Defaults to `localhost`. type: string
- **port** (*Optional*): The port Sonarr is running on. Defaults to 8989. description: "Your Sonarr API key, found in Settings > General in the Sonarr Web UI."
- **monitored_conditions** array (*Optional*): Conditions to display on the frontend. Defaults to `upcoming`. host:
- **series**: The number of series in Sonarr. required: false
- **upcoming**: The number of upcoming episodes. type: string
- **wanted**: The number of episodes still 'wanted'. description: The host Sonarr is running on.
- **queue**: The number of episodes in the queue. default: "`localhost`"
- **commands**: The number of commands being run. port:
- **diskspace**: Available disk space. required: false
type: integer
- **urlbase** (*Optional*): The base URL Sonarr is running under. Defaults to `/`. description: The port Sonarr is running on.
- **days** (*Optional*): How many days to look ahead for the upcoming sensor, 1 means today only. Defaults to 1. default: 8989
- **include_paths** (*Optional*): Array of file paths to include when calculating diskspace. Leave blank to include all. monitored_conditions:
- **unit**: (*Optional*): The unit to display disk space in. Defaults to GB. type: list
- **ssl**: boolean (*Optional*): Whether or not to use SSL for Sonarr. required: false
description: Conditions to display on the frontend.
default: "`upcoming`"
keys:
series:
description: The number of series in Sonarr.
upcoming:
description: The number of upcoming episodes.
wanted:
description: The number of episodes still 'wanted'.
queue:
description: The number of episodes in the queue.
commands:
description: The number of commands being run.
diskspace:
description: Available disk space.
urlbase:
required: false
type: string
description: The base URL Sonarr is running under.
default: "`/`"
days:
required: false
type: integer
description: How many days to look ahead for the upcoming sensor, 1 means today only.
default: 1
include_paths:
required: false
type: list
description: Array of file paths to include when calculating diskspace. Leave blank to include all.
unit:
required: false
type: string
description: The unit to display disk space in.
default: GB
ssl:
required: false
type: boolean
description: Whether or not to use SSL for Sonarr.
default: false
{% endconfiguration %}
## {% linkable_title Examples %} ## {% linkable_title Examples %}