created major large-scale changes
This commit is contained in:
@@ -38,7 +38,7 @@ tasks:
|
||||
populate_folders:
|
||||
{% if download_mode == 'direct' %}
|
||||
proxy:
|
||||
https: 'socks5://<< sox.hostname >>:<< sox.port >>'
|
||||
https: 'socks5://<< tor.proxy.hostname >>:<< tor.proxy.port >>'
|
||||
{% endif %}
|
||||
if:
|
||||
- "'batch' in title.lower()": reject
|
||||
@@ -63,16 +63,19 @@ tasks:
|
||||
template: limited_series
|
||||
{% if flexget.download_mode == 'aria2' %}
|
||||
aria2:
|
||||
server: << aria.hostname >>
|
||||
port: << aria.port >>
|
||||
{% if aria.secret != None or aria.secret is defined %}
|
||||
secret: << aria.secret >>
|
||||
server: << aria.rpc.hostname >>
|
||||
port: << aria.rpc.port >>
|
||||
{% if aria.rpc.secret != None and aria.rpc.secret is defined %}
|
||||
secret: << aria.rpc.secret >>
|
||||
{% elif aria.rpc.credentials != None and aria.rpc.credentials is defined %}
|
||||
username: << aria.rpc.credentials.username >>
|
||||
password: << aria.rpc.credentials.password >>
|
||||
{% endif %}
|
||||
{% if aria.credentials != None or aria.credentials is defined %}
|
||||
username: << aria.credentials.username >>
|
||||
password: << aria.credentials.password >>
|
||||
{% if mode == 'prod' %}
|
||||
scheme: << aria.rpc.scheme >>
|
||||
{% else %}
|
||||
scheme: http
|
||||
{% endif %}
|
||||
scheme: << aria.scheme >>
|
||||
rpc_mode: json
|
||||
rpc_path: jsonrpc
|
||||
path: '~/downloads/media/vids/{{ series_name }}'
|
||||
@@ -85,21 +88,25 @@ tasks:
|
||||
fap_queue:
|
||||
{% if download_mode == 'direct' %}
|
||||
proxy:
|
||||
https: 'socks5://<< sox.hostname >>:<< sox.port >>'
|
||||
https: 'socks5://<< tor.proxy.hostname >>:<< tor.proxy.port >>'
|
||||
{% endif %}
|
||||
template: porn_vids
|
||||
{% if flexget.download_mode == 'aria2' %}
|
||||
aria2:
|
||||
server: << aria.hostname >>
|
||||
port: << aria.port >>
|
||||
{% if aria.secret != None or aria.secret is defined %}
|
||||
secret: << aria.secret >>
|
||||
server: << aria.rpc.hostname >>
|
||||
port: << aria.rpc.port >>
|
||||
{% if aria.rpc.secret != None and aria.rpc.secret is defined %}
|
||||
secret: << aria.rpc.secret >>
|
||||
{% endif %}
|
||||
{% if aria.credentials != None or aria.credentials is defined %}
|
||||
username: << aria.credentials.username >>
|
||||
password: << aria.credentials.password >>
|
||||
{% if aria.rpc.credentials != None and aria.rpc.credentials is defined %}
|
||||
username: << aria.rpc.credentials.username >>
|
||||
password: << aria.rpc.credentials.password >>
|
||||
{% endif %}
|
||||
{% if mode == 'prod' %}
|
||||
scheme: << aria.rpc.scheme >>
|
||||
{% else %}
|
||||
scheme: http
|
||||
{% endif %}
|
||||
scheme: << aria.scheme >>
|
||||
rpc_mode: json
|
||||
rpc_path: jsonrpc
|
||||
path: ~/downloads/.xxx/media/vids
|
||||
@@ -112,21 +119,25 @@ tasks:
|
||||
film_queue:
|
||||
{% if download_mode == 'direct' %}
|
||||
proxy:
|
||||
https: 'socks5://<< sox.hostname >>:<< sox.port >>'
|
||||
https: 'socks5://<< tor.proxy.hostname >>:<< tor.proxy.port >>'
|
||||
{% endif %}
|
||||
template: feature_films
|
||||
{% if flexget.download_mode == 'aria2' %}
|
||||
aria2:
|
||||
server: << aria.hostname >>
|
||||
port: << aria.port >>
|
||||
{% if aria.secret != None or aria.secret is defined %}
|
||||
secret: << aria.secret >>
|
||||
server: << aria.rpc.hostname >>
|
||||
port: << aria.rpc.port >>
|
||||
{% if aria.rpc.secret != None or aria.rpc.secret is defined %}
|
||||
secret: << aria.rpc.secret >>
|
||||
{% endif %}
|
||||
{% if aria.credentials != None or aria.credentials is defined %}
|
||||
username: << aria.credentials.username >>
|
||||
password: << aria.credentials.password >>
|
||||
{% if aria.rpc.credentials != None or aria.rpc.credentials is defined %}
|
||||
username: << aria.rpc.credentials.username >>
|
||||
password: << aria.rpc.credentials.password >>
|
||||
{% endif %}
|
||||
{% if mode == 'prod' %}
|
||||
scheme: << aria.rpc.scheme >>
|
||||
{% else %}
|
||||
scheme: http
|
||||
{% endif %}
|
||||
scheme: << aria.scheme >>
|
||||
rpc_mode: json
|
||||
rpc_path: jsonrpc
|
||||
path: ~/downloads/media/vids
|
||||
|
||||
Reference in New Issue
Block a user