Files
plexjs/docs/sdk/models/operations/getactorslibrarymediacontainer.md

8.4 KiB
Raw Blame History

GetActorsLibraryMediaContainer

Example Usage

import { GetActorsLibraryMediaContainer } from "@lukehagar/plexjs/sdk/models/operations";

let value: GetActorsLibraryMediaContainer = {
  size: 50,
  allowSync: false,
  art: "/:/resources/show-fanart.jpg",
  identifier: "com.plexapp.plugins.library",
  mediaTagPrefix: "/system/bundle/media/flags/",
  mediaTagVersion: 1734362201,
  nocache: true,
  thumb: "/:/resources/show.png",
  title1: "TV Series",
  title2: "By Starring Actor",
  viewGroup: "secondary",
  viewMode: "131131",
  directory: [
    {
      fastKey: "/library/sections/2/all?actor=134671",
      thumb:
        "https://metadata-static.plex.tv/e/people/e2a915b537ef720252b6d408bc1f91b3.jpg",
      key: "134671",
      title: "Aaron Paul",
    },
  ],
};

Fields

Field Type Required Description Example
size number ✔️ Number of media items returned in this response. 50
allowSync boolean ✔️ Indicates whether syncing is allowed. false
art string ✔️ URL for the background artwork of the media container. /:/resources/show-fanart.jpg
identifier string ✔️ An plugin identifier for the media container. com.plexapp.plugins.library
mediaTagPrefix string ✔️ The prefix used for media tag resource paths. /system/bundle/media/flags/
mediaTagVersion number ✔️ The version number for media tags. 1734362201
nocache boolean ✔️ Specifies whether caching is disabled. true
thumb string ✔️ URL for the thumbnail image of the media container. /:/resources/show.png
title1 string ✔️ The primary title of the media container. TV Series
title2 string ✔️ The secondary title of the media container. By Starring Actor
viewGroup string ✔️ Identifier for the view group layout. secondary
viewMode string ✔️ Identifier for the view mode. 131131
directory operations.GetActorsLibraryDirectory[] An array of actor entries for media items.