Compare commits
2 Commits
f237ab7e1e
...
f67691e8d7
| Author | SHA1 | Date | |
|---|---|---|---|
| f67691e8d7 | |||
| 4fa1cc7fde |
21
yt
21
yt
@ -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
|
||||||
|
|
||||||