]> git.rmz.io Git - dotfiles.git/blobdiff - flexget/config.yml
flexget: ignore more HEVC videos
[dotfiles.git] / flexget / config.yml
index 0646f438dcfbb61c9e7a893fc585d0fd768d2d9e..3c528292f6a980735b0c8970ae72acbba1c2328c 100644 (file)
@@ -3,9 +3,12 @@ variables: private.yml
 
 templates: # {{{1
   email: # {{{2
-    email:
-      from: flexget@tardis
-      to: ramsi@localhost
+    notify:
+      task:
+        via:
+          - email:
+              from: flexget@tardis
+              to: ramsi@localhost
 
 
   torrents: # {{{2
@@ -33,16 +36,16 @@ templates: # {{{1
 
   usenet-movies: # {{{2
     inputs:
+      - rss: { url: 'https://api.drunkenslug.com/rss?t=2040&dl=1&num=100{?drunkenslug.api?}', silent: yes } # Movies HD
       - rss: { url: 'https://www.usenet-crawler.com/rss?t=2040&dl=1&num=100{?crawler.api?}', silent: yes } # Movies HD
       - rss: { url: 'https://newztown.co.za/rss?t=2040&dl=1&num=100{?newztown.api?}', silent: yes } # Movies HD
-      - rss: { url: 'https://api.drunkenslug.com/rss?t=2040&dl=1&num=100{?drunkenslug.api?}', silent: yes } # Movies HD
 
 
   usenet-tv: # {{{2
     inputs:
+      - rss: { url: 'https://api.drunkenslug.com/rss?t=5030,5040&dl=1&num=100{?drunkenslug.api?}', silent: yes } # Movies HD
       - rss: { url: 'https://www.usenet-crawler.com/rss?t=5030,5040&dl=1&num=100{?crawler.api?}', silent: yes } # TV SD/HD
       - rss: { url: 'https://newztown.co.za/rss?t=5030,5040&dl=1&num=100{?newztown.api?}', silent: yes } # TV SD/HD
-      - rss: { url: 'https://api.drunkenslug.com/rss?t=2040&dl=1&num=100{?drunkenslug.api?}', silent: yes } # Movies HD
 
 
   filters: # {{{2
@@ -71,7 +74,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
@@ -82,8 +85,8 @@ templates: # {{{1
         default: &default_settings
           identified_by: ep
           timeframe: 12 hours
-          target: 1080p webdl h264+
-          quality: 480p+ h264+
+          target: 1080p webdl h264 dts
+          quality: 720p+ h264+
           upgrade: yes
     exists_series:
       path:
@@ -100,6 +103,7 @@ templates: # {{{1
         - 8 out of 10 cats
         - american dad
         - archer 2009
+        - arrested development
         - better call saul
         - black mirror
         - boardwalk empire
@@ -110,10 +114,12 @@ templates: # {{{1
         - community
         - danger 5: { quality: 720p+ }
         - dexter
+        - dirk gently's holistic detective agency
         - doctor who 2005
         - downton abbey
         - eureka
         - family guy
+        - fargo
         - foyle's war
         - futurama
         - game of thrones: { timeframe: 9 hours }
@@ -124,9 +130,11 @@ templates: # {{{1
         - masters of sex
         - my little pony
         - mythbusters
+        - narcos
         - qi: { special_ids: 'uncut' }
         - ray donovan
         - red dwarf
+        - rick and morty
         - sherlock
         - suits
         - the big bang theory
@@ -134,8 +142,8 @@ templates: # {{{1
         - the blacklist redemption
         - the cleveland show
         - the walking dead
-        - two and a half men
         - the wire: { quality: 720p+ }
+        - two and a half men
         - vinyl
         - westworld
 
@@ -359,10 +367,10 @@ tasks: # {{{1
     manual: yes
     template:
       - trakt-add-collection
-    seen: local
     disable:
       - retry_failed
-      - nzb_size
+      - seen
+      - seen_info_hash
     no_entries_ok: yes
 
     filesystem:
@@ -371,13 +379,21 @@ 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
+
     all_series:
       parse_only: yes
     accept_all: yes
@@ -406,10 +422,10 @@ tasks: # {{{1
     manual: yes
     template:
       - trakt-add-collection
-    seen: local
     disable:
       - retry_failed
-      - nzb_size
+      - seen
+      - seen_info_hash
     no_entries_ok: yes
 
     filesystem:
@@ -458,10 +474,13 @@ tasks: # {{{1
       list: move-tasks
     seen: local
     accept_all: yes
-    email:
-      from: flexget@tardis
-      to: ramsi@localhost
-      file_template: move
+    notify:
+      task:
+        template: move
+        via:
+          - email:
+              from: flexget@tardis
+              to: ramsi@localhost
 
 
   backfill-mail: # {{{2