-
Notifications
You must be signed in to change notification settings - Fork 127
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
Enhance AudioParser
#414
Enhance AudioParser
#414
Conversation
All tests pass locally. How do I reproduce the CI failure? |
Hi @domkm, you can ignore the Carthage failure, it only runs properly on a local branch. |
@mickael-menu Any thoughts on this PR? Could you share how to attach a cover image in the parser? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution @domkm, it's much appreciated!
Regarding the cover, you can implement a CoverService
or use one of the existing implementations (GeneratedCoverService
) and pass it to the ServicesBuilder
returned by the AudioParser
. There's an example in the PDFParser
:
cover: document.cover.map(GeneratedCoverService.makeFactory(cover:)), |
Hi @mickael-menu, Sorry for the delay. I attempted to implement the solution as outlined, ran into a few stumbling blocks, and had a few realizations:
Given this, I took a slightly different approach, where the configuration class processes the default manifest in its entirety, instead of processing individual fields. I’m keen to hear your thoughts on this approach. Thanks. |
Thanks for updating the PR @domkm. Doing the metadata computation in one go is fine by me, if that's necessary. 👌 In the meantime, the first 3.0.0-alpha.1 was released and |
I believe the relevant async methods How do you determine what versions to support? My understanding is that iOS <15 represents a small single-digit percent of worldwide usage, at this point. |
We ask the various stakeholders what minimum version they are supporting and unfortunately it's still iOS 13 for now. |
I noticed an issue with bitrates so I'm converting this to a draft until it's fixed. |
I'm not sure how to correctly extract or calculate bitrate, so I'm dropping that functionality for now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @domkm 🙏
This adds common metadata and audio properties to
Metadata
and reading orderLink
s generated byAudioParser
.I didn't see how to add the cover image here, though. Is it possible to do so?