jellyfin-plugin-metashark/README.md

77 lines
3.1 KiB
Markdown
Raw Permalink 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|10.9.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)
## 安装插件
添加插件存储库:
国内加速https://mirror.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
> 如果都无法访问,可以直接从 [Release](https://github.com/cxfksword/jellyfin-plugin-metashark/releases) 页面下载,并解压到 jellyfin 插件目录中使用
## 如何使用
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小时左右才能恢复访问
> :fire:遇到图片显示不出来时请到插件配置中配置jellyfin访问域名
## How to build
1. Clone or download this repository
2. Ensure you have .NET Core SDK 8.0 setup and installed
3. Build plugin with following command.
```sh
dotnet restore
dotnet publish --configuration=Release Jellyfin.Plugin.MetaShark/Jellyfin.Plugin.MetaShark.csproj
```
## How to test
1. Build the plugin
2. Create a folder, like `metashark` and copy `./Jellyfin.Plugin.MetaShark/bin/Release/net8.0/Jellyfin.Plugin.MetaShark.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)
## 免责声明
本项目代码仅用于学习交流编程技术,下载后请勿用于商业用途。
如果本项目存在侵犯您的合法权益的情况,请及时与开发者联系,开发者将会及时删除有关内容。