jellyfin-plugin-metashark/README.md

73 lines
2.7 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-metashark
[![release](https://img.shields.io/github/v/release/cxfksword/jellyfin-plugin-metashark)](https://github.com/cxfksword/jellyfin-plugin-metashark/releases)
[![platform](https://img.shields.io/badge/jellyfin-10.8.x-lightgrey?logo=jellyfin)](https://github.com/cxfksword/jellyfin-plugin-metashark/releases)
[![license](https://img.shields.io/github/license/cxfksword/jellyfin-plugin-metashark)](https://github.com/cxfksword/jellyfin-plugin-metashark/main/LICENSE)
jellyfin电影元数据插件影片信息只要从豆瓣获取并由TheMovieDb补全缺失的剧集数据。
功能:
* 支持从豆瓣和TMDB获取元数据
* 兼容anime动画命名格式
![logo](doc/logo.png)
## 安装插件
只支持最新的`jellyfin 10.8.x`版本
添加插件存储库:
国内加速https://ghproxy.com/https://github.com/cxfksword/jellyfin-plugin-metashark/releases/download/manifest/manifest_cn.json
国外访问https://github.com/cxfksword/jellyfin-plugin-metashark/releases/download/manifest/manifest.json
## 如何使用
1. 安装后,先进入`控制台 -> 插件`查看下MetaShark插件是否是**Active**状态
2. 进入`控制台 -> 媒体库`,点击任一媒体库进入配置页,在元数据下载器选项中勾选**MetaShark**,并把**MetaShark**移动到第一位
<img src="https://cdn.jsdelivr.net/gh/kozalak-robot/assets@main/img/3fZmJK.png" width="400px" /> <img src="https://cdn.jsdelivr.net/gh/kozalak-robot/assets@main/img/hAovDC.png" width="400px" />
3. 识别时默认不返回TheMovieDb结果有需要可以到插件配置中打开
4. 假如网络原因访问TheMovieDb比较慢可以到插件配置中关闭从TheMovieDb获取数据关闭后不会再获取剧集信息
> 🚨假如需要刮削大量电影请到插件配置中打开防封禁功能避免频繁请求豆瓣导致被封IP封IP需要等6小时左右才能恢复访问
## 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 --output=artifacts Jellyfin.Plugin.MetaShark/Jellyfin.Plugin.MetaShark.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 `metashark` and copy `artifacts/*.dll` into it
3. Move folder `metashark` to jellyfin `data/plugins` folder
## FAQ
1. Plugin run in error: `System.BadImageFormatException: Bad IL format.`
Remove all hidden file and `meta.json` in `metashark` plugin folder
## Thanks
[AnitomySharp](https://github.com/chu-shen/AnitomySharp)