From c0eed6114390d2c6c5196017d380496d5e4aa267 Mon Sep 17 00:00:00 2001 From: Soispha Date: Thu, 4 Jan 2024 19:54:05 +0100 Subject: fix(hm/pkgs/scr/ytcc/yts): Adopt to new ytc input format --- hm/soispha/pkgs/scripts/specific/ytcc/yts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hm/soispha/pkgs/scripts/specific/ytcc/yts b/hm/soispha/pkgs/scripts/specific/ytcc/yts index b5edf52c..b81915c1 100755 --- a/hm/soispha/pkgs/scripts/specific/ytcc/yts +++ b/hm/soispha/pkgs/scripts/specific/ytcc/yts @@ -52,7 +52,7 @@ while read -r line; do if [ "$is_first" = "true" ]; then ids="$id"; else - ids="$ids,$id"; + ids="$ids $id"; fi dbg "Added to be watched: $id" is_first=false @@ -60,6 +60,6 @@ while read -r line; do esac done < "$selection_file" -[ "$ids" != "" ] && ytc "$ids"; +[ "$ids" != "" ] && ytc "id" "$ids"; # vim: ft=sh -- cgit 1.4.1