Menu

folderblog 0.2.8: Podcast setup that works on real R2, and a Subscribe box
🎙️

folderblog 0.2.8: Podcast setup that works on real R2, and a Subscribe box

DEV Community: rust·Tim Apple·2 days ago
#jPFbPxFS
#devtorust#devto#dev#folderblog#file
Reading 0:00
15s threshold

folderblog 0.2.8 is a small fix release on top of yesterday’s 0.2.7 , the one that turned a blog folder into a podcast. If you tried folderblog podcast setup and it stopped at the “find it again” step, this is the release you want.

Podcast setup works with real Cloudflare R2

After setup uploads a small test file, it checks that the file can be found again. On real Cloudflare R2 that check failed even though the upload had worked. R2 compresses some files on the way out, and when it does, its reply leaves out the file size, so folderblog read the missing size as a missing file.

folderblog now asks R2 for uncompressed replies, so the size comes back. If a reply still has no size, any successful answer counts as “the file is there”, and the size is only compared when R2 sends one. The same fix applies when a deploy checks whether an episode’s audio is already uploaded, so a working upload isn’t treated as missing.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.