| name | cinema-manager |
| description | 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. |
Cinema Manager
Media discovery → Cloud save → Library organization.
Quick Start
python3 scripts/cinema.py auto "电影名"
python3 scripts/cinema.py search "电影名"
python3 scripts/cinema.py 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
- Copy
scripts/plugins/example.py to scripts/plugins/your_site.py
- Implement
search() and extract_link()
- 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
- User says "I want to watch X"
cinema.py search across all configured sources
- Score results, pick best quality version
cinema.py save → quark drive
cinema.py organize → proper folder structure
- Infuse/Plex auto-detects and fetches metadata