]> git.rmz.io Git - dotfiles.git/commitdiff
flexget: manipulate series if lookup failed
authorSamir Benmendil <me@rmz.io>
Tue, 15 Aug 2017 21:03:21 +0000 (22:03 +0100)
committerSamir Benmendil <me@rmz.io>
Tue, 15 Aug 2017 21:03:21 +0000 (22:03 +0100)
flexget/config.yml

index 88e898daa9c02751930df59d7ed00d7376bef624..a155a0711e5964478d1b43c064a082879e4a3db4 100644 (file)
@@ -381,6 +381,14 @@ tasks: # {{{1
         - '[Ss]ample'
 
     thetvdb_lookup: yes
         - '[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
     all_series:
       parse_only: yes
     accept_all: yes