Files
jellyfin-plugin-danmu/README.md
2022-10-11 16:39:25 +08:00

43 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# jellyfin-plugin-danmu
jellyfin的b站弹幕自动下载插件会匹配b站番剧/电影视频,自动下载对应弹幕,并定时更新。
![preview](doc/logo.png)
## 安装插件
只支持最新的`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
```