Move hardcoded settings to .env file
This commit is contained in:
@ -1 +1,2 @@
|
||||
playsound==1.3.0
|
||||
dotenv==1.0
|
||||
|
@ -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"
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user