This repository has been archived by the owner on Feb 25, 2018. It is now read-only.
/
config.yml
328 lines (310 loc) · 7.72 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
secrets: secrets.yml
tasks:
# Basic TV task
tv-private:
priority: 2
template:
- tv
- notify
- deluge_local
interval: 15 minutes
inputs:
- rss: '{{ secrets.feed_urls.tv.btn }}'
- rss: '{{ secrets.feed_urls.tv.tvchaos }}'
- rss: '{{ secrets.feed_urls.tv.baconbits }}'
manipulate:
- description:
remove: yes
- title:
replace:
regexp: '\(\d{1,2} (Jan(?:uary)?|Feb(?:uary)?|Mar(?:ch)?|Apr(?:il)?|May|Jun(?:e)?|Jul(?:y)?|Aug(?:ust)?|Sept(?:ember)?|Oct(?:ober)?|Nov(?:ember)?|Dec(?:ember)?) \d{4}\)'
format: ''
# Tasmanites needs special handling
tv-private-tasmanites:
priority: 2
template:
- tv
- notify
- deluge_local
interval: 15 minutes
inputs:
- rss: '{{ secrets.feed_urls.tv.tasmanites }}'
manipulate:
- description:
remove: yes
assume_quality: 480p sdtv
# Add TV shows from the dropbox
tv-dropbox:
manual: yes
priority: 2
template:
- tv
- notify
- deluge_local
interval: 5 minutes
inputs:
- filesystem:
path:
- /home/torrent/drop/tv/
recursive: yes
mask: '*.torrent'
assume_quality: 576p sdtv
# Search the archive for missed shows
tv-archive:
interval: 4 hours
manual: yes
template:
- tv
- notify
- deluge_local
discover:
what:
- emit_series: yes
from:
- flexget_archive: [tv]
####
# Search for NFL on BTN
sport-nfl-private:
priority: 3
manual: yes
template:
- deluge_local
- notify
interval: 15 minutes
inputs:
- rss: '{{ secrets.feed_urls.sports.btn }}'
regexp:
accept:
- 'NFL - .* - Super Bowl .*'
- 'NFL - .* Championship .*'
- 'NFL - .* Texans .*'
reject:
- Halftime
- Commerials
- Condensed
- Foreign
from: title
quality: 720p+ webrip+
set:
label: sport
movedone: '/srv/media/Sport/NFL/'
###
movies-private:
priority: 2
template:
- movies
- notify
- deluge_local
interval: 1 hours
inputs:
- rss: '{{ secrets.feed_urls.movies.baconbits }}'
- rss: '{{ secrets.feed_urls.movies.cinemageddon }}'
movies-private-awesomehd:
priority: 3
template:
- movies
- notify
- deluge_local
interval: 1 hours
inputs:
- rss: '{{ secrets.feed_urls.movies.awesomehd }}'
manipulate:
- title:
extract: 'MOVIE\: (.*)'
replace:
regexp: '/'
format: '-'
movies-private-awesomehd-seedbox:
manual: yes
priority: 1
template:
- deluge_seedbox
interval: 5 minutes
inputs:
- rss: '{{ secrets.feed_urls.movies.awesomehd }}'
manipulate:
- title:
extract: 'MOVIE\: (.*)'
replace:
regexp: '/'
format: '-'
regexp:
accept:
- '75% Freeleech'
seen: local
movies-public:
manual: yes
priority: 4
template:
- movies
- notify
- deluge_local
interval: 4 hours
discover:
what:
- emit_movie_queue: yes
from:
- torrentz: verified
- piratebay:
category: 207
sort_by: seeds
movies-archive:
interval: 1 hours
template:
- movies
- notify
- deluge_local
discover:
what:
- emit_movie_queue: yes
from:
- flexget_archive: [torrent, movies]
#####
movies-seed_queue:
priority: 1
template:
- no_global
seen: local
interval: 1 hours
inputs:
- imdb_list:
user_id: '{{ secrets.services.imdb.user1 }}'
list: watchlist
- imdb_list:
user_id: '{{ secrets.services.imdb.user2 }}'
list: watchlist
accept_all: yes
movie_queue:
action: add
quality: 720p+ bluray
parsing:
movie: guessit
movies-populate-downloads:
manual: yes
disable:
- seen
- seen_info_hash
- seen_movies
filesystem:
- /srv/media/Movies
- /srv/movie_archive/
template: no_global
movie_queue: accept
make_rss: ~/movies.rss
assume_quality: 1080p bluray
#####
# Magazines
magazine-private:
manual: yes
template:
- magazine
- notify
- deluge_local
interval: 15 minutes
inputs:
- rss: '{{ secrets.feed_urls.magazines.baconbits }}'
manipulate:
- description:
remove: yes
#####
templates:
global:
content_filter:
reject:
- password.txt
- '*.rar'
- '*.zip'
require:
- '*.avi'
- '*.mkv'
- '*.mp4'
cookies: /home/torrent/.flexget/cookies.txt
pathscrub: windows
magnets: no
plugin_priority:
piratebay: 140
retry_failed: true
pathscrub: windows
notify:
pushbullet:
apikey:
- '{{ secrets.services.pushbullet.user1 }}'
- '{{ secrets.services.pushbullet.user2 }}'
title: >
{% if series_name is defined %}{{ tvdb_series_name|default(series_name, True) }} - {{ tvdb_ep_id|default(series_id, True) }}
{% elif imdb_name is defined %}{{ imdb_name }} ({{ imdb_year }})
{% else %}{{ title }}
{% endif %}
body: >
{% if series_name is defined %}{{ tvdb_series_name|default(series_name, True) }} - {{ tvdb_ep_id|default(series_id, True) }}{% if tvdb_ep_name|default(False, True) %} - {{ tvdb_ep_name|replace('/', '-')|replace(':', ' - ') }}{% endif %}{% if quality is defined %} ({{ quality }}){% endif %}
{% elif imdb_name is defined %}{{ imdb_name }} ({{ imdb_year }}){% if quality is defined %} ({{ quality }}){% endif %}
{% else %}{{ title }}{% if quality is defined %} ({{ quality }}){% endif %}
{% endif %}
deluge_local:
deluge:
main_file_only: true
ratio: 2.0
removeatratio: true
path: /home/torrent/downloads/
movedone: /home/torrent/downloads/complete/
free_space:
path: /home/torrent/downloads/
space: 1024
deluge_seedbox:
deluge:
host: '{{ secrets.hosts.seedbox.hostname }}'
username: '{{ secrets.hosts.seedbox.deluge_login }}'
password: '{{ secrets.hosts.seedbox.deluge_password }}'
tv:
include: series.yml
regexp:
reject:
- xAll
- HDRip
content_size:
min: 50
max: 3000
strict: no
thetvdb_lookup: yes
set:
content_filename: "{{ tvdb_series_name|default(series_name, True) }} - {{ tvdb_ep_id|default(series_id, True) }}{% if tvdb_ep_name|default(False, True) %} - {{ tvdb_ep_name|replace('/', '-')|replace(':', ' - ') }}{% endif %}{% if proper_count %} - Proper{% if proper_count > 1 %}{{ proper_count }}{% endif %}{% endif %}"
label: tv
movedone: /srv/media/TV/{{ tvdb_series_name|default(series_name, True) }}/Season {{ tvdb_season|default(series_season, True) }}
archive:
- torrent
- tv
movies:
seen_movies: strict
proper_movies: yes
movie_queue: accept
content_size:
min: 700
max: 10000
set:
content_filename: '{{ imdb_name | pathscrub | trim }} ({{ imdb_year }}){% if quality %} - {{ quality }}{% endif %}'
label: movies
movedone: /srv/movie_archive/{{ imdb_name | pathscrub | trim }} ({{ imdb_year}})
regexp:
reject:
- 3d
- extras
archive:
- torrent
- movies
magazine:
set:
label: magazine
movedone: /srv/media/Magazines/
regexp:
accept:
- ^Wired UK
- ^Linux Voice
- ^Linux User & Developer
- ^Edge
- ^GamesTM
- ^Retro Gamer
content_filter:
require:
- '*.pdf'
- '*.epub'
- '*.cbr'