diff options
author | Soispha <soispha@vhack.eu> | 2024-01-04 19:54:05 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-01-04 19:54:05 +0100 |
commit | c0eed6114390d2c6c5196017d380496d5e4aa267 (patch) | |
tree | b25632945f9453f3415889edfba89aa5cb76dab8 /hm | |
parent | feat(hm/pkgs/scr/ytcc/ytc): Add support for direct urls (diff) | |
download | nixos-config-c0eed6114390d2c6c5196017d380496d5e4aa267.tar.gz nixos-config-c0eed6114390d2c6c5196017d380496d5e4aa267.zip |
fix(hm/pkgs/scr/ytcc/yts): Adopt to new ytc input format
Diffstat (limited to '')
-rwxr-xr-x | hm/soispha/pkgs/scripts/specific/ytcc/yts | 4 |
1 files 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 |