Removing Podcasts folder

This commit is contained in:
2025-10-05 15:11:10 +02:00
parent 44829d6efb
commit 0b962d4242
4 changed files with 17 additions and 3 deletions

View File

@@ -24,7 +24,8 @@ 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
PODCASTS_ROOT = Path(os.getenv("PODCASTS_ROOT", str(LIB / "Podcasts")))
# Default to saving directly under LIB (no extra "Podcasts" subfolder)
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"}
@@ -457,4 +458,4 @@ if __name__ == "__main__":
print(f"[rss] build error: {e}", flush=True)
if RSS_ONCE:
break
time.sleep(max(1, RSS_SCAN_MINUTES) * 60)
time.sleep(max(1, RSS_SCAN_MINUTES) * 60)