Fixing RSS

This commit is contained in:
2025-10-05 15:22:49 +02:00
parent 0b962d4242
commit fb3b011b9e
2 changed files with 9 additions and 1 deletions

View File

@@ -24,7 +24,7 @@ MEDIA_EXTS = {".mp3", ".m4a", ".flac", ".wav", ".ogg", ".opus", ".mp4", ".m4v",
TITLE_MATCH_THRESHOLD = float(os.getenv("RSS_TITLE_MATCH_THRESHOLD", "0.60"))
# Download podcast audio (enclosures) to a local library
# Default to saving directly under LIB (no extra "Podcasts" subfolder)
# Default to LIB; compose maps rss container's /library to the host audio root
PODCASTS_ROOT = Path(os.getenv("PODCASTS_ROOT", str(LIB)))
PODCASTS_PER_SHOW = os.getenv("PODCASTS_PER_SHOW", "true").lower() in {"1","true","yes","y"}
DOWNLOAD_AUDIO = os.getenv("RSS_DOWNLOAD_AUDIO", "true").lower() in {"1","true","yes","y"}