]> git.rmz.io Git - dotfiles.git/blobdiff - flexget/config.yml
run move-{movies,episodes} on more files
[dotfiles.git] / flexget / config.yml
index 5373d38a47ad15864b8c87159c238ea552612456..239f27ca807dd5672816172612fb1ddb4d63a825 100644 (file)
@@ -19,7 +19,6 @@ tasks:
 
     exists_series:
       - "/mnt/Skaro/Series"
-      - "/home/ramsi/Torrents"
 
     series:
       settings:
@@ -46,7 +45,7 @@ tasks:
         - house
         - my little pony
         - red dwarf
-        - walking dead
+        - the walking dead
         - weeds
 
     transmission:
@@ -60,27 +59,30 @@ tasks:
     thetvdb_lookup: yes
     metainfo_series: yes
     accept_all: yes
+    # only reject files that have been seen by this task
+    seen: local 
 
     find:
       path: /mnt/Skaro/Torrents.flex
       recursive: yes
-      regexp: '.*\.(avi|mkv|mp4)$'
+      regexp: '.*\.(avi|mkv|mp4|mpg|divx)$'
 
     move:
-      to: "/mnt/Skaro/Series/{{series_name_tvdb}}/Season {{tvdb_season}}/"
-      filename: "{{tvdb_season}}x{{tvdb_episode|pad(2)}} {{ep_name|replace('/','-')}} ({{ep_air_date|formatdate('%Y')}}){{'{'}}{{quality|replace(' ','}{')}}{{'}'}}[en]{{location|pathext}}"
+      to: "/mnt/Skaro/Series/{{tvdb_series_name}}/Season {{tvdb_season}}/"
+      filename: "{{tvdb_season}}x{{tvdb_episode|pad(2)}} {{tvdb_ep_name|replace('/','-')}} ({{tvdb_ep_air_date|formatdate('%Y')}}){{'{'}}{{quality|replace(' ','}{')}}{{'}'}}[en]{{location|pathext}}"
 
   move-movies:
     tmdb_lookup: yes
     accept_all: yes
+    seen: local
 
     find:
-      path: /mnt/Skaro/Movies.carsten
+      path: /mnt/Skaro/Torrents.flex
       recursive: yes
-      regexp: '.*\.mkv$'
+      regexp: '.*\.(mkv|avi|mp4)$'
 
     move:
-      to: "/mnt/Skaro/Movies.flexed"
+      to: "/mnt/Skaro/Movies"
       filename: "{{tmdb_name}} ({{tmdb_year}}){{'{'}}{{quality|replace(' ','}{')}}{{'}'}}[en].mkv"
 
 # vim: sts=2 ts=2 sw=2 et