forked from sebask/flexget-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
127 lines (115 loc) · 3 KB
/
config.yml
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
125
126
127
# FlexGet Configuration for Synology DSM and Transmission
# Download and sort from a manual and wishlist feed, and download and unpack packed episodes from a feed using Transmission and unrar.
secrets: secrets.yml
templates:
transmission:
transmission:
host: localhost
port: 9091
username: '{{ secrets.transmission.username }}'
password: '{{ secrets.transmission.password }}'
email:
email:
to: '{{ secrets.email.to }}'
from: '{{ secrets.email.from }}'
subject: 'DiskStation Notification'
smtp_host: 'smtp.gmail.com'
smtp_port: 465
smtp_ssl: true
smtp_username: '{{ secrets.email.smtp_username }}'
smtp_password: '{{ secrets.email.smtp_password }}'
series:
series:
series:
- Some Show
- Another Show
tasks:
manual:
rss:
url: '{{ secrets.rss.manual }}'
transmission:
path: '/volume1/Downloads/Movies'
template:
- transmission
- email
accept_all: yes
wishlist:
rss:
url: '{{ secrets.rss.wishlist }}'
transmission:
path: '/volume1/Downloads/Movies'
template:
- transmission
- email
accept_all: yes
quality: 1080p bluray h264
regexp:
reject:
- \b3-?D\b: {from: title}
- \bHalf-SBS\b: {from: title}
- \bExtras\b: {from: title}
- \bHybrid\b: {from: title}
series:
rss:
url: '{{ secrets.rss.series }}'
transmission:
path: '/volume1/Downloads/Series'
template:
- series
- transmission
- email
configure_series:
settings:
timeframe: 6 hours
target: 1080p hdtv h264
quality: 720p hdtv h264
specials: no
sort-manual-wishlist:
find:
path: '/volume1/Downloads/Movies'
recursive: true
regexp: .*\.(mkv)$
metainfo_series: yes
imdb_lookup: yes
accept_all: yes
seen: local
template: email
regexp:
reject:
- sample
set:
output_path: /volume1/Movies
output_folder: "{{ location|pathname }}"
exec: 'mkdir -p "{{ output_path }}/{{ output_folder }}" && cp "{{ location|pathdir }}/{{ location|pathname }}.mkv" "{{ output_path }}/{{ output_folder }}"'
sort-series:
find:
path: '/volume1/Downloads/Series'
recursive: true
regexp: .*\.(rar)$
template:
- series
- email
accept_all: true
only_new: yes
seen: local
require_field: series_name
series:
settings:
series:
parse_only: yes
regexp:
reject:
- sample
set:
output_path: /volume1/Series
exec: mkdir -p "{{ output_path }}/{{ series_name|replace('\'','') }}/Season {{ series_season }}" && unrar e -r -o- "{{ location }}" "{{ output_path }}/{{ series_name|replace('\'','') }}/Season {{ series_season }}"
schedules:
- tasks: [manual, wishlist]
interval:
minutes: 15
- tasks: series
interval:
minutes: 30
- tasks: [sort-manual-wishlist, sort-series]
interval:
minutes: 15