pillarbox-apple
pillarbox-apple copied to clipboard
Crashes due to chapter URN absence in metadata
Is there an existing issue for this?
- [X] I have searched existing issues and found no similar bug report.
Description of the problem
Checking SRF News crash reports with Xcode we found a few issues related to Pillarbox. These should be further investigated.
This issue is related to a force unwrap assuming that a chapter matching a chapter URN is always available in a media composition. Well, it seems that sometimes this breaks for some reason.
Crash logs are attached to this issue.
Relevant stack trace or log output
No response
Reproducibility
Difficult
Steps to reproduce
None yet. We don't know which URN had this problem.
Library version
2.0.0
Operating system
Any
Code sample
No response