type
status
date
slug
summary
tags
category
icon
password
1. 拉取镜像
在 Unraid 的命令行界面执行以下命令:
2. 配制文件相关配制
在 Unraid 的命令行界面执行以下命令:
运行 Docker 生成默认的配置文件:
运行上面的 docker cli 命令之后容器会生成一个配置文件模板,使用下面的命令将模板文件复制出来一份进行修改:
此时你需要修改
/mnt/user/appdata/avdc/mdc.ini
文件:![notion image](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F5ecb05fe-5171-41c0-b920-80b643817327%2Ff61b497d-938c-438b-9811-ce8996a8eb70%2FUntitled.png?table=block&id=f1744b41-ed9a-4639-8259-a7247c69dcd9)
文件里面的内容基本都有注释,基本上看注释大概都能懂了,如果你不了解你就直接复制下面的内容到你的
mdc.ini
文件,然后严格按照我下面的步骤去执行。mdc.ini
配制好之后,到你的存放电影的文件夹里面,再创建两个文件夹
output
、source
,例如:![notion image](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F5ecb05fe-5171-41c0-b920-80b643817327%2F935f65b0-f867-4341-bb28-3a7c2c97f0de%2FUntitled.png?table=block&id=2f2a104c-51df-4658-b556-4d2e232e3b70)
output
:存放的是由 AVDC 整理好的电影文件。
source
:将你希望进行整理的电影文件都丢到里面。
上面的这两个文件夹只是一个例子,如果说你已经有自己的存放好了电影的文件夹,那么你可以根据实际情况来调整。
3. 使用 User Script 插件创建脚本
![notion image](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F5ecb05fe-5171-41c0-b920-80b643817327%2Fb6b157b2-49b6-41a0-9dbd-e7bf870f8141%2FUntitled.png?table=block&id=a3ceeeca-e17e-402a-9f7c-2ca2b95a647c)
如果应用商店安装不了,你可以用这里的方法安装
如果先前你已经安装了 User Script 插件,但可能版本比较老,那么建议你在插件那里将旧的插件卸载掉之后再通过下面的方法去安装。
复制以下的命令到 Unraid 的命令行窗口运行:
![notion image](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F5ecb05fe-5171-41c0-b920-80b643817327%2Fdec9077d-f05f-49bb-ba68-ce01c5b463a1%2FUntitled.png?table=block&id=a6a8cc67-5a36-4da9-a2a6-5e075622380b)
![notion image](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F5ecb05fe-5171-41c0-b920-80b643817327%2Fa32d7063-7e5e-4c32-9ee4-ef9019952e92%2FUntitled.png?table=block&id=b4d48f60-717c-4b33-922d-807032a2c767)
创建脚本
![notion image](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F5ecb05fe-5171-41c0-b920-80b643817327%2F737581fd-42f3-4c92-ba8e-c371af4940e3%2FUntitled.png?table=block&id=897b21b2-8f55-4d46-8ec5-5124a8473807)
![notion image](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F5ecb05fe-5171-41c0-b920-80b643817327%2F80d9ad39-b7c4-4414-a3ca-1084f2542ec3%2FUntitled.png?table=block&id=9715f9a7-49dc-4295-9acf-156bb6166860)
![notion image](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F5ecb05fe-5171-41c0-b920-80b643817327%2F814f315d-f6cb-49ff-a270-4fdb3fcf97f4%2FUntitled.png?table=block&id=a236e156-f097-4001-8890-cbb898a3cefe)
![notion image](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F5ecb05fe-5171-41c0-b920-80b643817327%2F435b9993-a036-4daf-b07a-8a5c7e3f0a4f%2FUntitled.png?table=block&id=382e579a-66ec-45f3-8aeb-e322ecf89fca)
将下面的命令粘贴到文本框中:
![notion image](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F5ecb05fe-5171-41c0-b920-80b643817327%2F8cce04ee-7b6d-46db-947a-641e4e12567a%2FUntitled.png?table=block&id=f1b661d8-0dc6-4325-b406-e32bb88db24b)
最后点击
RUN IN BACKGROUND
让脚本在后台执行:![notion image](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F5ecb05fe-5171-41c0-b920-80b643817327%2Fa15703a8-028a-4e96-88db-c7382d99099a%2FUntitled.png?table=block&id=2f8d2729-e487-48f7-b699-c1ef48804b53)
效果如下:
![notion image](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F5ecb05fe-5171-41c0-b920-80b643817327%2F80d554d4-8253-42ee-9a51-7cd5062b9026%2FUntitled.png?table=block&id=ba05d7bd-3ab6-4aeb-9a98-434a5f5991d7)