Skip to content
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

Make Metadata.Rating a struct #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dimitarvdimitrov
Copy link

@dimitarvdimitrov dimitarvdimitrov commented Apr 3, 2022

First of all, thanks for writing this library :)

Second, my Plex server is returning an array of items as the rating. An example is [{"image":"themoviedb://image.rating","type":"audience","value":"8.5"}]
This breaks GetSessions(). This change adds a struct to unmarshal a result array item into.

My Plex server is returning an array of items as the rating. An example is `[{"image":"themoviedb://image.rating","type":"audience","value":"8.5"}]`
This breaks GetSessions(). This change adds a struct to unmarshal a result array item into.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant