Sunday, May 18, 2014

FlexGet 1.2.117 Trakt.tv integration configuration for tv series,movies and animes

Hello, in this example of FlexGet 1.2.117, we will use trakt.tv as our media title source for movies, tv series and animes.It has a, task for daily raw hentai download from nyaa.Then we'll use the transmission-daemon to download media's, finally for noticing new downloads, we get help from pushbullet for new download notifications, and a cleanup work to finished torrents 14 days ago.Code have movie search capabilities in 720p, task's timers can be edited for your needs.The code have empty areas like trakt tv username,password and api key.You need to fill them first with your account valuables.
  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
templates:
  trakt_add_lib:
    trakt_add: 
      username: 
      password: 
      api_key: 
      list: library

  tv:
    transmission:
      host: localhost
      port: 9999
      username: 
      password:
      addpaused: no
      path: /mnt/sata/Downloads/Series
      ratio: 0.3
    configure_series:
      settings:
        quality: hdtv|webdl xvid|divx|h264 720p
        propers: no
      from:
        trakt_list:
          username: 
          api_key: 
          series: watchlist
          strip_dates: yes
    regexp:
      reject:
        - msd
        - afg
    content_size:
      min: 400
      max: 3000
      strict: no
    pushbullet:
     apikey: 
     device: 
     title: '{{task}} - New dowload'
     body: '{{series_name}} {{series_id}}'
    inputs:
      - rss: http://kickass.to/usearch/720p%20category%3Atv%20user%3ABOZX/?rss=1
      - rss: http://ezrss.it/feed/

  anime:
    transmission:
      host: localhost
      port: 9999
      username: 
      password: 
      addpaused: no
      path: /mnt/sata/Downloads/Anime
    configure_series:
      settings:
        quality: 720p
        propers: no
        from_group: 
         - HorribleSubs
         - Comie
         - Underwater
         - FFF
      from:
        trakt_list:
          username: 
          api_key: 
          custom: anime
          strip_dates: yes
    pushbullet:
     apikey: 
     device: 
     title: '{{task}} - New dowload'
     body: '{{series_name}} {{series_id}}'
    inputs:
      - rss: http://www.nyaa.se/?page=rss&cats=1_37&filter=2
      - rss: http://tokyotosho.info/rss.php?filter=1

  movie:
    transmission:
      host: localhost
      port: 9999
      username: 
      password: 
      addpaused: no
      path: /mnt/sata/Downloads/Movies
      ratio: 0.3
    movie_queue: yes
    proper_movies: no
    quality: 720p
    regexp:
      reject:
        - msd
        - afg
        - line
        - italian
        - french
        - german
        - dutch
        - hindi
        - ipod
        - mp3
        - 3D
        - nlsubs
        - CAM
        - iTA
    content_size:
      min: 1000
      max: 7000
      strict: yes
    pushbullet:
     apikey: 
     device: 
     title: '{{task}} - New dowload'
     body: '{{series_name}} {{series_id}}'
    inputs:
      - rss: http://kickass.to/movies/?rss=1
      - rss: http://extratorrent.cc/rss.xml?cid=4&type=last

  hentai:
#   rss: http://sukebei.nyaa.se/?page=rss&cats=7_25&filter=2&minage=1&maxage=2  #Genel H RSS
    rss: http://sukebei.nyaa.se/?page=rss&user=96198 # hikiko123 H RSS
    accept_all: yes
    content_size:
        min: 12
        max: 1000
        strict: yes
    regexp:
      reject:
          - .zip
          - .rar
          - .iso
          - 3D-hentai
          - 3D
          - animated-hcg
          - 2D.G.F.
    pushbullet:
     apikey: 
     device: 
     title: '{{task}} - New dowload'
     body: '{{series_name}} {{series_id}}'
    transmission:
      enabled: yes
      host: localhost
      port: 9999
      username: 
      password: 
      path: /mnt/sata/hentai
      addpaused: no
      ratio: 0.3

  torrentsearch:
    torrent_alive: 10
    quality: 720p
    movie_queue: yes
    regexp:
      reject:
        - msd
        - afg
        - line
        - italian
        - french
        - german
        - dutch
        - hindi
        - ipod
        - mp3
        - 3D
        - nlsubs
        - CAM
        - iTA
    content_size:
      min: 1000
      max: 7000
      strict: yes
    discover:
      what:
        - emit_movie_queue: yes
      from:
        - torrentz: verified
#        - isohunt: movies
#        - piratebay: yes
#        - search_rss: http://torrentz.eu/feed_verifiedP?q={{search_term}}
#    delay: 24 hours
    pushbullet:
     apikey: 
     device: 
     title: '{{task}} - New Download'
     body: '{{series_name}} {{series_id}}'
    transmission:
      host: localhost
      port: 9999
      username: 
      password: 
      addpaused: no
      path: /mnt/sata/Downloads/Movies
      ratio: 0.3

tasks:
  tv-series:
    template:
      - tv
      - trakt_add_lib
    priority: 1

  anime-series:
    template: anime
    priority: 2

  hentai-series:
    template: hentai
    priority: 3

  import-movies:
    trakt_list:
          username: 
          api_key: 
          movies: watchlist
          strip_dates: yes
    accept_all: yes
    queue_movies:
      quality: dvdrip|bluray|webdl xvid|divx|h264 720p
    priority: 4

  movies:
    template: 
      - movie
      - trakt_add_lib
    priority: 5

  torrent:
    template: 
      - torrentsearch
      - trakt_add_lib
    priority: 6

  cleanup:
        priority: 7
        clean_transmission:
          host: localhost
          port: 9999
          username: 
          password: 
          finished_for: 14 days

schedules:
  - tasks: 
     - tv-series
    interval:
      hours: 2
  - tasks: anime-series
    interval:
      hours: 1
  - tasks: hentai-series
    interval:
      days: 1 
  - tasks: 
     - import-movies
     - movies
    interval:
      days: 1
  - tasks:
     - import-movies
     - torrent
    interval:
      days: 1
  - tasks: cleanup
    interval:
      days: 14