承接 detain/phlix-plugin-opensubtitles 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

detain/phlix-plugin-opensubtitles

Composer 安装命令:

composer require detain/phlix-plugin-opensubtitles

包简介

OpenSubtitles subtitle provider for Phlix — search and download subtitles for movies and TV shows via the OpenSubtitles REST API.

README 文档

README

tests

OpenSubtitles subtitle-provider plugin for Phlix — search and download subtitles for movies and TV shows via the OpenSubtitles REST API.

What it does

This plugin integrates OpenSubtitles into the Phlix subtitle pipeline. It allows searching for subtitles by:

  • IMDB ID — find subtitles for a specific movie/TV show
  • Filename — extract media info from a filename and search matching subtitles
  • File hash — match subtitles using the OpenSubtitles hash algorithm

Install

The plugin is unsigned by design. Install via the Phlix admin UI:

  1. Log in to your Phlix server as an admin user (users.is_admin = 1).

  2. Browse to /admin/plugins.

  3. Paste this URL into the Install from URL form and submit:

    https://raw.githubusercontent.com/detain/phlix-plugin-opensubtitles/main/plugin.json
    
  4. Configure your OpenSubtitles API key in the plugin settings.

Configuration

Setting Required Default Description
api_key Yes OpenSubtitles API key (user agent token)
username No OpenSubtitles username (for logged-in downloads)
password No OpenSubtitles password (for logged-in downloads)
language No en Default subtitle language (ISO 639-1)
format No srt Preferred subtitle format (srt, sub, ass, etc.)

How it works

The plugin implements the Phlix\Shared\Plugin\LifecycleInterface contract and connects to the OpenSubtitles REST API v2:

  1. Login — registers a user agent and obtains a session token
  2. Search — queries subtitles by IMDB ID, filename, or hash
  3. Download — fetches the subtitle file and feeds it into Phlix's subtitle pipeline

API

The OpenSubtitles REST API is documented at opensubtitles.com.

License

MIT — see LICENSE.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-07-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固