> For the complete documentation index, see [llms.txt](https://wiki.crosswatch.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.crosswatch.app/crosswatch/settings/connections/media-servers/plex.md).

# Plex

{% tabs %}
{% tab title="End users" %}

<figure><img src="https://565675962-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3rh5THg1PdhVsBt3GALo%2Fuploads%2Fn09lkApXzMd3fOnSC65B%2Fimage.png?alt=media&amp;token=d4ebff00-456e-48e7-983b-68b37a930720" alt=""><figcaption></figcaption></figure>

### What CrossWatch can sync

**Read** brings data into CrossWatch; **Write** sends changes to this provider.

| Feature    | Read | Write | Notes                                                                                                                                        |
| ---------- | ---- | ----- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| Watchlist  | Yes  | Yes   | Movies and shows in the authenticated Plex account.                                                                                          |
| History    | Yes  | Yes   | Library movies and episodes; reads retained plays, writes watched state.                                                                     |
| Ratings    | Yes  | Yes   | Movies, shows, seasons and episodes. Shared-server tokens cannot sync personal ratings.                                                      |
| Progress   | Yes  | Yes   | Resume positions for library movies and episodes.                                                                                            |
| Playlists  | Yes  | Yes   | Server playlists, manual collections and owned cloud Lists; smart resources are read-only. Cloud Lists need the selected user’s own account. |
| Collection | Yes  | No    | Selected library inventory; source only. Does not add or delete media files.                                                                 |

**Live scrobbling:** Watcher source and scrobble destination. Personal watchlist and ratings features require the appropriate Plex account; see the user restrictions below.

See the [synchronization guide](https://wiki.crosswatch.app/crosswatch/settings/synchronization/media-servers/plex.md) for matching rules and feature restrictions.

### Connect Plex

1. Click **Connect Plex**.
2. A new tab opens and asks for a PIN.
3. Copy the PIN from **Link code** in CrossWatch. Paste it into the Plex page.
4. After Plex accepts the PIN, close the Plex tab.
5. Back in CrossWatch, open **Settings** for Plex.
6. Verify these values are filled:
   * **Server ID**
   * **Username**
   * **Account ID**
7. Click **Save**.

### Plex users: owner, managed users, and friends

Plex can return several user types in the user list:

* **Owner** — the Plex account that authenticated CrossWatch
* **Managed user** — a user inside the owner’s Plex Home
* **Friend or shared user** — a separate Plex account with access to one or more shared libraries

A friend or shared account is **not** the same as a Plex Home managed user.

#### Friend and shared account support

CrossWatch stores the token from the Plex account that completed the sign-in flow.

When you select a friend or shared user, CrossWatch can try to use Plex’s server-scoped shared token for that user.

That token is limited to your Plex Media Server.

It does **not** give CrossWatch full access to the friend’s Plex account, profile, watchlist, ratings, or other cloud data.

Current support:

* ✅ **History** — supported
* ✅ **Progress** — supported
* ❌ **Ratings** — not supported
* ❌ **Watchlist** — not supported

{% hint style="warning" %}
This depends on Plex’s shared-server token behavior.

Plex has changed this path before and may change or remove it again.
{% endhint %}

When requested user scope cannot be applied, CW stops the operation.

#### Plex Home managed users

Plex Home managed users work differently from friends.

CW can try to switch the authenticated Plex Home account into the selected managed user.

If the managed user is protected by a Plex Home PIN, configure the correct PIN too.

Use the server owner’s Plex profile for Plex Home managed users.

Use a separately authenticated Plex profile for friends when you need personal account features like watchlist or ratings.

### Cloud Lists

Use [Playlists](https://wiki.crosswatch.app/crosswatch/main-dashboard/navigation/playlists.md#plex) and choose **Cloud list** to manage an account list, including titles outside your server. A server is not required, but the selected user must be connected with their own Plex account. Managed Home users and server-scoped shared-user tokens cannot use cloud Lists.

New cloud Lists default to **Private**. Other choices are **Friends**, **Friends of friends**, **Anyone signed into Plex** and **Public**. Only owned lists can be changed.

### Optional: whitelisting (libraries)

If you don’t see your libraries:

1. Click **Load Libraries**.
2. Pick the libraries you want CW to use.
3. Click **Save**.

Guide: [Library Whitelisting](https://wiki.crosswatch.app/crosswatch/settings/connections/library-whitelisting.md).
{% endtab %}

{% tab title="Power users" %}

### Config keys

Stored under:

* `plex.*`

Common keys:

* `plex.account_token`
* `plex.server_id` / `plex.account_id` (when present)

### Related docs

* Sync module: [PLEX module](https://wiki.crosswatch.app/crosswatch/settings/synchronization/media-servers/plex.md)
* Adapter: [Adapter: Plex](https://wiki.crosswatch.app/crosswatch/settings/synchronization/media-servers/plex.md)
  {% endtab %}
  {% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://wiki.crosswatch.app/crosswatch/settings/connections/media-servers/plex.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
