ytd/example/config.toml
2026-04-06 21:35:29 +03:00

29 lines
No EOL
625 B
TOML

# Update channels queue, in seconds (activates daemon mode)
# * unset or comment to run once
# update = 60
# Channels queue config
[channel.test]
id = "UCl2mFZoRqjw_ELax4Yisf6w" # channel ID
is_live = true
is_short = false
is_upcoming = false
# Channel item commands to apply (in order)
[[channel.test.command]]
exec = "/usr/bin/echo {ID}" # Supported macro replacements: * {ID} - parsed item URL
stdout_contains = "\n" # Check stdout for containing expected string, optional
# [[channel.test.command]]
# ..
# [[channel.test.command]]
# ..
# [channel.test2]
# ..
# [channel.test3]
# ..