docs: 更新文档站结构,减少一层 src/ 目录嵌套

This commit is contained in:
zthxxx
2023-06-30 23:12:00 +08:00
parent 6ee81e3080
commit 877f29f995
23 changed files with 5 additions and 5 deletions

91
docs/deploy/Docker-cli.md Normal file
View File

@@ -0,0 +1,91 @@
## 使用 Docker-cli 部署
### 设置环境变量
添加环境变量(注意这里最好手动输入)详细内容请参考 [Docker Compose](https://github) 章节中同样内容
```shell
export \
DOWNLOAD_PATH=/path/downloads \
RSS=<RSS_LINK>
```
### 创建数据和配置文件夹
为了保证 AB 在每次更新之后数据和配置不丢失,推荐使用 Docker volume 进行数据和配置的持久化。
```shell
# 创建数据文件夹
mkdir AutoBangumi
cd AutoBangumi
```
### 使用 Docker-cli 部署 AutoBangumi
复制以下命令运行即可。
```shell
docker run -d \
--name=AutoBangumi \
-v $PWD/config:/app/config \
-v $PWD/data:/app/data \
-p 7892:7892 \
--network=bridge \
--dns=8.8.8.8 \
--restart unless-stopped \
estrellaxd/auto_bangumi:latest
```
此时 AB 的 WebUI 会自动运行,但是主程序会处于暂停状态,可以进入 `http://abhost:7892` 进行配置。
当然也可以使用环境变量进行配置,具体内容请参考 [Docker Compose](/deploy/Docker-compose) 章节中同样内容
```shell
docker run -d \
--name=AutoBangumi \
-e TZ=Asia/Shanghai \ #optional
-e AB_DOWNLOADER_HOST=qbittorrent:8080 \ #optional
-e AB_DOWNLOADER_USERNAME=admin \ #optional
-e AB_DOWNLOADER_PASSWORD=adminadmin \ #optional
-e AB_DOWNLOAD_PATH=/path/downloads \
-e AB_RSS=<YOUR_RSS_ADDRESS> \
-v $PWD/config:/app/config \
-v $PWD/data:/app/data \
--network=host \
--dns=8.8.8.8 \
--restart unless-stopped \
estrellaxd/auto_bangumi:latest
```
此时 AB 会自动把环境变量写入 `config.json` 文件中然后自动运行。
推荐使用 _[Portainer](https://www.portainer.io)_ 等带有 UI 的 Docker 管理器进行进阶部署
## 部署结果:
```other
[2022-07-09 21:55:19,164] INFO: _ ____ _
[2022-07-09 21:55:19,165] INFO: /\ | | | _ \ (_)
[2022-07-09 21:55:19,166] INFO: / \ _ _| |_ ___ | |_) | __ _ _ __ __ _ _ _ _ __ ___ _
[2022-07-09 21:55:19,167] INFO: / /\ \| | | | __/ _ \| _ < / _` | '_ \ / _` | | | | '_ ` _ \| |
[2022-07-09 21:55:19,167] INFO: / ____ \ |_| | || (_) | |_) | (_| | | | | (_| | |_| | | | | | | |
[2022-07-09 21:55:19,168] INFO: /_/ \_\__,_|\__\___/|____/ \__,_|_| |_|\__, |\__,_|_| |_| |_|_|
[2022-07-09 21:55:19,169] INFO: __/ |
[2022-07-09 21:55:19,169] INFO: |___/
[2022-07-09 21:55:19,170] INFO: Version 2.6.3 Author: EstrellaXD Twitter: https://twitter.com/Estrella_Pan
[2022-07-09 21:55:19,171] INFO: GitHub: https://github.com/EstrellaXD/Auto_Bangumi/
[2022-07-09 21:55:19,172] INFO: Starting AutoBangumi...
[2022-07-09 21:55:20,717] INFO: Add RSS Feed successfully.
[2022-07-09 21:55:21,761] INFO: Start collecting RSS info.
[2022-07-09 21:55:23,431] INFO: Finished
[2022-07-09 21:55:23,432] INFO: Running....
[2022-07-09 22:01:24,534] INFO: [NC-Raws] 继母的拖油瓶是我的前女友 - 01 (B-Global 1920x1080 HEVC AAC MKV) [0B604F3A].mkv >> 继母的拖油瓶是我的前女友 S01E01.mkv
[2022-07-09 22:01:24,539] INFO: Finished checking 131 files' name, renamed 1 files.
[2022-07-09 23:55:31,843] INFO: Start collecting RSS info.
[2022-07-09 23:55:37,269] INFO: Finished
[2022-07-09 23:55:37,270] INFO: Running....
[2022-07-10 00:13:38,855] INFO: [NC-Raws] Lycoris Recoil 莉可麗絲 - 02 (Baha 1920x1080 AVC AAC MP4) [1160E633].mp4 >> Lycoris Recoil 莉可麗絲 S01E02.mp4
[2022-07-10 00:13:38,869] INFO: Finished checking 131 files' name, renamed 1 files.
[2022-07-10 00:43:40,777] INFO: [NC-Raws] Lycoris Recoil 莉可麗絲 - 01 (Baha 1920x1080 AVC AAC MP4) [7E742084].mp4 >> Lycoris Recoil 莉可麗絲 S01E01.mp4
[2022-07-10 00:43:40,811] INFO: Finished checking 132 files' name, renamed 1 files.
```

View File

@@ -0,0 +1,102 @@
## 安装 **Docker Compose**
现在提供了一键部署的 **AutoBangumi** 的方法,可以使用 `docker-compose.yml` 文件进行部署。
正常来说安装完 Docker 之后都会自带 `docker-compose`,使用命令:
```bash
docker compose -v
```
检查版本即可
如果没有安装,可以使用以下命令安装:
```bash
$ sudo apt-get update
$ sudo apt-get install docker-compose-plugin
```
## 部署 **AutoBangumi**
### 创建 AutoBangumi 文件夹
```bash
mkdir AutoBangumi
cd AutoBangumi
```
### 下载 Docker Compose 配置文件
项目中提供了三种安装方式:
- 只安装 **AutoBangumi**
```bash
wget https://raw.githubusercontent.com/EstrellaXD/Auto_Bangumi/main/docs/docker-compose/AutoBangumi/docker-compose.yml
```
- 安装 **qBittorrent** 与 **AutoBangumi**
```bash
wget https://raw.githubusercontent.com/EstrellaXD/Auto_Bangumi/main/docs/docker-compose/qBittorrent+AutoBangumi/docker-compose.yml
```
- **qBittorrent** + **AutoBangumi** + **Plex**
```bash
wget https://raw.githubusercontent.com/EstrellaXD/Auto_Bangumi/main/docs/docker-compose/All-in-one/docker-compose.yml
```
首先选择你要安装的方式,**拷贝上面的命令运行即可**,这一步是下载 `docker-compose.yml` 配置文件,如果需要自定义可以使用文本编辑器对其中的参数进行自定义。
### 定义环境变量
如果你是用上面下载的 AB+QB / AB+QB+Plex 的 Docker-Compose 文件,那么你需要定义以下环境变量:
```shell
export \
QB_PORT=<YOUR_PORT> \
DOWNLOAD_PATH=<YOUR_DOWNLOAD_PATH>
```
- `QB_PORT`: 填写你的已经部署的 qBittorrent 端口号,或者想要自定义的端口号,比如: `8080`
- `DOWNLOAD_PATH`: 填写你的文件下载路径
如果你不想使用环境变量,也可以拉起 Docker-Compose 后在 WebUI 中进行配置。
### 拉起 Docker-Compose
```bash
# 如果配置过了上面的环境变量,请使用下面的方式拉起
docker compose up -d
# 如果没有手动配置上面的环境变量,请使用下面的方式拉起
QB_PORT=<QB_PORT> DOWNLOAD_PATH=<YOUR_DOWNLOAD_PATH> docker compose up -d
```
## 部署结果:
```other
2022-06-05 16:38:49 INFO: Add RSS Feed successfully.
2022-06-05 16:38:50 INFO: Adding Kawaii dake ja Nai Shikimori-san Season 1
2022-06-05 16:38:50 INFO: Adding Kakkou no Iinazuke Season 1
2022-06-05 16:38:50 INFO: Adding SPYxFAMILY Season 1
2022-06-05 16:38:50 INFO: Adding Love Live!虹咲学园 学园偶像同好会 Season 2
2022-06-05 16:38:50 INFO: Adding CUE! Season 1
2022-06-05 16:38:50 INFO: Adding Kaguya-sama wa Kokurasetai Season 3
2022-06-05 16:38:50 INFO: Adding Shokei Shoujo no Virgin Road Season 1
2022-06-05 16:38:50 INFO: Adding Kakkou no Iikagen Season 1
2022-06-05 16:38:50 INFO: Adding Summer Time Rendering Season 1
2022-06-05 16:38:50 INFO: Adding Mahoutsukai Reimeiki Season 1
2022-06-05 16:38:50 INFO: Adding Paripi Koumei Season 1
2022-06-05 16:38:50 INFO: Adding Komi-san wa, Komyushou Desu. Season 1
2022-06-05 16:38:50 INFO: Adding Deaimon Season 1
2022-06-05 16:38:50 INFO: Adding Tate no Yuusha no Nariagari Season 2
2022-06-05 16:38:50 INFO: Adding Shijou Saikyou no Daimaou Season 1
2022-06-05 16:38:50 INFO: Adding Yuusha, Yamemasu Season 1
2022-06-05 16:38:50 INFO: Adding Tomodachi Game Season 1
2022-06-05 16:38:50 INFO: Adding Machikado Mazoku: 2-choume Season 1
2022-06-05 16:38:50 INFO: Start collecting past episodes.
2022-06-05 16:39:32 INFO: Start adding rules.
2022-06-05 16:39:32 INFO: Finished.
2022-06-05 16:39:32 INFO: Waiting for downloading torrents...
2022-06-05 16:49:32 INFO: Finished checking 185 file's name.
2022-06-05 16:49:32 INFO: Renamed 0 files.
2022-06-05 16:49:32 INFO: Finished rename process.
```

View File

@@ -0,0 +1,183 @@
1. 克隆并进入 AutoBangumi 的 `git` 仓库:
```powershell
git clone https://github.com/EstrellaXD/Auto_Bangumi.git
cd Auto_Bangumi
```
2. 修改 `src\module\api\web.py` 以允许 `DEV_VERSION` 下仍然可以显示 Web UI:
```powershell
((Get-Content -path .\src\module\api\web.py -Raw) -replace 'if VERSION != "DEV_VERSION":','if True:') | Set-Content -Path .\src\module\api\web.py
```
3. 创建一个新的分支,以方便后续更新时与远程 `main` 分支合并:
```powershell
git checkout -b non-docker-deployment
git commit -a -m "Enable WebUI for dev version"
```
4. 新建 `python` 虚拟环境、激活并安装依赖(需保证 `python -V` 打印的版本符合 `Dockerfile` 中的要求,如 `FROM python:3.11-alpine AS APP`)
```powershell
python -m venv env
.\env\Scripts\Activate.ps1
python -m pip install -r requirements.txt
```
5. 下载 WebUI 并安装:
```powershell
Invoke-WebRequest -Uri "https://github.com/Rewrite0/Auto_Bangumi_WebUI/releases/latest/download/dist.zip" -OutFile "dist.zip"
Expand-Archive -Path "dist.zip"
mv dist\* src\templates
```
6. 创建 `data` 与 `config` 目录和空白的 `config_dev.json`(如果有必要将这些目录存储在其他位置,建议使用 Junction Directory 链接即可)
```powershell
mkdir src\data
mkdir src\config
echo "{}" > src\config\config_dev.json
```
默认情况下,PowerShell 输出文件编码为 `UTF-16LE`,你需要将 `config_dev.json` 的编码格式改为 `UTF-8`。
7. 运行程序测试是否配置正确:
```powershell
cd src
python main.py
```
8. 接下来配置成服务以实现开机自启,以下以 `nssm` 为例:
```powershell
nssm install AutoBangumi (Get-Command python).Source
nssm set AutoBangumi AppParameters (Get-Item .\main.py).FullName
nssm set AutoBangumi AppDirectory (Get-Item ..).FullName
nssm set AutoBangumi Start SERVICE_DELAYED_AUTO_START
```
9. [可选] 由于 3.0 版本之前 AutoBangumi 没有修改规则或者批量移动下载位置的功能,可能遇到季名不符合需要 (如《鬼灭之刃 刀匠村篇》被视作一个仅具有一季的独立的影视作品,而不是系列动画的第三季) 或者中途想继续下载但是移出库防止出现在新剧集通知中等情况,可与考虑将下载目录和库目录区分开并用 Junction Directory 相连,这样在管理库时可以随意移动软链接而不影响 AutoBangumi 的工作。比如:
```powershell
### Configurations
$downloadDir = "path\to\download_dir"
$libraryDir = "path\to\library_dir"
$logFile = $(Join-Path -Path $download_dir -ChildPath "downloadWatcher.log")
$subfolderCreationTimeout = 10
$watcher = New-Object System.IO.FileSystemWatcher
$watcher.Path = $downloadDir
$watcher.EnableRaisingEvents = $true
function CreateJunction(
# The path to the folder containing junction targets, e.g. $downloadDir\<ShowName>
# The junction targets are its subfolders e.g. $downloadDir\<ShowName>\<SeasonName>
$targetRoot
) {
# The basename of $targetRoot, e.g. <ShowName>
$targetRootName = Split-Path -Path $targetRoot -Leaf
# The path the folder where junctions are created, e.g. $libraryDir\<ShowName>
$junctionRoot = $(Join-Path -Path $libraryDir -ChildPath $targetRootName)
# Create $junctionRoot if it does not exist
if (!(Test-Path $junctionRoot)) {
New-Item -ItemType Directory -Path $junctionRoot
Add-Content $logFile -Value "[Information] $(Get-Date) New folder created at $junctionRoot mirroring $targetRoot."
}
# Wait up to 10 secs for a subfolder to appear in $targetRoot
# This is because if $targetRoot is newly created the downloader may not have created the subfolder yet
$junctionTargetList = $(Get-ChildItem -Path $targetRoot -Directory)
$subfolderWaitCount = 0
while ($junctionTargetList.Count -eq 0) {
if ($subfolderWaitCount -ge $subfolderCreationTimeout) {
Add-Content $logFile -Value "[Warning] $(Get-Date) No subfolders exist in $targetRoot for junctioning, skipping."
Return
}
Start-Sleep -Seconds 1
try {
$junctionTargetList = $(Get-ChildItem -Path $targetRoot -Directory)
}
# If $targetRoot is removed/renamed during the wait, skip
catch [System.IO.DirectoryNotFoundException] {
Add-Content $logFile -Value "[Warning] $(Get-Date) $targetRoot is removed/renamed during the wait, skipping."
Return
}
$subfolderWaitCount++
}
Get-ChildItem $junctionRoot | Where-Object {$_.LinkType -eq "Junction"} | ForEach-Object {
# If a junction target is non-existent, remove it
if (!(Test-Path $_.Target)) {
Remove-Item $_.FullName
Add-Content $logFile -Value "[Information] $(Get-Date) Junction at $($_.FullName) is removed because its target $($_.Target) is non-existent."
}
else {
# Remove a junction target from $junctionTargetList if a junction in $junctionRoot is already pointing to it
$existingTarget = $_.Target
$junctionTargetList = $junctionTargetList | Where-Object {$_.FullName -ne $existingTarget}
Add-Content $logFile -Value "[Debug] $(Get-Date) $($_.FullName) already exists, skipping."
}
}
# Create junctions for each remaining target in $junctionTargetList
for ($i = 0; $i -lt $junctionTargetList.Count; $i++) {
$junctionTarget = $junctionTargetList[$i]
# The default name for the junction is the name of the junction target it self, e.g. <SeasonName>
$junctionName = $junctionTarget.Name
# If a junction with the same name already exists, append the current date to the name, e.g. <SeasonName>-yyyy-MM-dd
if (Test-Path $(Join-Path -Path $junctionRoot -ChildPath $junctionName)) {
$junctionName = "$junctionName-$(Get-Date -Format "yyyy-MM-dd")"
# If the new name is still taken, append a random string generated by taking first 5 chars from New-Guid to the name, e.g. <SeasonName>-yyyy-MM-dd-<RandomString>
while (Test-Path $(Join-Path -Path $junctionRoot -ChildPath $junctionName)) {
$junctionName = "$junctionName-$((New-Guid).ToString().Substring(0, 5))"
}
}
# Create the junction
New-Item -ItemType Junction -Path $(Join-Path -Path $junctionRoot -ChildPath $junctionName) -Value $junctionTarget.FullName
Add-Content $logFile -Value "[Information] $(Get-Date) New junction created at $(Join-Path -Path $junctionRoot -ChildPath $junctionName) pointing to $junctionTarget."
}
}
$action = {
# Event arguments, see https://learn.microsoft.com/en-us/dotnet/api/system.io.filesystemeventargs
$details = $event.SourceEventArgs
$path = $details.FullPath # Gets the full path of the affected file or directory.
$changeType = $details.ChangeType # Gets the change type, e.g. Created, Deleted, Renamed
Add-Content $logFile -Value "[Debug] $(Get-Date) $changeType event detected at $path."
if (!(Test-Path $path -PathType Container)) {
Add-Content $logFile -Value "[Debug] $(Get-Date) $name is not mirrored because it is not a folder."
Return
}
# If the directory contains .nomirror file, skip
if (Test-Path $(Join-Path -Path $path -ChildPath ".nomirror")) {
Add-Content $logFile -Value "[Debug] $(Get-Date) $path is not mirrored because it contains .nomirror file."
Return
}
# Process the directory as a root of junction targets
$targetRoot = $path
# If the directory is renamed, rename its mirror directory
if ($changeType -eq [System.IO.WatcherChangeTypes]::Renamed) {
$oldJunctionRoot = $(Join-Path -Path $libraryDir -ChildPath $details.OldName)
$newJunctionRoot = $(Join-Path -Path $libraryDir -ChildPath $details.Name)
if (Test-Path $oldJunctionRoot) {
Rename-Item -Path $oldJunctionRoot -NewName $details.Name
Add-Content $logFile -Value "[Information] $(Get-Date) $oldJunctionRoot is renamed to $newJunctionRoot."
}
else {
Add-Content $logFile -Value "[Warning] $(Get-Date) Junction at $oldJunctionRoot does not exist, skipping."
}
}
# If a directory is modified or newly created, update/create its mirror directory by creating/updating junctions to point to its subfolders
if ($changeType -eq [System.IO.WatcherChangeTypes]::Changed -or `
$changeType -eq [System.IO.WatcherChangeTypes]::Renamed -or `
$changeType -eq [System.IO.WatcherChangeTypes]::Created) {
CreateJunction $targetRoot
}
}
Register-ObjectEvent -InputObject $watcher -EventName Created -Action $action
Register-ObjectEvent -InputObject $watcher -EventName Changed -Action $action
Register-ObjectEvent -InputObject $watcher -EventName Renamed -Action $action
while ($true) {Start-Sleep 5}
```
上述脚本定义了一个 FileSystemWatcher 来监控下载目录的变化并镜像到库目录,可以用 `nssm` 安装为服务自动运行。如果需要排除一个目录,则只需要在该目录下新建一个名为 `.nomirror` 的文件即可。

41
docs/deploy/local-run.md Normal file
View File

@@ -0,0 +1,41 @@
# 如何在本地运行 AutoBangumi
## 克隆项目
```bash
git clone https://github.com/EstrellaXD/Auto_Bangumi.git
```
## 安装依赖
确认你的电脑本地已经安装了 `python3.10` 以上的版本,以及 `pip` 包管理工具。
```bash
python3 pip install -r requirements.txt
```
## 进入源代码目录并且创建版本信息
```bash
cd src
echo "VERSION = 'local'" >> module/__version__.py
```
## 下载 WebUI
```bash
wget https://github.com/Rewrite0/Auto_Bangumi_WebUI/releases/download/latest/dist.zip
unzip dist.zip
mv dist templates
```
## 创建配置文件夹以及数据文件夹并运行
```bash
mkdir "config"
mkdir "data"
python3 main.py
```

62
docs/deploy/wsl.md Normal file
View File

@@ -0,0 +1,62 @@
# WSL 配置说明
感谢 #73 的贡献
WSL 用户可以用以下 `docker-compose.yml` 配置文件来部署 AutoBangumi
```yml
version: "3.6"
services:
qbittorrent:
container_name: qbittorrent
image: johngong/qbittorrent:latest
hostname: qbittorrent
environment:
- QB_EE_BIN=false
- UID=1000 # 用户权限1000 当前WSL登录用户,查询方法 wsl内输入 id 用户名
- GID=1000
- QB_WEBUI_PORT=8989
ports:
- 6881:6881
- 6881:6881/udp
- 8989:8989
volumes:
- qb_config:/config
- /mnt/g/animation:/Downloads #下载路径,对应 Windows上目录是 G:\animation
networks:
- AutoBangumi_network
restart: unless-stopped
AutoBangumi:
image: estrellaxd/auto_bangumi:latest
container_name: AutoBangumi
ports:
- 7892:7892
depends_on:
- qbittorrent
volumes:
- ./config:/app/config
- ./data:/app/data
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Shanghai
- AB_DOWNLOADER_HOST=qbittorrent:8989
- AB_DOWNLOADER_USERNAME=admin
- AB_DOWNLOADER_PASSWORD=adminadmin
- AB_NOT_CONTAIN=720|繁体|CHT|JPTC|繁日|BIG5
- AB_DOWNLOAD_PATH=/Downloads #qbittorrent 映射的地址,否者可能提示下载失败
- AB_RSS=https://mikanani.me/RSS/MyBangumi?token=xxxxxxxx%3d%3d #订阅地址,改成自己的
networks:
- AutoBangumi_network
restart: unless-stopped
networks:
AutoBangumi_network:
volumes:
qb_config:
external: false
auto_bangumi:
external: false
```

26
docs/deploy/群晖.md Normal file
View File

@@ -0,0 +1,26 @@
## 群晖部署说明( QNAP 同理)
1. 安装 Docker 套件
![docker.png](https://tva1.sinaimg.cn/large/e6c9d24ely1h47zd8accwj20zc0u0wh4.jpg) 2. 在 Docker 中搜索 AutoBangumi 并且拉取
![ab.png](https://tva1.sinaimg.cn/large/e6c9d24ely1h47zd8zrv1j20zc0u0dka.jpg) 3. 配置 AutoBangumi
![conf1.png](https://tva1.sinaimg.cn/large/e6c9d24ely1h47zd8ludwj20wt0u0tam.jpg)
![conf1.png](https://tva1.sinaimg.cn/large/e6c9d24ely1h47zd8fxvyj20zj0u078i.jpg)
![conf1.png](https://tva1.sinaimg.cn/large/e6c9d24ely1h47zd7u8x6j20wm0u0mzy.jpg)
4. 如果你还没有安装 qBittorrent
配置如下:
![conf1.png](https://tva1.sinaimg.cn/large/e6c9d24ely1h47zd7ohctj20zh0u0mzq.jpg)
![conf1.png](https://tva1.sinaimg.cn/large/e6c9d24ely1h47zd7h8bsj20wp0u040n.jpg)
![conf1.png](https://tva1.sinaimg.cn/large/e6c9d24ely1h47zd6cgovj20wt0u00uj.jpg)
## 运行结果
![conf1.png](https://tva1.sinaimg.cn/large/e6c9d24ely1h47zd65jcbj21bx0u07bf.jpg)

View File

@@ -0,0 +1,50 @@
# 开始前的准备
**AutoBangumi** 可以使用 Docker 运行,也可以直接从源代码运行,鉴于追番是一个 7x24 小时的过程,**推荐**在 NAS 或者 Linux 服务器中使用 Docker 运行。
## 获取 Mikan Project RSS 订阅地址
本项目基于解析 Mikan Project 提供的 RSS 地址,因此如果要实现自动追番,需要注册并且获得 Mikan Project 的 RSS 地址:
![image](https://raw.githubusercontent.com/EstrellaXD/ab_resource/main/resource/image/订阅地址.png)
获取的 RSS 地址如下:
```angular2html
https://mikanani.me/RSS/MyBangumi?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# 或者
https://mikanime.tv/RSS/MyBangumi?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
```
AB 中需要填入的 `token` 为以上 url 中 `token=` 后面的一串字符。
## Mikan Project 订阅贴士
由于 AutoBangumi 会解析所有获得的 RSS 信息,因此在订阅番剧的时候需要注意以下几点:
![image](https://raw.githubusercontent.com/EstrellaXD/ab_resource/main/resource/image/高级订阅.png)
- 在个人设置中打开高级设置。
- 一部番剧只订阅一个字幕组,点击 Mikan Project 的番剧图片即可呼出二级菜单,选择一个字幕组订阅即可。
- 如果字幕组有简体繁体不同的字幕,Mikan Project 大多时候提供了选择订阅的方式,选择一种字幕订阅。
- 如果不提供简繁选择,那么可以在 AutoBangumi 中设置 `filter` 进行过滤,也可以在规则生成之后进入 qBittorrent 中手动过滤。
- 目前不支持 OVA 以及 剧场版 的订阅解析。
## 安装 Docker 以及 Docker Compose
- [安装 Docker 英文](https://docs.docker.com/get-docker/)
- [安装 Docker-Compose 英文](https://docs.docker.com/compose/)
- [安装 Docker 中文](https://sspai.com/post/56893)
- [Docker Compose 教程](https://sspai.com/post/66013)
**推荐使用 Docker Compose 一键部署本项目**
## 安装 qBittorrent 和媒体库
如果你选择使用 Docker Compose 的方式安装,可以跳过这一步。
如果你已经配置好已有的 qBittorrent 也可以跳过这一步。
### 使用 Docker 安装 qBittorrent
- [安装说明](https://github.com/linuxserver/docker-qbittorrent)
- [群晖安装 qBittorrent](https://post.smzdm.com/p/a5k64587/)