Skip to main content

DEFAULT_TEMPLATE

Constant DEFAULT_TEMPLATE 

Source
pub const DEFAULT_TEMPLATE: &str = "{creator}/{album}/{creator}-{title} [{id8}]";
Expand description

The default relative path template.

Supported placeholders are {creator}, {handle}, {album}, {title}, {id}, {id8} (first 8 characters of the clip id), and {root_id8} (first 8 of the resolved lineage root id). Empty path segments are dropped after rendering.

The default embeds [{id8}] in the file name so same-title clips never collide, and folders under {album}, which resolves to the lineage root’s title (else the clip’s own title).