mirror of
https://codeberg.org/YGGverse/ytd.git
synced 2026-04-08 12:55:32 +00:00
40 lines
No EOL
1,023 B
TOML
40 lines
No EOL
1,023 B
TOML
# Persist processed entries between sessions
|
|
database = "database.redb"
|
|
|
|
# Iterator delay in seconds (prevents server abuse)
|
|
# * unset or comment to run asap
|
|
sleep = 1
|
|
|
|
# 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 = false
|
|
is_short = false
|
|
is_upcoming = false
|
|
# limit = 1
|
|
# name_regex = ".*"
|
|
|
|
# Channel item commands to apply (in order)
|
|
|
|
[[channel.test.command]]
|
|
exec = "/usr/bin/echo {ID}" # Supported macro replacements:
|
|
# * {ID} - parsed item URL
|
|
# See also: https://codeberg.org/YGGverse/pidpilne/src/branch/main/usr/local/bin/aacp.m4a
|
|
stdout_contains = "\n" # Check stdout for containing expected string, optional
|
|
|
|
# [[channel.test.command]]
|
|
# ..
|
|
|
|
# [[channel.test.command]]
|
|
# ..
|
|
|
|
# [channel.test2]
|
|
# ..
|
|
|
|
# [channel.test3]
|
|
# .. |