mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 12:37:46 +00:00
2.3 KiB
2.3 KiB
MediaProvider
Example Usage
import { MediaProvider } from "@lukehagar/plexjs/sdk/models/operations";
let value: MediaProvider = {
feature: [
{
type: "<value>",
flavor: "global",
scrobbleKey: "/:/scrobble/new",
unscrobbleKey: "/:/unscrobble/new",
action: [
{
id: "addToContinueWatching",
key: "/actions/addToContinueWatching",
},
],
},
],
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
identifier |
string | ➖ | N/A |
title |
string | ➖ | N/A |
types |
string | ➖ | N/A |
protocols |
string | ➖ | N/A |
feature |
operations.Feature[] | ➖ | N/A |