What went wrong?
The duration of audiobooks can show as 0, despite the metadata containing a duration.
I have had a look at the code and have a fix that I shall raise as a PR attached to this issue, however you may have more context around if this is the right fix etc, so happy for it to be dismissed in favour of a better one if it's not quite right!
Steps to reproduce
- Download the ebook from the demo: https://demo.bookorbit.app/book/108?tab=files
- Upload it to a different bookorbit
- Attempt to play it in the webplayer
- Note that the total duration on the right hand side of the slider shows 0
Expected vs actual behavior
The book duration should be present on the player.
Your setup
BookOrbit: 1.10.0
Deployment: Kubernetes Cluster
Browser: Chrome
Relevant logs (optional)
Screenshots (optional)
Before submitting
What went wrong?
The duration of audiobooks can show as 0, despite the metadata containing a duration.
I have had a look at the code and have a fix that I shall raise as a PR attached to this issue, however you may have more context around if this is the right fix etc, so happy for it to be dismissed in favour of a better one if it's not quite right!
Steps to reproduce
Expected vs actual behavior
The book duration should be present on the player.
Your setup
BookOrbit: 1.10.0
Deployment: Kubernetes Cluster
Browser: Chrome
Relevant logs (optional)
Screenshots (optional)
Before submitting