mediaserver-operation
하는 일
설정된 미디어 서버에서 라이브러리를 살펴보고, 재생 상태를 확인하며, 스캔이나 메타데이터 새로 고침을 실행하도록 AI 에이전트를 안내합니다. 집에서 미디어 서버를 운영하는 MoviePilot 사용자를 위한 스킬입니다.
사용하는 경우
- ✓미디어 서버 라이브러리에 무엇이 있는지 확인하거나 제목을 찾고 싶을 때.
- ✓새 영화나 에피소드가 Emby, Jellyfin, Plex에 없을 때.
- ✓미디어 서버에서 스캔이나 메타데이터 새로 고침을 실행하고 싶을 때.
스킬 링크
https://github.com/jxxghp/MoviePilot/blob/v3/skills/mediaserver-operation/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“새 에피소드가 빠져 있으니 내 Jellyfin 서버의 라이브러리 스캔을 실행해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI는 저장된 서버 설정을 읽는 번들된 도우미를 실행하고, 서버의 자체 데이터를 확인한 뒤, 요청한 동작을 수행합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
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
자주 묻는 질문
서버 로그인 정보를 공유해야 하나요?
아닙니다. 도우미가 MoviePilot에서 서버 설정을 읽으므로 주소나 키를 대화에 붙여 넣을 필요가 없습니다.
어떤 서버를 지원하나요?
Emby, Jellyfin, Plex, ZSpace, UGREEN, TrimeMedia, Navidrome을 지원합니다.
중복 확인도 처리하나요?
직접은 아닙니다. 정식 중복 검사는 MoviePilot의 매칭 규칙을 적용하는 MoviePilot API 스킬에 남아 있습니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 12k
- 순위
- #11485
- 라이선스
- GPL-3.0
- 업데이트
- 2026. 11. 1.
댓글
- …
이 저장소의 다른 스킬
anysearch
12k에이전트가 웹을 실시간으로 검색하고, 금융이나 학술 데이터 같은 전문 자료를 조회하며, 웹 페이지 전체를 읽도록 돕습니다.
browser-use
12k에이전트가 웹 페이지를 열고 읽으며, 버튼을 클릭하고, 양식을 채우고, 결과를 확인하기 위해 스크린샷을 찍도록 돕습니다.
command-dispatch
12k에이전트가 명령이 있는지 먼저 확인한 뒤, 요청에서 MoviePilot 시스템 또는 플러그인 명령을 찾아 실행하도록 돕습니다.
create-moviepilot-plugin
12k에이전트가 MoviePilot 버전에 맞는 올바른 파일 구조와 설정으로 MoviePilot 플러그인을 만들거나 고치도록 돕습니다.