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

3.3 KiB
Raw Blame History

CreatePlaylistRequest

Example Usage

import { CreatePlaylistQueryParamType, CreatePlaylistRequest, Smart } from "@lukehagar/plexjs/sdk/models/operations";

let value: CreatePlaylistRequest = {
  title: "<value>",
  type: CreatePlaylistQueryParamType.Audio,
  smart: Smart.Zero,
  uri: "https://courageous-futon.net",
};

Fields

Field Type Required Description
title string ✔️ name of the playlist
type operations.CreatePlaylistQueryParamType ✔️ type of playlist to create
smart operations.Smart ✔️ whether the playlist is smart or not
uri string ✔️ the content URI for the playlist
playQueueID number the play queue to copy to a playlist