Directory destination /mnt/Musique

This commit is contained in:
2026-03-21 01:46:08 +01:00
parent ee0b0f3abd
commit 653e94463e

2
app.py
View File

@@ -121,7 +121,7 @@ def run_download(download_id, urls, format_type, delete_old, copy_choice):
else: else:
download_dir = os.getenv('DOWNLOAD_DIR_MP3', '/home/jules/Musique/mp3') download_dir = os.getenv('DOWNLOAD_DIR_MP3', '/home/jules/Musique/mp3')
copy_destination = os.getenv('COPY_DESTINATION', '/mnt/data/Musique') copy_destination = os.getenv('COPY_DESTINATION', '/mnt/Musique')
if delete_old and os.path.exists(download_dir): if delete_old and os.path.exists(download_dir):
shutil.rmtree(download_dir) shutil.rmtree(download_dir)