]> git.rmz.io Git - dotfiles.git/blobdiff - flexget/config.yml
flexget: update config
[dotfiles.git] / flexget / config.yml
index 4f61c3622cc82e3d581a6e74b6b8c5afd6453761..4579364350da4e19709563ed99eb8f2b2fbb8902 100644 (file)
@@ -1,5 +1,8 @@
 variables: private.yml
 
+web_server:
+  run_v2: true
+  port: 8081
 
 templates: # {{{1
   email: # {{{2
@@ -74,7 +77,7 @@ templates: # {{{1
         - \[facepalm\]:   {from: title}
         - \bASAP\b:       {from: title}
         - \b Go\):        {from: title} # filter those misplaced french only movies
-        - \b(HEVC|x265)\b: {from: title} # don't get x265/HEVC
+        - \b(HEVC|[xXhH]265)\b: {from: title} # don't get x265/HEVC
 
 
   series: # {{{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
@@ -114,6 +118,7 @@ templates: # {{{1
         - community
         - danger 5: { quality: 720p+ }
         - dexter
+        - dirk gently's holistic detective agency
         - doctor who 2005
         - downton abbey
         - eureka
@@ -121,7 +126,7 @@ templates: # {{{1
         - fargo
         - foyle's war
         - futurama
-        - game of thrones: { timeframe: 9 hours }
+        - game of thrones: { timeframe: 9 hours, quality: dd5.1+ }
         - homeland
         - house of cards 2013: { alternate_name: house of cards us }
         - how i met your mother
@@ -129,6 +134,7 @@ templates: # {{{1
         - masters of sex
         - my little pony
         - mythbusters
+        - narcos
         - qi: { special_ids: 'uncut' }
         - ray donovan
         - red dwarf
@@ -139,11 +145,14 @@ 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
         - vinyl
-        - westworld
+        - westworld: { timeframe: 9 hours, quality: dd5.1+ }
 
 
   series-trakt: # {{{2
@@ -168,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
 
@@ -377,33 +386,32 @@ tasks: # {{{1
         - /srv/torrents/done
       recursive: yes
       retrieve: files
-      regexp: '.*\.(avi|mkv|mp4|mpg|divx|webm)$'
+      regexp: '.*\.(avi|mkv|mp4|mpg|divx|webm|flv)$'
 
     regexp:
       reject:
         - '[Ss]ample'
 
-    thetvdb_lookup: yes
-    if:
-      - "not has_field('tvdb_episode')":
-          manipulate:
-            - title:
-                extract: 'done/([^/]*)/[^/]*$'
-                from: location
-          thetvdb_lookup: yes
+    # guessit can extract info from full paths which may contain more info
+    #    manipulate:
+    #      - title:
+    #          from: location
+
+    parsing:
+      series: guessit
 
     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}}"
@@ -437,15 +445,15 @@ tasks: # {{{1
       reject:
         - '[Ss]ample'
 
-    imdb_lookup: yes
-    if:
-      - movie_name is None:
-          manipulate:
-            - title:
-                extract: 'done/([^/]*)/[^/]*$'
-                from: location
-          imdb_lookup: yes
+    # guessit can extract info from full paths which may contain more info
+    # manipulate:
+    #   - title:
+    #       from: location
+
+    parsing:
+      movie: guessit
 
+    imdb_lookup: yes
     accept_all: yes
     require_field:
       - imdb_name
@@ -504,6 +512,7 @@ tasks: # {{{1
       retrieve: files
       regexp: '.*\.(avi|mkv|mp4|webm|m4v)$'
 
+    #TODO use guessit like in move-series
     manipulate:
       - title:
           from: location
@@ -542,6 +551,7 @@ tasks: # {{{1
       retrieve: files
       regexp: '.*\.(avi|mkv|mp4|webm|m4v)$'
 
+    #TODO use guessit like in move-series
     manipulate:
       - title:
           from: location