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(api): audio-source metadata enriched with file byteSize #723

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

trm217
Copy link
Contributor

@trm217 trm217 commented Feb 23, 2024

In addition to the durationMS being fetched for an attached audioSource, the byteSize is now also attached to the commit meta-data.

@trm217
Copy link
Contributor Author

trm217 commented Feb 23, 2024

Mit diesem Artikel getestet: https://publikator.republik.love/repo/republik/love-article-adf/tree
Result:
CleanShot 2024-02-23 at 13 10 40@2x

@trm217 trm217 requested a review from hdahlheim February 23, 2024 12:11
@trm217 trm217 marked this pull request as ready for review February 23, 2024 12:11
Copy link
Contributor

@lucianak lucianak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@@ -102,7 +104,7 @@ const handleBatch = async (rows: any[], count: number, pgdb: any) => {
return
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This script probably woudln't work correctly like this, you would also need to check for audioSourceByteSize in the checks above. But afaik this script was used to add a synthetic voice to all past articles, so probably it isn't that relevant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app: api GraphQL-API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants