微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🎬

自然语言请求电影剧集,自动去重

Request media on Overseerr · v1.0.0
效率 安全 B 级 作者 trialskid 公开目录收录
下载 2k 安装 2 收藏 8.7k 浏览 9
原始页面

简介

通过自然语言向Overseerr请求电影或剧集,自动检测重复请求并支持季节选择,适合个人媒体库管理

原始描述

Request movies or TV shows on Overseerr by title and optional season, checking availability before forwarding the request to Sonarr or Radarr.

中文使用说明 来自收录源

核心用法

Overseerr Request Media Skill 允许用户通过自然语言指令向自托管的 Overseerr 实例提交媒体请求。Overseerr 作为 Sonarr/Radarr 的前端聚合层,会自动将请求转发至对应的下载管理工具。

典型使用场景:

  • 直接请求电影:"Request Interstellar"
  • 请求整季剧集:"Request Reacher season 2"
  • 请求多季范围:"Request The Office seasons 2-4"

技能执行流程包含智能解析、搜索匹配、歧义澄清、状态检测和创建请求五个阶段。系统会自动提取标题、类型提示和季节信息,向 Overseerr API 发起搜索,并在电影与剧集同名时要求用户确认。

关键特性

智能去重机制: 在创建请求前自动检查媒体是否已存在于库中或已被请求,避免重复提交。

季节级精度: 支持完整剧集、单季或多季组合请求(如 seasons 1,3 或 2-4)。

模糊匹配优化: 优先选择标题完全匹配项,多结果时按热度排序。


显著优点

  1. 自然语言交互 — 无需记忆固定命令格式,支持多种表达方式
  2. 零冗余请求 — 内置双重检查:API 响应状态检测 + POST 错误兜底
  3. 家庭共享友好 — Overseerr 原生支持多用户权限管理,适合家庭媒体库场景
  4. *与 arr 生态深度集成 — 自动流转至 Sonarr/Radarr,无需手动干预

局限性与风险

方面 说明
部署门槛 依赖完整的自托管媒体栈(Plex + Overseerr + Sonarr/Radarr)
搜索质量 依赖 Overseerr 的 TMDb 搜索,对冷门内容或非英文标题可能匹配困难
API 暴露 需要配置 URL 和 API Key,存在凭证泄露风险
无下载控制 仅能发起请求,无法查看下载进度或管理种子

适合人群

  • 已部署完整 *arr 媒体自动化栈的技术用户
  • 需要为家庭成员提供简化请求入口的管理员
  • 追求"语音/聊天即请求"体验的重度自动化用户

常规风险

  • 凭证安全:API Key 需通过环境变量注入,避免硬编码
  • 网络暴露:Overseerr 实例若公网可访问,建议配合反向代理和身份验证
  • 请求滥用:多用户场景下建议配置 Overseerr 的用户配额限制

技能正文

Overseerr Request Media Skill

Purpose

Request a movie or TV show using the user's Overseerr instance. Overseerr forwards the request to Sonarr/Radarr.

Requirements

Environment variables:

Authentication header:

  • X-Api-Key: $OVERSEERR_API_KEY

Overseerr can detect if media is already available or already requested based on your configured Plex + Sonarr/Radarr connections.

What this skill handles

User examples:

  • "Request Interstellar"
  • "Add Interstellar to overseerr"
  • "Request Reacher season 2"
  • "Request The Office seasons 2-4"

Workflow (ALWAYS FOLLOW)

1) Parse the user's request

Extract:

  • Title
  • Optional type hint: movie or tv
  • Optional season request:
    • "season 2"
    • "seasons 1-3"
    • "season 1 and 4"

2) Search Overseerr

GET: $OVERSEERR_URL/api/v1/search?query=

Example: curl -s -H "X-Api-Key: $OVERSEERR_API_KEY"
"$OVERSEERR_URL/api/v1/search?query=interstellar"

3) Clarify if the result is ambiguous (movie vs show with same name)

If the search results include BOTH:

  • a movie match AND
  • a tv match with the same (or extremely similar) title,

THEN ask the user to choose before requesting.

Show 2-4 options max, like:

  • Movie: Title (Year)
  • TV: Title (Year)

If the user provided an obvious hint like "movie", "show", "tv", "season 2", then pick the matching type automatically.

4) Pick the best match

Rules:

  • Prefer exact title match
  • Prefer the highest popularity match when multiple results exist
  • Respect the user's type hint if provided (movie vs tv)

5) Check if it already exists (available or already requested)

Before creating a request:

  • Inspect the selected result for availability/request status info returned by Overseerr (library/availability/request indicators).
  • If it indicates the media is already available in the library:
    • Do NOT request it
    • Reply: "Already available ✅"
  • If it indicates the media is already requested (pending/processing/approved/requested):
    • Do NOT request it again
    • Reply: "Already requested ✅"

If the API response does NOT clearly indicate status:

  • Proceed with creating the request
  • If the POST fails due to duplicate/existing request, reply "Already requested ✅"

6) Create the request

POST: $OVERSEERR_URL/api/v1/request

Movie JSON: { "mediaType": "movie", "mediaId": }

TV JSON (full series): { "mediaType": "tv", "mediaId": }

TV JSON (specific seasons): { "mediaType": "tv", "mediaId": , "seasons": [2,3] }

Examples:

Movie: curl -s -X POST
-H "X-Api-Key: $OVERSEERR_API_KEY"
-H "Content-Type: application/json"
"$OVERSEERR_URL/api/v1/request"
-d '{"mediaType":"movie","mediaId":157336}'

TV (full): curl -s -X POST
-H "X-Api-Key: $OVERSEERR_API_KEY"
-H "Content-Type: application/json"
"$OVERSEERR_URL/api/v1/request"
-d '{"mediaType":"tv","mediaId":71912}'

TV (season 2): curl -s -X POST
-H "X-Api-Key: $OVERSEERR_API_KEY"
-H "Content-Type: application/json"
"$OVERSEERR_URL/api/v1/request"
"$OVERSEERR_URL/api/v1/request"
-d '{"mediaType":"tv","mediaId":71912,"seasons":[2]}'

7) Respond cleanly

  • Confirm what was requested
  • If TV request was partial, list seasons
  • If already requested/available, say so
  • If no results, ask for alternate spelling or more context

Output style

Short confirmations:

  • "✅ Requested: Interstellar (2014)"
  • "✅ Requested: Reacher (Season 2)"
  • "Already requested ✅"
  • "Already available ✅"

Error handling

  • If search returns 0 results:
    • Ask for alternate title or year
  • If multiple equally good matches remain:
    • Ask the user to pick from 2-4 options

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

media-serveroverseerrsonarrradarrhome-automationself-hostedmedia-requestarr-stack

同类 Skill