OpenParable
Skip to content
← Back to skills

Cinema Manager

Apps & Automation
cinema-manager

Cinema Manager is an Agent Skill for apps & automation published in the DavidBB-L/cinema-manager repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Personal media library management — discover content, save to Quark cloud drive, auto-organize for Infuse/Plex. Plugin system for content sources. Use when user wants to find/watch movies, save to cloud drive, or manage media library.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/DavidBB-L/cinema-manager/blob/HEAD/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cinema-manager, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Cinema Manager

Media discovery → Cloud save → Library organization.

Quick Start

python3 scripts/cinema.py auto "电影名"     # search + save + organize
python3 scripts/cinema.py search "电影名"   # search only
python3 scripts/cinema.py plugins           # list plugins

Config

config.json (not committed, create from config.example.json):

  • quark.cookie — Quark session cookie (login to pan.quark.cn, copy cookie from browser DevTools)
  • plugins — enable/disable content source plugins
  • save_folder — Quark folder name (default: "影视资源")

Adding Content Sources

  1. Copy scripts/plugins/example.py to scripts/plugins/your_site.py
  2. Implement search() and extract_link()
  3. Add "your_site": {"enabled": true} to config.json

Library Management

cinema.py organize <fid> <title> --type movie|tv

Organizes files into Infuse/Plex-compatible structure:

  • Movies: 影视资源/Movie Name (Year)/Movie Name (Year).ext
  • TV: 影视资源/Show Name/Season XX/Show Name - SXXEXX.ext

Workflow

  1. User says "I want to watch X"
  2. cinema.py search across all configured sources
  3. Score results, pick best quality version
  4. cinema.py save → quark drive
  5. cinema.py organize → proper folder structure
  6. Infuse/Plex auto-detects and fetches metadata