]> git.rmz.io Git - dotfiles.git/commitdiff
flexget: update config
authorSamir Benmendil <me@rmz.io>
Fri, 27 Mar 2020 23:38:21 +0000 (23:38 +0000)
committerSamir Benmendil <me@rmz.io>
Fri, 21 Aug 2020 11:08:36 +0000 (12:08 +0100)
flexget/config.yml

index 289b37f6fda1dd9b7bb37f201e0136d6280e7685..4579364350da4e19709563ed99eb8f2b2fbb8902 100644 (file)
@@ -1,5 +1,8 @@
 variables: private.yml
 
+web_server:
+  run_v2: true
+  port: 8081
 
 templates: # {{{1
   email: # {{{2
@@ -93,14 +96,15 @@ templates: # {{{1
         - '/mnt/series/{{tvdb_series_name}}'
       allow_different_qualities: better
     content_size:
-      min:  100
-      max: 6000
+      min:   100
+      max: 10000
       strict: yes
 
   series-list: # {{{2
     series:
       default:
         - 8 out of 10 cats
+        - always sunny in philadelphia
         - american dad
         - archer 2009
         - arrested development
@@ -141,6 +145,9 @@ templates: # {{{1
         - the blacklist
         - the blacklist redemption
         - the cleveland show
+        - the expanse
+        - the mandalorian
+        - the man in the high castle
         - the walking dead
         - the wire: { quality: 720p+ }
         - two and a half men
@@ -170,19 +177,19 @@ templates: # {{{1
       settings: # *default_settings
         identified_by: ep
         quality: 720p+ h264+
+        tracking: backfill
     discover:
       interval: 1 hours
       what:
-        - trakt_list:
+        - next_trakt_episodes:
             username: '{?trakt.username?}'
             account: '{?trakt.account?}'
             list: backfill
-            type: episodes
-        - next_series_episodes:
-            from_start: yes
+            context: collected
+            position: next
       from:
         - newznab:
-            url: 'https://www.usenet-crawler.com/api?apikey={?crawler.apikey?}&t=tvsearch&cat=5030,5040&extended=1'
+            url: 'https://api.drunkenslug.com/api?apikey={?drunkenslug.apikey?}&t=tvsearch&cat=5030,5040&extended=1'
             category: tv
     all_series: yes
 
@@ -386,9 +393,9 @@ tasks: # {{{1
         - '[Ss]ample'
 
     # guessit can extract info from full paths which may contain more info
-    manipulate:
-      - title:
-          from: location
+    #    manipulate:
+    #      - title:
+    #          from: location
 
     parsing:
       series: guessit
@@ -396,15 +403,15 @@ tasks: # {{{1
     all_series:
       parse_only: yes
     accept_all: yes
+    thetvdb_lookup: yes
     require_field:
       - tvdb_season
       - tvdb_episode
-      - tvdb_ep_name
 
     set:
       destination: '/mnt/series'
       folder: "{{tvdb_series_name}}/{% if tvdb_season == 0 %}Specials{% else %}Season {{tvdb_season}}{% endif %}"
-      filename: "{{tvdb_season}}x{{tvdb_episode|pad(2)}} {{tvdb_ep_name|replace('/','-')}} ({{tvdb_ep_air_date|formatdate('%Y')}}){{'{'}}{{quality|replace(' ','}{')}}{{'}'}}[en]"
+      filename: "{{tvdb_season}}x{{tvdb_episode|pad(2)}} {{tvdb_ep_name|replace('/','-')}} ({{tvdb_ep_air_date|formatdate('%Y')}}){{'{'}}{{quality|replace(' ','}{')}}{{'}'}}[{{tvdb_language}}]"
     move:
       to: "/mnt/series/{{folder}}"
       rename: "{{filename}}"
@@ -439,9 +446,9 @@ tasks: # {{{1
         - '[Ss]ample'
 
     # guessit can extract info from full paths which may contain more info
-    manipulate:
-      - title:
-          from: location
+    manipulate:
+      - title:
+          from: location
 
     parsing:
       movie: guessit