This commit is contained in:
2025-12-08 12:41:53 +00:00
parent ada27e496d
commit ac999dda59
2 changed files with 4 additions and 2 deletions

View File

@@ -322,6 +322,7 @@ class DownloadManager:
"""Move all albums from downloads/Albums/ to destination path."""
dest_base = os.getenv("ALBUM_DESTINATION_PATH")
if not dest_base:
logger.warning("ALBUM_DESTINATION_PATH not set, skipping move and notification.")
return
download_base = os.getenv("DOWNLOAD_PATH", "/app/downloads")
@@ -370,7 +371,9 @@ class DownloadManager:
def _send_notification(self, content):
url = os.getenv("NOTIFICATION_URL")
logger.info(f"Attempting to send notification to: {url}")
if not url:
logger.warning("NOTIFICATION_URL not set, skipping notification.")
return
try: