Skip to content

Output seconds on IIIF manifests#1058

Merged
donaldgray merged 1 commit intodevelopfrom
bugfix/duration
Oct 14, 2025
Merged

Output seconds on IIIF manifests#1058
donaldgray merged 1 commit intodevelopfrom
bugfix/duration

Conversation

@donaldgray
Copy link
Copy Markdown
Member

Fixes #1057
Fixes #985

Previous value was using stored Duration as-is but this is milliseconds. Also ensures that 0 values are omitted from output as IIIF spec states that duration must be a postitive number.

Other changes in test class were to remove warnings around nullable properties.

Previous value was using stored Duration as-is but this is milliseconds
@donaldgray donaldgray requested a review from a team as a code owner October 13, 2025 14:51
@donaldgray donaldgray merged commit 633c541 into develop Oct 14, 2025
9 of 10 checks passed
@donaldgray donaldgray deleted the bugfix/duration branch October 14, 2025 08:56
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.

duration value is milliseconds File-only A/V asset in manifest contains "rendering" object with "duration":0.0

2 participants