Skip to content

Conversation

@mickael-menu
Copy link
Member

The metadata publication.metadata.duration was used in the audiobook navigator to compute the current percentage progression. However, this value can (and is in production) incorrect. Instead, we need to sum up all the link.duration to calculate the total duration.

The RWPM audiobook profile also specifies:

The duration of an audiobook as expressed in metadata is purely a hint and must not be used by the User Agent for anything else than informing the user.

@mickael-menu mickael-menu temporarily deployed to LCP May 27, 2022 13:45 Inactive
@mickael-menu mickael-menu temporarily deployed to LCP June 11, 2022 16:03 Inactive
@mickael-menu mickael-menu merged commit f31fe79 into develop Jun 11, 2022
@mickael-menu mickael-menu deleted the fix/audiobook-total-duration branch June 11, 2022 16:14
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

Successfully merging this pull request may close these issues.

2 participants