Path Template
The path template uses the Liquid template language to generate the final file path, so you can customize the final generated file path using Liquid syntax according to your needs.
Template Variables
Section titled “Template Variables”out_dir
Section titled “out_dir”The value from the Output Directory setting
home_dir
Section titled “home_dir”user’s home directory
audio_dir
Section titled “audio_dir”user’s audio directory
video_dir
Section titled “video_dir”user’s video directory
desktop_dir
Section titled “desktop_dir”user’s desktop directory
document_dir
Section titled “document_dir”user’s document directory
download_dir
Section titled “download_dir”user’s download directory
template_dir
Section titled “template_dir”user’s template directory
platform
Section titled “platform”live platform
channel
Section titled “channel”live channel
user_id
Section titled “user_id”streamer user id
user_name
Section titled “user_name”streamer user name
live title
categories
Section titled “categories”live categories
file creation time
Liquid filters
Section titled “Liquid filters”The date filter is extended to support a timezone argument.
If the timezone argument is not specified, the date filter defaults to using the UTC timezone.
The timezone argument can be utc, local, or a timezone name from the Time Zone Database, such as Asia/Shanghai, America/New_York, Europe/London.
Examples:
{{ ctime | date: '%Y-%m-%d-%H%M%S-%3fZ'}}{{ ctime | date: '%Y-%m-%d-%H%M%S-%3fZ', 'utc'}}{{ ctime | date: '%Y-%m-%d-%H%M%S-%3f', 'local'}}{{ ctime | date: '%Y-%m-%d-%H%M%S-%3f', 'Asia/Shanghai'}}{{ ctime | date: '%Y-%m-%d-%H%M%S-%3f', 'America/New_York'}}{{ ctime | date: '%Y-%m-%d-%H%M%S-%3f', 'Europe/London'}}