2020-05-30 00:08:05 +00:00
|
|
|
"""Constants for Sonarr."""
|
2022-10-07 22:25:16 +00:00
|
|
|
import logging
|
|
|
|
|
2020-05-30 00:08:05 +00:00
|
|
|
DOMAIN = "sonarr"
|
|
|
|
|
|
|
|
# Config Keys
|
|
|
|
CONF_BASE_PATH = "base_path"
|
|
|
|
CONF_DAYS = "days"
|
|
|
|
CONF_INCLUDED = "include_paths"
|
|
|
|
CONF_UNIT = "unit"
|
|
|
|
CONF_UPCOMING_DAYS = "upcoming_days"
|
|
|
|
CONF_WANTED_MAX_ITEMS = "wanted_max_items"
|
|
|
|
|
|
|
|
# Defaults
|
2022-10-08 01:53:48 +00:00
|
|
|
DEFAULT_NAME = "Sonarr"
|
2020-05-30 00:08:05 +00:00
|
|
|
DEFAULT_UPCOMING_DAYS = 1
|
|
|
|
DEFAULT_VERIFY_SSL = False
|
|
|
|
DEFAULT_WANTED_MAX_ITEMS = 50
|
2022-10-07 22:25:16 +00:00
|
|
|
|
|
|
|
LOGGER = logging.getLogger(__package__)
|