Move hardcoded settings to .env file

This commit is contained in:
2023-03-06 11:15:15 +01:00
parent 3a85f69bc3
commit f7ad0ea237
6 changed files with 32 additions and 10 deletions

View File

@ -2,10 +2,12 @@
import os
import subprocess
from dotenv import load_dotenv
load_dotenv()
DESTINATION_FOLDER = os.environ["TRANSFER_DESTINATION_FOLDER"]
DESTINATION_FOLDER = (
"../transcoder/raw" # pi@192.168.xxx:/home/pi/dvd_rip/transcoder/raw
)
RIPPED_DIR = "ripped"