X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/09feda9c4936d8e65b310613dc074e393c4d72a5..0d89e0b38f04e0dc6fd0e2b51efa044bd3ccfc5a:/flexget/templates/move.template diff --git a/flexget/templates/move.template b/flexget/templates/move.template index 314632d..31e11d1 100644 --- a/flexget/templates/move.template +++ b/flexget/templates/move.template @@ -2,8 +2,14 @@ {%- for group in task.accepted|groupby('task') %} FlexGet has just downloaded {{group.list|length}} new entries for task {{group.grouper}}: {%- for entry in group.list %} -- {{entry.location|pathbase}}{% if entry.output|d(false) %} - => {{entry.output|replace(entry.destination+'/','')}}{% endif %} +- {{entry.location|pathbase}} + => {% if entry.folder|d(false) %}{{entry.folder}}/{% endif %}{{entry.filename}} {%- endfor %} {% endfor %} {% endif -%} +{% if task.failed -%} +The following entries have failed for task {{task.name}}: +{%- for entry in task.failed %} +- {{entry.title}} Reason: {{entry.reason|d('unknown')}} +{% endfor %} +{% endif %}