template
set template <format>
Sets the format used to construct filenames for output video files. This format string may contain the following substitution variables:
programThe name of the program the episode belongs to
idThe output of the id_template setting. This typically contains the season number and episode number
seasonThe number of the season the episode belongs to
nameThe name of the episode itself
nowThe current date and time
extThe extension of the selected file format (“mp4” or “mkv”)
Each of these substitution variables use the Python format-string syntax. After
a separating “:” (colon), additional fields may be specified customizing the
output. The following table shows several example values for this field, and
the resulting output for Red Dwarf episode 2 of season 3, “Marooned”, assuming
id_template is set to its default of {season}x{episode:02d}:
Value |
Output |
|---|---|
|
Red Dwarf - 3x02 - Marooned.mp4 |
|
Red Dwarf/Season 3/3x02 - Marooned.mp4 |
See also id_template, output_format, target