about summary refs log tree commit diff stats
path: root/hm
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-01-04 19:54:05 +0100
committerSoispha <soispha@vhack.eu>2024-01-04 19:54:05 +0100
commitc0eed6114390d2c6c5196017d380496d5e4aa267 (patch)
treeb25632945f9453f3415889edfba89aa5cb76dab8 /hm
parentfeat(hm/pkgs/scr/ytcc/ytc): Add support for direct urls (diff)
downloadnixos-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-xhm/soispha/pkgs/scripts/specific/ytcc/yts4
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