Jump to content

API - PremiereDate missing from "/Items"


VernoxVernax

Recommended Posts

VernoxVernax

I am 99% sure this is just me doing something wrong, but I am just not able to retrieve the `PremiereDate` key from the api.

All my entries have been identified using at least one of the movie/tv databases, but CTRL+F the item list of more than 3k entries results in 0 findings.

the get url: 

https://ip_address/emby/Items?UserId=<user-id>&SearchTeam=%22search%22&Recursive=true&IncludeItemTypes=Series,Movie&api_key=api_key

This is one of the items I receive:

{
  "Name": "Movie",
  "ServerId": "Serverid",
  "Id": "42039",
  "RunTimeTicks": 37647840000,
  "IsFolder": false,
  "Type": "Movie",
  "UserData": {
    "PlaybackPositionTicks": 0,
    "PlayCount": 0,
    "IsFavorite": false,
    "Played": false
  },
  "ImageTags": {
    "Primary": "0ea50c79fc608872db43f26b6b7f270f",
    "Logo": "d1a8571bbc3a9a869c9c2dc09f4ca911",
    "Thumb": "992c73445302516a84912a97652d71f7"
  },
  "BackdropImageTags": [
    "33ccf8b267ad7091c69e1d74c4133c38"
  ],
  "MediaType": "Video"
}

What am I doing wrong this time?

Link to comment
Share on other sites

chef

Add it to the 'Fields' array. The data will appear in the request results.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...