import os from pathlib import Path # Local config. Paths can be overridden via environment variables. local_library_path = Path(os.environ.get("MUSIC_LIBRARY_PATH", "~/Music")).expanduser() work_dir = Path(os.environ.get("WORK_DIR", "./work_dir/new")) # Spotify app credentials. NEVER hardcode these here — set them in the # environment (see .env.example) so they don't end up in version control. # export SPOTIFY_CLIENT_ID=... # export SPOTIFY_CLIENT_SECRET=... client_id = os.environ.get("SPOTIFY_CLIENT_ID") client_secret = os.environ.get("SPOTIFY_CLIENT_SECRET")