]> git.rmz.io Git - dotfiles.git/blobdiff - flexget/config.yml
download torrents to Skaro
[dotfiles.git] / flexget / config.yml
index d8b84ee24d713b8eb72bf1aeb6de8d9da115a5b3..e2431bd741ed39991f48cb734a4c0e5dec022551 100644 (file)
@@ -1,14 +1,26 @@
 email:
-  from: tardis
-  to: ramsi@tardis
+  from: flexget@tardis
+  to: ramsi@localhost
 
 tasks:
-  ezrss:
-    rss:
-      url: https://www.ezrss.it/feed/
-#      url: http://rss.bt-chat.com/?
-#      url: http://showrss.karmorra.info/feeds/all.rss
-      ascii: yes
+  tv-shows:
+    inputs:
+      - rss: { url: 'https://www.ezrss.it/feed/', silent: yes }
+#      - rss: { url: 'http://www.torlock.com/television/rss.xml', silent: yes }
+#      - rss: { url: 'http://torrentz.eu/feed_verified?q=tv', silent: yes }
+      - rss: { url: 'http://rss.bt-chat.com/?group=3', silent: yes }
+      - rss: { url: 'http://showrss.karmorra.info/feeds/all.rss', silent: yes }
+#      - rss: { url: 'http://rss.thepiratebay.org/208', silent: yes }
+
+    content_filter:
+      reject:
+        - '*.rar'
+        - '*.r0*'
+
+    exists_series:
+      - "/mnt/Skaro/Series"
+      - "/home/ramsi/Torrents"
+
     series:
       settings:
         normal:
@@ -21,6 +33,7 @@ tasks:
         - family guy
         - futurama
         - how i met your mother
+        - qi
         - the big bang theory
         - the cleveland show
         - two and a half men
@@ -37,7 +50,7 @@ tasks:
     transmission:
       host: localhost
       port: 9091
-      path: /home/ramsi/Torrents
+      path: /mnt/Skaro/Torrents.flex
       removewhendone: yes
       ratio: 0.0
 
@@ -47,10 +60,12 @@ tasks:
     accept_all: yes
 
     find:
-      path: /home/ramsi/Torrents
+      path: /mnt/Skaro/Torrents.flex
       recursive: yes
+      regexp: '.*\.(avi|mkv|mp4)$'
+
     move:
       to: "/mnt/Skaro/Series/{{series_name_tvdb}}/Season {{tvdb_season}}/"
-      filename: "{{tvdb_season}}x{{tvdb_episode|pad(2)}} {{ep_name}}{{location|pathext}}"
+      filename: "{{tvdb_season}}x{{tvdb_episode|pad(2)}} {{ep_name}} ({{ep_air_date|formatdate('%Y')}}){{'{'}}{{quality}}{{'}'}}[en]{{location|pathext}}"
 
 # vim: sts=2 ts=2 sw=2 et