Media & StreamingDocumentedScanned
plex
Control Plex Media Server - browse libraries, search, play media, manage playback.
Share:
Installation
npx clawhub@latest install plexView the full skill documentation and source below.
Documentation
Plex Media Server
Control Plex Media Server using the Plex API.
Setup
Set environment variables:
PLEX_SERVER: Your Plex server URL (e.g.,) -PLEX_TOKEN: Your Plex auth token (find it at plex.tv/claim or in Plex app XML) ## Common Commands ### Get Server Info __CODE_BLOCK_0__ ### Browse Libraries __CODE_BLOCK_1__ ### List Library Contents __CODE_BLOCK_2__ ### Search __CODE_BLOCK_3__ ### Get Recently Added __CODE_BLOCK_4__ ### Get On Deck (Continue Watching) __CODE_BLOCK_5__ ### Get Active Sessions (What's Playing Now) __CODE_BLOCK_6__ ### List Available Clients/Players __CODE_BLOCK_7__ ## Library Section Types - Movies (usually section 1) - TV Shows (usually section 2) - Music - Photos ## Notes - Add-H "Accept: application/json"for JSON output (default is XML) - Library section keys (1, 2, 3...) vary by server setup — list sections first - Media keys look like/library/metadata/12345`- Always confirm before starting playback on a device
- Get your token: plex.tv → Account → Authorized Devices → XML link