Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器clawhub未标认证来源可访问clear审计通过

plex-ctl丛控制

Agent Skill

plex-ctl 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

22,546

周安装

921

GitHub Stars

1

下载量

7,221
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:plex-ctl(丛控制)
来源仓库:https://github.com/akivasolutions/plex-ctl
安装命令:
openclaw skills install plex-ctl
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install plex-ctl

简介

用于通过本地网络上的 Plex API 搜索、播放和控制 Plex 媒体服务器和客户端的命令行工具。

SKILL.md

plexctl — Plex Media Server Control

Standalone CLI for controlling Plex Media Server and clients via the Plex API

When to Use

Trigger phrases:

  • "play [title] on Plex"
  • "search Plex for [query]"
  • "what's playing on Plex"
  • "pause/resume Plex"
  • "show me what's on deck"
  • "what's new on Plex"
  • "list Plex clients"
  • "tell me about [movie/show]"

Use this skill when:

  • User wants to play specific content on Plex
  • User wants to search their Plex library
  • User wants to control playback (pause, resume, stop, next, prev)
  • User wants to see what's currently playing
  • User wants to browse recently added content
  • User wants to see continue watching (on-deck)
  • User wants detailed info about a title

Don't use this skill when:

  • User wants Apple TV-specific navigation (use ClawTV instead)
  • User wants vision-based automation (use ClawTV instead)
  • User wants to manage Plex server settings (use Plex web UI)

Commands

Setup

plexctl setup

Interactive first-time setup:

  • Plex server URL (e.g., http://192.168.86.86:32400)
  • Plex token
  • Default client selection

Playback

# Play a movie (fuzzy search)
plexctl play "Fight Club"
plexctl play "inception"

# Play specific TV episode
plexctl play "The Office" -s 3 -e 10
plexctl play "Westworld" --season 2 --episode 6

# Play on specific client (overrides default)
plexctl play "Matrix" -c "Living Room TV"

Playback Control

plexctl pause              # Pause current playback
plexctl resume             # Resume playback
plexctl stop               # Stop playback
plexctl next               # Skip to next track/episode
plexctl prev               # Go to previous track/episode

Search & Discovery

# Search across all libraries
plexctl search "matrix"
plexctl search "breaking bad"

# Recently added content
plexctl recent             # Last 10 items
plexctl recent -n 20       # Last 20 items

# Continue watching (on-deck)
plexctl on-deck

# What's currently playing
plexctl now-playing

# Detailed info about a title
plexctl info "Inception"
plexctl info "The Office"

Library Management

# List all libraries
plexctl libraries

# List available clients
plexctl clients

Setup Instructions

1. Install Dependencies

pip install plexapi

2. Run Setup

plexctl setup

You'll need:

  • Plex server URL: Usually http://[local-ip]:32400
  • Plex token: Get from Settings → Account → Authorized Devices

- Or from browser URL when logged into Plex Web - Look for X-Plex-Token parameter

  • Default client: The tool will discover available clients

3. Verify

plexctl clients            # Should list your devices
plexctl libraries          # Should list your libraries
plexctl search "test"      # Should return results

Required Credentials

Config stored in ~/.plexctl/config.json:

{
  "plex_url": "http://192.168.86.86:32400",
  "plex_token": "your-plex-token-here",
  "default_client": "Apple TV"
}

Getting Your Plex Token

Method 1: Settings Page

  1. Log into Plex Web (app.plex.tv)
  2. Settings → Account → Authorized Devices
  3. Look for your token in the page source or URL

Method 2: Browser URL

  1. Open any Plex Web page while logged in
  2. Check the URL for X-Plex-Token=...
  3. Copy the token value

Method 3: XML Direct Method

  1. Navigate to: http://[your-plex-ip]:32400/?X-Plex-Token=
  2. View page source
  3. Look for authToken attribute

Privacy & Data

  • Local only: Connects directly to your Plex Media Server on your local network
  • No cloud APIs: All communication is local (unless using Plex cloud discovery as fallback)
  • No external services: No data sent to third parties
  • No telemetry: No usage tracking or analytics
  • Config storage: Only stores Plex URL, token, and default client locally

Note: Plex cloud discovery (MyPlex) is only used as a fallback when local GDM discovery fails. All media playback is direct to your local server.

Common Use Cases

1. Quick Movie Playback

plexctl play "Fight Club"

Searches library, finds best match, starts playing on default client.

2. Binge Watching TV Shows

plexctl play "Breaking Bad" -s 1 -e 1
# ... watch episode ...
plexctl next                    # Next episode
plexctl next                    # Next episode

3. Continue Watching

plexctl on-deck                 # See what's in progress
plexctl play "Show Name"        # Resume from where you left off

4. Browse New Content

plexctl recent                  # See what's new
plexctl info "Movie Title"      # Get details
plexctl play "Movie Title"      # Watch it

5. Multi-Client Control

plexctl clients                           # List all clients
plexctl play "Movie" -c "Bedroom TV"      # Play on specific client
plexctl pause -c "Living Room TV"         # Pause specific client

6. Library Search

plexctl search "christopher nolan"        # Find all Nolan films
plexctl search "breaking"                 # Fuzzy search
plexctl info "Inception"                  # Get details before watching

Fuzzy Matching

The play and info commands use fuzzy search:

  • "fight club" → "Fight Club (1999)"
  • "inception" → "Inception"
  • "office" → "The Office (U.S.)"

Exact matches are prioritized over partial matches.

Error Handling

Client not found:

Error: Client 'Apple TV' not found

Available clients:
  Local:
    • Living Room TV (Plex for Apple TV)
    • Bedroom (Plex Web)

No results:

No results found for: xyz123

Connection failed:

Error connecting to Plex server: [Errno 61] Connection refused
URL: http://192.168.86.86:32400
Check your plex_url and plex_token in config

Integration with OpenClaw

When a user asks to play something on Plex:

  1. Parse the request — extract title, season, episode
  2. Choose command:

- Movie: plexctl play "Title" - TV show specific episode: plexctl play "Show" -s N -e N - Search first: plexctl search "query" then plexctl play "Title"

  1. Execute and report — run command, share output with user

Example agent flow:

User: "Play Fight Club on Plex"
Agent: [exec] plexctl play "Fight Club"
Output: Found: Fight Club (1999) (movie)
        ✓ Playing on Apple TV
Agent: "Now playing Fight Club on your Apple TV"

Troubleshooting

Can't connect to Plex:

  • Verify server is running
  • Check URL (should be http://IP:32400, not https)
  • Verify token is correct
  • Check firewall settings

Client not found:

  • Make sure Plex app is open on the client device
  • Run plexctl clients to see available clients
  • Try cloud discovery (automatic fallback)
  • Restart Plex app on client device

Playback fails:

  • Verify client can play the content type
  • Check client is still active (plexctl clients)
  • Try playing manually in Plex app first
  • Check Plex server logs

Search returns no results:

  • Verify content exists in your library
  • Try broader search terms
  • Check library is scanned and up-to-date
  • Run plexctl libraries to verify library access

Performance

  • Local GDM discovery: ~100ms
  • Cloud fallback discovery: ~500-1000ms
  • Search: ~200-500ms depending on library size
  • Playback start: ~500ms
  • Control commands: ~100ms

All operations are direct Plex API calls — no vision, no screenshots, no AI inference needed.

Differences from ClawTV

FeatureplexctlClawTV
Plex control✅ Direct API✅ API + Vision
Apple TV remote
Vision-based navigation
Any streaming app
Speed⚡ Instant🐢 Slower (screenshots)
Dependenciesplexapi onlypyatv, Anthropic API, QuickTime
Use casePlex-only controlUniversal TV automation

When to use plexctl: Fast, direct Plex control When to use ClawTV: Complex navigation, non-Plex apps, vision-based automation

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

70.83%
按下载量换算5,115

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills