MoviePilot v2 相关配置手册

MoviePilot v2 相关配置手册

01 MoviePilot 文件自动整理 自动分类

1.1 相关介绍

本方案可完美实现自定义分类,包括但不限于(电影、剧集、动漫),且只需一个目录设置即可自动分类。

第一步:目录规划,首先要确认存放媒体的地方以及如何规划。大佬可以跳过这一段,小白最好老老实实按部就班操作。

  1. 先设置个共享目录,例如:video​,然后在该目录下分别创建downloads​目录存放下载源文件和links​目录存放硬链接后的媒体库文件。小白放心,这两个目录只会占用一份磁盘空间
  2. 相关容器(MP、QB、EMBY)分别映射该共享目录保持映射一致,例如:/volume4/video:/video
  3. 确认以上操作无误后,即可开始正式配置。

1.2 qBittorrent相关配置

1.2.1 启用子分类并配置默认保存路径

这里的保存路径要和MP的目录配置下载目录保持一致,为不完整的文件添加扩展名也打上勾,以免刚开始下载就触发整理。

image

1.2.2 更改默认监听端口

更改qBittorrent监听的端口,绕过运营商封锁6681端口。

image

1.3 MoviePilot 相关配置

1.3.1 下载器自动分类设置

设置qBittorret下载器启用自动分类

开启该功能,则会在qBittorrent自动生成分类并按分类路径下载,不开启则没有分类全部下载到默认目录。

image

1.3.2 二级分类策略配置

敲重点:此分类方案不再依靠TMDB划分电影、电视剧大类。分类名斜杠前面的即是一级分类,斜杠后面的则是二级分类。也就是你完全可以把TMDB电影类的动画电影,强行塞进动漫大类,具体怎么玩可以自由发挥。

使用官方发布的《二级分类策略》插件,自定义设置二级分类策略。

image

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
movie:
动漫/动画电影:
genre_ids: '16'
电影/港台电影:
origin_country: 'TW,HK'
电影/国产电影:
origin_country: 'CN'
电影/日韩电影:
origin_country: 'JP,KP,KR'
电影/欧美电影:

tv:
动漫/国产动漫:
genre_ids: '16'
origin_country: 'CN,TW,HK'
动漫/欧美动漫:
genre_ids: '16'
origin_country: 'US,FR,GB,DE,ES,IT,NL,PT,RU,UK'
动漫/日本番剧:
genre_ids: '16'
origin_country: 'JP'
其他/纪录影片:
genre_ids: '99'
其他/综艺节目:
genre_ids: '10764,10767'
电视剧/港台剧集:
origin_country: 'TW,HK'
电视剧/国产剧集:
origin_country: 'CN'
电视剧/日韩剧集:
origin_country: 'JP,KP,KR'
电视剧/南亚剧集:
origin_country: 'TH,IN,SG'
电视剧/欧美剧集:

1.3.3 目录设置

重点:一定要关闭按类型分类,开启按类别分类,其他建议按图设置。仅需设置一个目录,不要画蛇添足设置多个目录。

image

1.4 Emby 媒体库设置

image

1.5 效果图

imageimage

02 MoviePilot 通知模板配置

  1. 资源入库

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    {
    'title':'📂 已入库{{ file_count }}个文件\n'
    '{{ title_year }}',
    'text': '{% if season_episode %}\n📺 集数: {{ season_episode }}{% endif %}'
    '{% if category %}\n🎭 类别: {{ category }}{% endif %}'
    '{% if releaseGroup %}\n👥 小组: {{ releaseGroup }}{% endif %}'
    '{% if resource_term %}\n🌟 质量:{{ resource_term }}{% endif %}'
    '{% if audioCodec %} {{ audioCodec }}{% endif %}'
    '\n💾 大小: {{ total_size }}'
    '{% if err_msg %},以下文件处理失败:{{ err_msg }}{% endif %}'
    }

    image

  2. 资源下载

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    {
    'title': '{{ title_year }}'
    '{% if download_episodes %} {{ season }} {{ download_episodes }}{% else %}{{ season_episode }} 开始下载{% endif %}',
    'text': '{% if pubdate %}\n🕒 时间: {{ pubdate }}{% endif %}'
    '{% if category %}\n🎭 类别: {{ category }}{% endif %}'
    '{% if site_name %}\n🌐 站点: {{ site_name }}{% endif %}'
    '{% if resource_term %}\n🌟 质量:{{ resource_term }}{% endif %}'
    '{% if size %}\n💾 大小: {{ size }}{% endif %}'
    '{% if seeders %}\n🌱 做种: {{ seeders }}{% endif %}'
    '{% if labels %}\n🏷 标签: {{ labels }}{% endif %}'
    '{% if original_name %}\n📛 名称: \n{{ original_name }}{% endif %}'
    '{% if description %}\n\n📝 描述: {{ description }}{% endif %}'

    }

    image

  3. 添加订阅

    1
    2
    3
    4
    5
    6
    7
    8
    {
    'title': '🎞 {{ title_year }} {{season}} 已添加订阅',
    'text': '{% if vote_average %}✨ 评分:{{ vote_average }}/10\n{% endif %}'
    '{% if category %}📽 类型:{{ category }}\n{% endif %}'
    '{% if username %}👾 用户:{{ username }}\n\n{% endif %}'
    '{% if actors %}🤵 参演:{{ actors }}\n\n{% endif %}'
    '{% if overview %}🍿 简介:\n{{ overview }}{% endif %}'
    }
  4. 订阅完成

    1
    2
    3
    4
    5
    6
    {
    'title': '🎬 {{ title_year }} {{season}} 已完成订阅',
    'text': '{% if vote_average %}✨ 评分:{{ vote_average }}/10{% endif %}'
    '{% if username %}\n👾 用户:{{ username }}{% endif %}'
    '{% if overview %}\n\n🍿 简介:\n{{ overview }}{% endif %}'
    }

03 Docker Compose配置文件

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
services:
moviepilot:
image: jxxghp/moviepilot-v2:latest
container_name: moviepilot
hostname: moviepilot
stdin_open: true
tty: true
restart: unless-stopped
networks:
- service
ports:
- 8081:3000
volumes:
- /volume4/video:/video
- ./moviepilot/config:/config
- ./moviepilot/core:/moviepilot/.cache/ms-playwright
- ./qbittorrent/config/qBittorrent/BT_backup:/BT_backup
- ./transmission/config/torrents:/torrents
environment:
- NGINX_PORT=3000
- PORT=3001
- PROXY_HOST=http://10.10.0.251:7890
- BIG_MEMORY_MODE=true
- PUID=1002
- PGID=10
- UMASK=000
- TZ=Asia/Shanghai
- SUPERUSER=admin

vertex:
image: lswl/vertex:stable
container_name: vertex
hostname: vertex
restart: unless-stopped
ports:
- 8089:3000
volumes:
- ./vertex:/vertex
environment:
- TZ=Asia/Shanghai
networks:
- service

qbittorrent:
image: lscr.io/linuxserver/qbittorrent:4.6.7
container_name: qbittorrent
restart: unless-stopped
network_mode: host
mem_limit: 4096m
mem_reservation: 4096m
environment:
- PUID=0
- PGID=0
- TZ=Asia/Shanghai
- WEBUI_PORT=8080
- TORRENTING_PORT=52282
volumes:
- ./qbittorrent/config:/config
- /volume4/video:/video
- /volume4/电子书&音乐/音乐:/music
- /volume4/电子书&音乐/电子书:/books

transmission:
image: lscr.io/linuxserver/transmission:4.0.5
container_name: transmission
hostname: transmission
network_mode: host
restart: unless-stopped
environment:
- PUID=0
- PGID=0
- TZ=Asia/Shanghai
- TRANSMISSION_WEB_HOME=/web-ui
- USER=admin
- PASS=password
volumes:
- ./transmission/config:/config
- ./transmission/watch:/watch
- ./transmission/web-ui:/web-ui
- ./transmission/web-control:/web-control
- /volume4/video:/video
- /volume4/电子书&音乐/音乐:/music
- /volume4/电子书&音乐/电子书:/books

peerbanhelper:
image: ghostchu/peerbanhelper:v7.4.15
restart: unless-stopped
container_name: peerbanhelper
hostname: peerbanhelper
networks:
- service
volumes:
- ./peerbanhelper:/app/data
ports:
- 8088:9898
environment:
- PUID=0
- PGID=0
- TZ=UTC

emby:
image: amilys/embyserver:latest
restart: unless-stopped
container_name: emby
hostname: emby
privileged: true
ports:
- 8096:8096
volumes:
- /volume4/video:/video
- ./emby/config:/config
networks:
- service

# 创建service网络
networks:
service:
driver: bridge
enable_ipv6: false
ipam:
driver: default
config:
- subnet: 172.19.0.0/16
gateway: 172.19.0.1

MoviePilot v2 相关配置手册
https://hesc.info/post/moviepilot-v2-related-configuration-manual-1cyxqv.html
作者
需要哈气的纸飞机
发布于
2025年6月28日
许可协议