From a3fc70c41b525ba99a9d2bd1484da0420aa68631 Mon Sep 17 00:00:00 2001 From: Derek Cooper Date: Mon, 8 Jun 2026 13:13:10 -0700 Subject: [PATCH] added the auto clear back in and change the delete file on trashcan to false --- Metube/.env.example | 5 ++++- Metube/docker-compose.yaml | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Metube/.env.example b/Metube/.env.example index 3677337..e31e1cc 100644 --- a/Metube/.env.example +++ b/Metube/.env.example @@ -28,4 +28,7 @@ METUBE_PORT=8081 # --- Download Behavior --- # Delete the file from disk when trashed in the UI (true/false) -METUBE_DELETE_FILE_ON_TRASHCAN=true \ No newline at end of file +METUBE_DELETE_FILE_ON_TRASHCAN=false + +# Seconds after completion before a finished download is removed from the queue (3600 = 1 hour, 0 = disabled) +METUBE_CLEAR_COMPLETED_AFTER=3600 \ No newline at end of file diff --git a/Metube/docker-compose.yaml b/Metube/docker-compose.yaml index 8b75013..d3c09bb 100644 --- a/Metube/docker-compose.yaml +++ b/Metube/docker-compose.yaml @@ -6,7 +6,8 @@ services: - PUID=${METUBE_PUID:-1000} - PGID=${METUBE_PGID:-1000} - UMASK=${METUBE_UMASK:-022} - - DELETE_FILE_ON_TRASHCAN=${METUBE_DELETE_FILE_ON_TRASHCAN:-true} + - DELETE_FILE_ON_TRASHCAN=${METUBE_DELETE_FILE_ON_TRASHCAN:-false} + - CLEAR_COMPLETED_AFTER=${METUBE_CLEAR_COMPLETED_AFTER:-3600} volumes: - ${METUBE_DOWNLOAD}:/downloads ports: