Apprise
OneLiveRec uses Apprise under the hood, letting you send notifications to almost all of the most popular notification services available to us today.
Service URL
Section titled “Service URL”The service URL format and all of the notification services supported by Apprise can be found in the Apprise wiki.
Message Template
Section titled “Message Template”OneLiveRec uses Liquid templates to generate the final message title and body, letting you customize the final generated message using Liquid syntax as needed.
Template Variables
Section titled “Template Variables”service_url
Section titled “service_url”The service URL used to send the notification
Event type: live_start, live_end, error
The live URL
platform
Section titled “platform”The live platform
channel
Section titled “channel”The live channel
user_id
Section titled “user_id”The streamer’s user ID
user_name
Section titled “user_name”The streamer’s user name
avatar
Section titled “avatar”The streamer’s avatar URL
The live title
The live cover URL
categories
Section titled “categories”The live categories
live_id
Section titled “live_id”The live ID
start_time
Section titled “start_time”The live start time
The error message
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:
{{ start_time | date: '%Y-%m-%dT%H:%M:%SZ' }}{{ start_time | date: '%Y-%m-%dT%H:%M:%SZ', 'utc' }}{{ start_time | date: '%Y-%m-%d %H:%M:%S', 'local' }}{{ start_time | date: '%Y-%m-%d %H:%M:%S', 'Asia/Shanghai' }}{{ start_time | date: '%Y-%m-%d %H:%M:%S', 'America/New_York' }}{{ start_time | date: '%Y-%m-%d %H:%M:%S', 'Europe/London' }}