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

Add episode duration to the DB #1361

Open
wesbos opened this issue Nov 6, 2023 · 1 comment
Open

Add episode duration to the DB #1361

wesbos opened this issue Nov 6, 2023 · 1 comment
Assignees
Milestone

Comments

@wesbos
Copy link
Collaborator

wesbos commented Nov 6, 2023

Episode duration isn't something we have saved. IT would need to be calculated at import.

I initially thought we could do this when we get the transcripts, because we have ffmpeg out. BUT I think we can do it without ffmpeg?

Perhaps though the metadata of the mp3?

https://github.com/transitive-bullshit/get-mp3-duration
https://stackoverflow.com/questions/50503460/get-duration-of-remote-mp3-file-without-full-download

@wesbos
Copy link
Collaborator Author

wesbos commented Nov 13, 2023

Scott also mentioned Run https://www.npmjs.com/package/get-audio-duration on import / sync

@stolinski stolinski self-assigned this Jun 27, 2024
@stolinski stolinski added this to the 2.1 milestone Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants