cxfksword 00225ab894 Fix iqiyi
2023-03-10 14:20:01 +08:00
2023-03-10 14:19:13 +08:00
2023-02-15 17:28:56 +08:00
2023-03-10 14:20:01 +08:00
2023-03-10 14:20:01 +08:00
2023-02-02 21:55:54 +08:00
2023-02-11 16:03:44 +08:00
2023-03-10 14:19:13 +08:00
2023-02-19 16:16:55 +08:00

jellyfin-plugin-danmu

Danmu Danmu Danmu

jellyfin弹幕自动下载插件已支持的弹幕来源b站弹弹play优酷爱奇艺腾讯视频芒果TV。

支持功能:

  • 自动下载xml格式弹幕
  • 生成ass格式弹幕
  • 可配置定时更新
  • 支持api访问弹幕

logo

安装插件

只支持最新的jellyfin 10.8.x版本

添加插件存储库:

国内加速:https://ghproxy.com/https://github.com/cxfksword/jellyfin-plugin-danmu/releases/download/manifest/manifest_cn.json

国外访问:https://github.com/cxfksword/jellyfin-plugin-danmu/releases/download/manifest/manifest.json

如何使用

  1. 安装后,进入控制台 -> 插件,查看下Danmu插件是否是Active状态

  2. 进入控制台 -> 媒体库,点击任一媒体库进入配置页,在最下面的字幕下载选项中勾选Danmu,并保存

  3. 新加入的影片会自动获取弹幕(只匹配番剧和电影视频),旧影片可以通过计划任务扫描媒体库匹配弹幕手动执行获取

  4. 假如弹幕匹配错误,请在电影或剧集中使用修改字幕功能搜索修正

  5. 对于电视剧或动画,需要保证每季视频集数一致,并正确填写集号,这样每季视频的弹幕才会自动获取

  6. 同时生成ass弹幕需要在插件配置中打开默认是关闭的

  7. 定时更新需要自己到计划任务中添加定时时间,默认手工执行更新

B站电影或季元数据也支持手动指定BV号来匹配UP主上传的视频弹幕。多P视频和剧集是按顺序一一对应匹配的所以保证jellyfin中剧集有正确的集号很重要

支持的api接口

  • /plugin/danmu/{id}: 获取影片或剧集的xml弹幕链接不存在时url为空
  • /plugin/danmu/raw/{id}: 获取影片或剧集的xml弹幕文件内容

如何播放

xml格式

ass格式

  • PotPlayer (Windows)
  • IINA (Mac)
  • Infuse (Mac/iOS/iPadOS/AppleTV)

How to build

  1. Clone or download this repository

  2. Ensure you have .NET Core SDK setup and installed

  3. Build plugin with following command.

dotnet restore 
dotnet publish --output=artifacts  Jellyfin.Plugin.Danmu/Jellyfin.Plugin.Danmu.csproj

# remove unused dll
cd artifacts
rm -rf MediaBrowser*.dll Microsoft*.dll Newtonsoft*.dll System*.dll Emby*.dll Jellyfin.Data*.dll Jellyfin.Extensions*.dll *.json *.pdb

How to test

  1. Build the plugin

  2. Create a folder, like danmu and copy artifacts/*.dll into it

  3. Move folder danmu to jellyfin data/plugins folder

Thanks

downkyi

Description
jellyfin弹幕自动下载插件
Readme GPL-3.0 89 MiB
Languages
C# 98.2%
HTML 1.6%
Python 0.2%