路径模板
路径模板使用 Liquid 模板语言生成最终文件路径,因此您可以根据需求使用 Liquid 语法自定义最终生成的文件路径。
out_dir
Section titled “out_dir”保存目录设置的值
home_dir
Section titled “home_dir”用户的主目录
audio_dir
Section titled “audio_dir”用户的音频目录
video_dir
Section titled “video_dir”用户的视频目录
desktop_dir
Section titled “desktop_dir”用户的桌面目录
document_dir
Section titled “document_dir”用户的文档目录
download_dir
Section titled “download_dir”用户的下载目录
template_dir
Section titled “template_dir”用户的模板目录
platform
Section titled “platform”直播平台
channel
Section titled “channel”直播频道
user_id
Section titled “user_id”主播用户 ID
user_name
Section titled “user_name”主播用户名
直播标题
categories
Section titled “categories”直播类别
文件创建时间
Liquid 筛选器
Section titled “Liquid 筛选器”date 筛选器已扩展,支持时区参数。
如果未指定时区参数,date 筛选器默认使用 UTC 时区。
时区参数可以是 utc、local 或来自 时区数据库 的时区名称,例如 Asia/Shanghai、America/New_York 和 Europe/London。
示例:
{{ 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'}}