diff options
Diffstat (limited to '')
-rwxr-xr-x | hm/soispha/pkgs/scripts/wrappers/ytc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hm/soispha/pkgs/scripts/wrappers/ytc b/hm/soispha/pkgs/scripts/wrappers/ytc index 9dfbf6c5..f563f00d 100755 --- a/hm/soispha/pkgs/scripts/wrappers/ytc +++ b/hm/soispha/pkgs/scripts/wrappers/ytc @@ -75,6 +75,7 @@ while read -r base; do if [ "$old_filename" ]; then while [ "$(wc -l < "$files_to_play")" -gt "$CONCURRENT" ]; do + msg2 "Waiting for '$pid' to finish as we already have '$(wc -l < "$files_to_play")' files cached" wait "$pid" done fi @@ -83,6 +84,7 @@ while read -r base; do old_id="$id"; done < "$(tmp echo "$bases")" +wait "$pid" echo "$old_filename,$old_id" >> "$files_to_play" while read -r base; do |