You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 15, 2019. It is now read-only.
All the media items (podcast episode, meditation, liturgy item) display a duration, but this is not yet part of the API spec. It could be determined from the media downloaded from the media URL, but it would be nice to be able to display this in the app before the entire file is downloaded - particularly for a podcast, where the media files can be quite large. Since we are the CMS, we can determine these when files are added, allowing the app to not worry about this calculation for every media file.
As for format: I suggest an ISO 8601 duration string (easy to handle in the app via momentjs).
Plan of action
Criteria to close
Podcast episodes, meditations, and liturgy items return a duration attribute, which is an ISO 8601 duration string.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Motivation
All the media items (podcast episode, meditation, liturgy item) display a duration, but this is not yet part of the API spec. It could be determined from the media downloaded from the media URL, but it would be nice to be able to display this in the app before the entire file is downloaded - particularly for a podcast, where the media files can be quite large. Since we are the CMS, we can determine these when files are added, allowing the app to not worry about this calculation for every media file.
As for format: I suggest an ISO 8601 duration string (easy to handle in the app via momentjs).
Plan of action
Criteria to close
duration
attribute, which is an ISO 8601 duration string.The text was updated successfully, but these errors were encountered: