tasks: # downloading task download-rss: rss: xxx # fetch all the feed series all_series: yes # use deluge to download the torrents deluge: path: /var/lib/deluge/incomplete movedone: /var/lib/deluge/flexget/{{series_name}}/ main_file_only: yes keep_subs: yes # sorting task sort-files: find: # directory with the files to be sorted path: /var/lib/deluge/flexget/ # fetch all avi, mkv and mp4 files, skips the .part files (unfinished torrents) regexp: '.*\.(avi|mkv|mp4)$' recursive: yes accept_all: yes seen: local # this is needed for the episode names thetvdb_lookup: yes all_series: # all_series rejects all episodes here, even with seen: local, so parse_only must be added parse_only: yes # TVDB doesn't recognise every show so you must add those here manually # series: # - Agents of S.H.I.E.L.D. move: # this is where the series will be stored to: /mnt/data3/Data/Media/tvseries/{{ series_name }}/Season {{ series_season }} # save the file as "Series Name - SxxEyy - Episode Name.ext" filename: '{{ series_name }} - {{ series_id }} - {{ tvdb_ep_name|default(False) }}{{ location | pathext }}' clean_source: 100 # Send an email email: template: html from: xxx subject: xxx to: - xxx - xxx - xxx - xxx smtp_host: smtp.gmail.com smtp_port: 587 smtp_login: True smtp_username: xxx smtp_password: xxx smtp_tls: true