When trying to use the JS SDK over the past two days I've run into NUMEROUS type errors. While I initially assumed this was a result of my outdated plex server (1.40.2.8395) I cannot believe that an update would switch to only integer framerates.
I have found that the /library/onDeck endpoint returns a large number of integer strings where the schema calls for raw integers.
The schema for the /library/metadata/{ratingKey} endpoint believes that object.MediaContainer.Metadata[0].Media[0].Part[1].Stream[0].frameRate should be an integer despite the framerate being 23.976.
Upon examining the spec to try and fork & merge a fix, I've found that the spec is correct and the SDK is changing the schema. I will move over there for an issue.
When trying to use the JS SDK over the past two days I've run into NUMEROUS type errors. While I initially assumed this was a result of my outdated plex server (1.40.2.8395) I cannot believe that an update would switch to only integer framerates.
I have found that the /library/onDeck endpoint returns a large number of integer strings where the schema calls for raw integers.
The schema for the /library/metadata/{ratingKey} endpoint believes that object.MediaContainer.Metadata[0].Media[0].Part[1].Stream[0].frameRate should be an integer despite the framerate being 23.976.