mirror of
https://codeberg.org/YGGverse/ytd.git
synced 2026-04-08 12:55:32 +00:00
add {PROVIDER} macro support
This commit is contained in:
parent
a61f29de6d
commit
5fc73924df
2 changed files with 12 additions and 8 deletions
|
|
@ -23,7 +23,7 @@ sleep = 1
|
|||
|
||||
# Invidious provider, Youtube by default
|
||||
|
||||
# provider = "https://tux.rs"
|
||||
# provider = "https://inv.thepixora.com"
|
||||
|
||||
# Channels queue config
|
||||
|
||||
|
|
@ -40,7 +40,8 @@ sleep = 1
|
|||
[[channel.test.item]]
|
||||
exec = "/usr/bin/echo {ID}" # Supported macro replacements:
|
||||
# * {ID} - parsed item ID (e.g. `yt-dlp https://youtu.be/{ID}`)
|
||||
# See also: https://codeberg.org/YGGverse/pidpilne/src/branch/main/usr/local/bin/aacp.m4a
|
||||
# * {PROVIDER} - current `provider` URL if set (e.g. `https://inv.thepixora.com`) or `https://youtu.be`
|
||||
# See also: https://codeberg.org/YGGverse/pidpilne/src/branch/main/usr/local/bin
|
||||
stdout_contains = ["\n"] # Check stdout for containing expected string, optional
|
||||
|
||||
# [[channel.test.item]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue