"""Build CaseTurn RSS feed (Podcast 2.0)"""
import json, hashlib, os
BASE = "/home/workspace/ManimVideos/case-turn-podcast"
POD = json.load(open(BASE + "/podcast.json"))["podcast"]
EP = json.load(open(BASE + "/episode_01.json"))
AUDIO = BASE + "/episodes/" + EP["audio_file"]
AUDIO_SIZE = os.path.getsize(AUDIO)
DUR = EP["duration_seconds"]
COVER_URL = "https://zo.pub/cashlessconsumer/caseturn-podcast/cover.jpg"
B64 = base64 = hashlib.sha256(AUDIO.encode()).hexdigest()[:16]
