mediaserver-operation
Skill này làm gì
Skill cho phép AI duyệt thư viện, kiểm tra trạng thái phát và kích hoạt quét hoặc làm mới metadata trên máy chủ media đã cấu hình. Skill dành cho người dùng MoviePilot có máy chủ media tại nhà.
Khi nào nên dùng
- ✓Khi bạn muốn xem một thư viện máy chủ media có gì hoặc tìm một tiêu đề.
- ✓Khi một bộ phim hoặc tập mới bị thiếu trong Emby, Jellyfin hoặc Plex.
- ✓Khi bạn muốn kích hoạt quét hoặc làm mới metadata trên máy chủ media.
Liên kết skill
https://github.com/jxxghp/MoviePilot/blob/v3/skills/mediaserver-operation/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Vui lòng kích hoạt quét thư viện trên máy chủ Jellyfin của tôi vì tập mới bị thiếu.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
AI chạy một trợ giúp đi kèm đọc cài đặt máy chủ đã lưu, kiểm tra dữ liệu của chính máy chủ và thực hiện hành động bạn yêu cầu.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Media Server Operation
Use scripts/mp-mediaserver.py. The helper reads MoviePilot's local server
configuration and credentials itself. Never request, print, or pass a host,
username, password, API key, token, Cookie, or arbitrary URL.
Run the bundled copy from the MoviePilot program directory with its project runtime, for example:
cd <MOVIEPILOT_ROOT>
python skills/mediaserver-operation/scripts/mp-mediaserver.py instances
The Agent command environment routes python to the project-specific moviepilot-python
entry when available and falls back to the project or Docker VENV_PATH Python otherwise.
Media-server connections may depend on macOS local-network permissions, so use the provided
python command for every operation.
The runtime sets MOVIEPILOT_ROOT for copied skills. If you run a copied
script directly from <CONFIG_PATH>/agent/skills/, set that variable to the
program directory first; otherwise the helper returns a clear relocation
error. Do not use a system python3 when it does not meet MoviePilot's
required Python version.
Boundary
- Keep
library.existsinmoviepilot-apifor canonical duplicate checks. It aggregates configured servers and applies MoviePilot media identity and music matching rules. - Use this Skill for server-native exploration, diagnostics, playback state, library browsing, scans, and metadata refreshes.
- A provider result is not automatically a MoviePilot transfer, subscription, or history fact. Use the appropriate MoviePilot API for those workflows.
Instance And Provider Discovery
Fast path: call directly
Do not routinely call instances or capabilities before an operation. This
Skill already contains the full action contract, and the helper performs
instance resolution, provider support checks, complete argument validation, and
the action in one call invocation.
- If the user or prior context provides the exact server name, pass it with
--serverand call the action immediately. - If no server name is known, omit
--server. The helper automatically uses the only enabled media server. - If multiple servers remain ambiguous, the failed call lists every valid
server name. Reuse that list for the next direct call; do not add a separate
instancescall unless the user explicitly asks to inspect instances. - Do not probe an action with empty or guessed arguments. Compose the complete JSON object from the contract below before calling.
The helper rejects unknown fields and reports all detectable argument errors in one response before connecting to the provider, so correct every reported field together instead of retrying one field at a time.
Optional discovery
python skills/mediaserver-operation/scripts/mp-mediaserver.py instances
python skills/mediaserver-operation/scripts/mp-mediaserver.py capabilities
python skills/mediaserver-operation/scripts/mp-mediaserver.py capabilities --server "living-room"
The complete action and argument contract is documented below. Use
capabilities only to confirm which documented actions a configured provider
supports. For a compact machine-readable copy of one action's same contract:
python skills/mediaserver-operation/scripts/mp-mediaserver.py capabilities \
--server "living-room" \
--action items.season_episodes
Do not inspect the helper source to discover arguments and do not guess a
provider-specific action. capabilities is optional and should be used only
when the configured provider itself is unknown or support must be diagnosed.
Call Shape
python skills/mediaserver-operation/scripts/mp-mediaserver.py call \
--server "living-room" \
--action activity.latest \
--arguments '{"limit":20}'
The --arguments value must be one JSON object. List reads default to 50 items
and cap at 200.
External MCP Contract
External MCP clients do not receive this SKILL.md and cannot use the hidden
execute_command tool. MoviePilot therefore exposes a separate admin-only MCP
tool named mediaserver_operation. Its tools/list inputSchema contains one
oneOf branch for every action below, including the function description,
supported providers, effect, field types, required/default values, enums,
nested metadata.refresh item fields, and cross-field rules. The external
client should select the matching branch and make one tools/call; it does not
need to call a discovery tool first.
The default schema mode is full. Clients
Câu hỏi thường gặp
Tôi có phải chia sẻ đăng nhập máy chủ không?
Không. Trợ giúp đọc cài đặt máy chủ từ MoviePilot, nên bạn không dán địa chỉ hay khóa vào cuộc trò chuyện.
Nó hỗ trợ những máy chủ nào?
Nó hỗ trợ Emby, Jellyfin, Plex, ZSpace, UGREEN, TrimeMedia và Navidrome.
Nó có xử lý kiểm tra trùng lặp không?
Không trực tiếp. Kiểm tra trùng lặp chuẩn nằm trong skill MoviePilot API, áp dụng quy tắc khớp của MoviePilot.
Chi tiết
Mô tả gốc của tác giả
Use this skill when the user asks to inspect, diagnose, or directly operate a configured Emby, Jellyfin, Plex, ZSpace, UGREEN, TrimeMedia, or Navidrome server. It discovers provider capabilities on demand and supports libraries, native movie/music search, episode coverage, recent media, resume state, playback sessions, statistics, scans, metadata refreshes, and provider play URLs without adding permanent tools.
repo: jxxghp/MoviePilot
Độ phổ biến
- Sao GitHub
- 12k
- Vị trí xếp hạng
- #11485
- Giấy phép
- GPL-3.0
- Cập nhật
- 1/11/2026
Bình luận
- …
Thêm skill từ kho mã này
anysearch
12kGiúp agent của bạn tìm kiếm web theo thời gian thực, truy vấn các nguồn chuyên biệt như tài chính hoặc học thuật và đọc toàn văn trang web.
browser-use
12kGiúp agent của bạn mở trang web, đọc nội dung, nhấp nút, điền biểu mẫu và chụp màn hình để kiểm tra kết quả.
command-dispatch
12kGiúp agent của bạn tìm và chạy các lệnh hệ thống hoặc plugin của MoviePilot từ một yêu cầu, sau khi kiểm tra lệnh nào tồn tại.
create-moviepilot-plugin
12kGiúp agent của bạn tạo hoặc sửa plugin MoviePilot, dùng đúng bố cục file và thiết lập cho phiên bản MoviePilot.
Skill tương tự
knowledge-automation
394kGiúp agent của bạn thiết lập tác vụ định kỳ đưa nội dung mới vào kho Knowledge theo lịch, rồi kiểm tra tác vụ có chạy không.
knowledge-source-ingest
394kGiúp agent của bạn cập nhật Knowledge vault với các mục mới từ kênh chat, nguồn tin hoặc hộp thư, mà không thêm lại những gì đã có.
benchmark
280kGiúp agent của bạn đo tốc độ và hiệu suất của code, hữu ích để đảm bảo mọi thứ nhanh và tìm ra những chỗ chậm.