Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: make downloading episodes more robust - detect file extensions from the file contents #90

Merged
merged 1 commit into from
Mar 10, 2024

Conversation

chhoumann
Copy link
Owner

We use the first few bytes in the audio file blob to determine the actual file type. This prevents PodNotes from simply failing when the podcast providers don't provide file extensions and only express the MIME type as application/octet-stream.

…from the file contents

We use the first few bytes in the audio file blob to determine the actual file type. This prevents
PodNotes from simply failing when the podcast providers don't provide file extensions and only
express the MIME type as `application/octet-stream`.
Copy link

vercel bot commented Mar 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
podnotes ✅ Ready (Inspect) Visit Preview Mar 10, 2024 2:04pm

@chhoumann chhoumann merged commit 190fef5 into master Mar 10, 2024
3 checks passed
@chhoumann chhoumann deleted the audio-file-detection branch March 10, 2024 14:04
Copy link

🎉 This PR is included in version 2.11.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant