update
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user