Files
plexjs/docs/models/createplaylistrequest.md

2.6 KiB
Raw Blame History

CreatePlaylistRequest

Example Usage

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

let value: CreatePlaylistRequest = {
    title: "<value>",
    type: CreatePlaylistQueryParamType.Photo,
    smart: Smart.One,
    uri: "https://exotic-harm.info",
};

Fields

Field Type Required Description
title string ✔️ name of the playlist
type models.CreatePlaylistQueryParamType ✔️ type of playlist to create
smart models.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