]> git.rmz.io Git - dotfiles.git/blobdiff - flexget/config.yml
run move-{movies,episodes} on more files
[dotfiles.git] / flexget / config.yml
index cf45208103a1ab95638f45308782284dc0a0ec35..239f27ca807dd5672816172612fb1ddb4d63a825 100644 (file)
@@ -19,7 +19,6 @@ tasks:
 
     exists_series:
       - "/mnt/Skaro/Series"
-      - "/home/ramsi/Torrents"
 
     series:
       settings:
@@ -38,6 +37,7 @@ tasks:
         - the cleveland show
         - two and a half men
       720p:
+        - breaking bad
         - dexter
         - doctor who
         - eureka
@@ -45,6 +45,7 @@ tasks:
         - house
         - my little pony
         - red dwarf
+        - the walking dead
         - weeds
 
     transmission:
@@ -58,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"
-      filename: "{{tmdb_name}} ({{tmdb_year}}){{'{'}}{{quality|replace(' ','}{')}}{{'}'}}[en][de].mkv"
+      to: "/mnt/Skaro/Movies"
+      filename: "{{tmdb_name}} ({{tmdb_year}}){{'{'}}{{quality|replace(' ','}{')}}{{'}'}}[en].mkv"
 
 # vim: sts=2 ts=2 sw=2 et