Initial commit, prod ready

This commit is contained in:
2026-02-22 23:18:57 -05:00
commit 0d03be47a0
41 changed files with 5623 additions and 0 deletions

13
backend/config.py Normal file
View File

@@ -0,0 +1,13 @@
import os
from pathlib import Path
from dotenv import load_dotenv
load_dotenv()
# Where downloaded music is stored — must match your Plex library path
MUSIC_DIR = Path(os.getenv("MUSIC_DIR", "./Music")).resolve()
MUSIC_DIR.mkdir(parents=True, exist_ok=True)
# Temp working directory for in-progress downloads
TEMP_DIR = Path(os.getenv("TEMP_DIR", "./tmp")).resolve()
TEMP_DIR.mkdir(parents=True, exist_ok=True)