Skip to content

Commit 64042d9

Browse files
committed
Acount for downloaders
1 parent 462d157 commit 64042d9

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • ansible/roles/documentation/templates/README_SNIPPETS
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
### Media folders
2+
{% set has_media_path=((opt_param_volumes[0].vol_path | default("yes")) != "/downloads") %}
23

3-
We have set '{{ opt_param_volumes[0].vol_path | default("/movies, /tv or /music") }}' and '/downloads' as optional paths, this is because it is the easiest way to get started. While easy to use, it has some drawbacks. Mainly losing the ability to hardlink (TL;DR a way for a file to exist in multiple places on the same file system while only consuming one file worth of space), or atomic move (TL;DR instant file moves, rather than copy+delete) files while processing content.
4+
We have set {% if has_media_path %}'{{ opt_param_volumes[0].vol_path | default("/movies, /tv or /music") }}' and {% endif %}'/downloads' as optional path{% if has_media_path %}s{% endif %}, this is because it is the easiest way to get started. While easy to use, it has some drawbacks. Mainly losing the ability to hardlink (TL;DR a way for a file to exist in multiple places on the same file system while only consuming one file worth of space), or atomic move (TL;DR instant file moves, rather than copy+delete) files while processing content.
45

5-
Use the optional paths if you don't understand, or don't want hardlinks/atomic moves.
6+
Use the optional path{% if has_media_path %}s{% endif %} if you don't understand, or don't want hardlinks/atomic moves.
67

78
{{ "The folks over at servarr.com wrote a good [write-up](https://wiki.servarr.com/docker-guide#consistent-and-well-planned-paths) on how to get started with this." | admonition(flavour=markdown, severity="tip", title="Well planned paths", collapse=False) }}

0 commit comments

Comments
 (0)