mirror of
https://github.com/cxfksword/jellyfin-plugin-danmu.git
synced 2026-05-01 05:52:31 +08:00
43 lines
1.4 KiB
Markdown
43 lines
1.4 KiB
Markdown
# jellyfin-plugin-danmu
|
||
|
||
jellyfin的b站弹幕自动下载插件,会匹配b站番剧/电影视频,自动下载对应弹幕,并定时更新。
|
||
|
||

|
||
|
||
## 安装插件
|
||
|
||
只支持最新的`jellyfin 10.8.x`版本
|
||
|
||
添加插件存储库:
|
||
|
||
国内加速:https://raw.iqiq.io/cxfksword/jellyfin-plugin-danmu/main/manifest.json
|
||
|
||
国外访问:https://github.com/cxfksword/jellyfin-plugin-danmu/raw/main/manifest.json
|
||
|
||
## 如何使用
|
||
|
||
* 新加入的影片会自动获取弹幕(只匹配番剧和电影视频),旧影片可以通过计划任务`扫描媒体库匹配弹幕`手动执行获取
|
||
* 可以在元数据中手动指定匹配的视频ID,如播放链接`https://www.bilibili.com/bangumi/play/ep682965`,对应的视频ID就是`682965`
|
||
* 对于电视剧和动画,可以在元数据中指定季ID,如播放链接`https://www.bilibili.com/bangumi/play/ss1564`,对应的季ID就是`1564`,只要集数和b站的集数的一致,每季视频的弹幕会自动获取
|
||
|
||
## 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
|
||
|
||
|
||
## 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.
|
||
|
||
```sh
|
||
$ dotnet restore
|
||
$ dotnet publish -c Release Jellyfin.Plugin.Danmu/Jellyfin.Plugin.Danmu.csproj
|
||
``` |