Compare commits

...

2 Commits

Author SHA1 Message Date
f67691e8d7
fixed duplicates showing up in pick 2023-11-24 19:51:18 -07:00
4fa1cc7fde
removed mpv dependency 2023-11-21 22:44:12 -07:00

21
yt
View File

@ -158,7 +158,7 @@ pick() { # Pick a video to play from a playlist of videos
if test -z "$list"; then if test -z "$list"; then
list="$(grep "$line" "$cachefile")" list="$(grep "$line" "$cachefile")"
else else
list="$(printf '%s\n%s' "$list" "$(grep "$line" "$cachefile")")" list="$(printf '%s\n%s' "$list" "$(grep "$line" "$cachefile" | uniq)")"
fi fi
done done