-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathanime-remote.yaml
70 lines (69 loc) · 2.25 KB
/
anime-remote.yaml
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
# 该场景还在实践中,不一定完全能达到预期效果
components:
source:
- name: vcb-7acg
type: rss
props:
url: "https://mikanani.me/RSS/Search?searchstr=vcb%7C7%C2%B3ACG"
downloader:
- name: qbittorrent
type: qbittorrent
props:
url: http://192.168.1.219:10095
username: admin
password: 123456
processors:
- name: 'anime-remote'
# 手动触发
triggers: [ ]
source: rss:vcb-7acg
downloader: qbittorrent
item-file-resolver: torrent
file-mover: qbittorrent
save-path: /mnt/temp-media/anime
options:
variable-providers:
- "anime"
- "anitom"
- "episode"
- "language"
- "season"
save-path-pattern: "{nativeName}/Season {season}"
filename-pattern: "{title} S{season}E{episode}:{' - ' + source}"
variable-name-replace:
episodeNumber: episode
episodeNumberAlt: episode
romajiName: title
regex-variable-replacers:
- regex: "(?i)^BDRIP$"
replacement: BD
file-taggers:
- "simple"
- "anime"
file-grouping:
- tags: [ "subtitle" ]
filename-pattern: "{title} S{season}E{episode}:{' - '+source}:{'.'+language}"
- tags: [ "special" ]
save-path: "{nativeName}/Season 00"
filename-pattern: "{title} S00E{episode}"
- tags: [ "ova" ]
save-path-pattern: "{nativeName}/Season 00/"
filename-pattern: "{title} OVA S00E{episode}"
- tags: [ "oad" ]
save-path-pattern: "{nativeName}/Season 00/"
filename-pattern: "{title} OAD S00E{episode}"
source-file-filters:
- "anime"
item-expression-exclusions:
- "item.title.matches('剧场版') || item.title.matches('BDMV') || item.title.matches('劇場版')"
item-content-expression-exclusions:
- "item.files.filter(x, 'video' in x.tags).size() < 3"
file-content-expression-exclusions:
- "file.paths.containsAny(['extra', 'others', 'special'], true)"
variable-process:
- input: "nativeName"
chain: [ "season" ]
condition-expression: "file.originalLayout != 'SPs'"
output:
key-mapping:
"nativeName": "season"