Skip to content

Commit 205746e

Browse files
committed
Markdown
1 parent 64042d9 commit 205746e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • ansible/roles/documentation/templates/README_SNIPPETS

ansible/roles/documentation/templates/README_SNIPPETS/MEDIA.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### Media folders
22
{% set has_media_path=((opt_param_volumes[0].vol_path | default("yes")) != "/downloads") %}
33

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.
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.
55

66
Use the optional path{% if has_media_path %}s{% endif %} if you don't understand, or don't want hardlinks/atomic moves.
77

0 commit comments

Comments
 (0)