187 files
This commit is contained in:
@@ -75,6 +75,7 @@ PROVIDER_ICLOUD = "icloud"
|
||||
PROVIDER_SYNOLOGY = "synology"
|
||||
PROVIDER_NEXTCLOUD = "nextcloud"
|
||||
PROVIDER_ENTE = "ente"
|
||||
PROVIDER_UGREEN = "ugreen"
|
||||
|
||||
# Providers whose coordinator runs a background enrichment pass: per-photo
|
||||
# metadata reads, reverse-geocoding, or both. These are the entries that get
|
||||
@@ -85,6 +86,7 @@ ENRICHING_PROVIDERS = (
|
||||
PROVIDER_IMMICH,
|
||||
PROVIDER_NEXTCLOUD,
|
||||
PROVIDER_ENTE,
|
||||
PROVIDER_UGREEN,
|
||||
)
|
||||
|
||||
# Nextcloud provider - two auth modes against the same PROVIDER_NEXTCLOUD id:
|
||||
@@ -239,6 +241,23 @@ DEFAULT_PHOTOPRISM_IMAGE_SIZE = PHOTOPRISM_IMAGE_PREVIEW
|
||||
PHOTOPRISM_SELECTION_COMPOSITE = "composite"
|
||||
|
||||
|
||||
# UGREEN NAS (UGOS Photos) provider. Talks to the undocumented UGOS Photos
|
||||
# web API (see ``ugreen.py``); login is username + password, with the
|
||||
# password RSA-encrypted before it ever leaves HA, same as the UGOS web app.
|
||||
# TLS certificates are verified unless the user turns that off for a NAS with
|
||||
# a self-signed certificate.
|
||||
CONF_UGREEN_URL = "ugreen_url"
|
||||
CONF_UGREEN_USERNAME = "ugreen_username"
|
||||
CONF_UGREEN_PASSWORD = "ugreen_password"
|
||||
CONF_UGREEN_VERIFY_SSL = "ugreen_verify_ssl"
|
||||
# The album is stored by ``album_uuid`` + ``album_type`` (what the API needs),
|
||||
# so renaming it in UGOS Photos does not break the slideshow. The name is kept
|
||||
# for display only.
|
||||
CONF_UGREEN_ALBUM_UUID = "ugreen_album_uuid"
|
||||
CONF_UGREEN_ALBUM_TYPE = "ugreen_album_type"
|
||||
CONF_UGREEN_ALBUM_NAME = "ugreen_album_name"
|
||||
|
||||
|
||||
FILL_COVER = "cover"
|
||||
FILL_CONTAIN = "contain"
|
||||
FILL_BLUR = "blur"
|
||||
|
||||
Reference in New Issue
Block a user