cxfksword 4cd20eecce Fix build
2022-10-14 13:42:59 +08:00
2022-10-14 12:53:27 +08:00
2022-10-11 10:47:20 +08:00
2022-10-14 13:18:35 +08:00
2022-10-13 18:13:08 +08:00
2022-10-13 12:59:06 +08:00
2022-10-11 14:22:27 +08:00
2022-10-14 13:42:59 +08:00
2022-10-11 19:06:08 +08:00
2022-10-11 10:47:20 +08:00
2022-10-11 14:22:27 +08:00
2022-10-13 17:51:38 +08:00

jellyfin-plugin-danmu

Danmu Danmu Danmu

jellyfin的b站弹幕自动下载插件会匹配b站番剧和电影视频自动下载对应弹幕并定时更新。

支持功能:

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

preview

安装插件

只支持最新的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

如何使用

  • 新加入的影片会自动获取弹幕(只匹配番剧和电影视频),旧影片可以通过计划任务扫描媒体库匹配弹幕手动执行获取
  • 可以在元数据中手动指定匹配的视频ID如播放链接https://www.bilibili.com/bangumi/play/ep682965对应的视频ID就是682965
  • 对于电视剧和动画可以在元数据中指定季ID如播放链接https://www.bilibili.com/bangumi/play/ss1564对应的季ID就是1564只要集数和b站的集数的一致并正确填写了集号每季视频的弹幕会自动获取
  • 同时生成ass弹幕需要在插件配置中打开默认是关闭的

电影或季元数据也支持手动指定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 -c Release Jellyfin.Plugin.Danmu/Jellyfin.Plugin.Danmu.csproj

How to test

  1. Build the plugin

  2. Create a folder, like Danmu and copy bin/Release/Jellyfin.Plugin.Danmu.dll into it

  3. Move folder Danmu to jellyfin data/plugin folder

Thanks

downkyi

License

Apache License Version 2.0

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