There's a critical issue with subtitle parsing in the CodeStream provider. The problem stems from a mismatch between the expected structure of the subtitle data and the actual structure provided by the API. This issue is causing subtitles to be incorrectly parsed or not parsed at all.
Current behavior - Here is a picture:
Actual API response:
The API is actually providing subtitle data in this format:
Expected behavior:
The code should correctly parse and use the subtitle information provided by the API.
Proposed fix:
Update the subtitle parsing code to match the actual API response.
Steps to reproduce:
Attempt to load subtitles for any media in the CodeStream provider
Observe that subtitles are not correctly loaded or parsed
Potential impact:
This issue affects all users of the CodeStream provider, preventing them from accessing subtitles for their media.
By addressing this issue, we can ensure that subtitles are correctly parsed and available to users of the CodeStream provider. This fix would also bring the CodeStream provider in line with the expected behavior described in the linked issue, contributing to a more consistent subtitle handling across the entire application.
There's a critical issue with subtitle parsing in the CodeStream provider. The problem stems from a mismatch between the expected structure of the subtitle data and the actual structure provided by the API. This issue is causing subtitles to be incorrectly parsed or not parsed at all.
Current behavior - Here is a picture:
Actual API response: The API is actually providing subtitle data in this format:
Expected behavior: The code should correctly parse and use the subtitle information provided by the API.
Proposed fix: Update the subtitle parsing code to match the actual API response.
Steps to reproduce:
Potential impact: This issue affects all users of the CodeStream provider, preventing them from accessing subtitles for their media.
By addressing this issue, we can ensure that subtitles are correctly parsed and available to users of the CodeStream provider. This fix would also bring the CodeStream provider in line with the expected behavior described in the linked issue, contributing to a more consistent subtitle handling across the entire application.