-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixed the types for metadata json responses #35
Conversation
Hi, I had the type issue with |
I actually observed an additional break on
I don't have a capture of the JSON yet, so I'll be watching for it, seems to be related to a smarttv |
I grabbed a snapshot of a payload that mistypes On first glance it seems to be the only field that doesn't line up with the structs. Would it be at all practical to allow decoding strings into number fields and vice-versa? It seems nothing prevents Plex from making another "small" change like this in the future :( |
Latest push handles the bool or int found in the optimizedForStreaming field in the response JSON from PMS Will wait a bit to merge |
Could this be merged?
Thank you :) |
fixed the types for metadata json responses
Sorry I think at the time I was waiting on a PR from one of the commenters on one of the issues on this repo because their fork looked good. I merged it but there is improvements to be made. |
With PMS 1.24.4.5081, the types that were changed should work for fetching sessions.
This will close #32