LukeHagar / plexjs

A Typescript SDK for interacting with Plex Media Server
MIT License
21 stars 0 forks source link

[enhancement] Add Guid array to metadata response #16

Open fredodiable opened 6 months ago

fredodiable commented 6 months ago

Can you add the Guid array in response I need these to interact with others services like TMDB API Example (next to Genre and Role)

"Guid": [
  {
    "id": "imdb://tt3359350"
  },
  {
    "id": "tmdb://359410"
  },
  {
    "id": "tvdb://352454"
  }
],

Thanks in advance

LukeHagar commented 6 months ago

Hey @fredodiable,

So if I recall correctly there is actually a collision here, as the plex response has two keys with the same value, but are different cases. In the specification I overrode the value here

fredodiable commented 6 months ago

Unfortunaly, the guids and ratings array are not presents in the response Maybe the name override isn't working properly ?

image