feat(youtube): make check_shorts users configurable

This commit is contained in:
Jan-Ole Hübner 2025-04-13 19:55:04 +02:00
parent 3559b1c113
commit 1e73c34288
2 changed files with 2 additions and 7 deletions

View file

@ -1 +1,2 @@
TUBE_TOKEN_NAME_IN_STORE="tube.lan"
TUBE_DEFAULT_USERS=("a" "b")

View file

@ -90,13 +90,7 @@ yts() {
#
check_shorts() {
# List of channels to check (you can hardcode them or pass them as arguments)
channels=(
"DarkBlondii"
"littlesiha"
"lenaindica"
)
channels=$TUBE_DEFAULT_USERS
# Loop through each channel and call yts
for channel in "${channels[@]}"; do
echo "Checking shorts for channel: $channel"