diff --git a/ptgdp b/ptgdp index 453da80..1ebbfbd 100755 --- a/ptgdp +++ b/ptgdp @@ -406,6 +406,8 @@ main() { # Files specified on the command line have priority for arg in "${_args[@]}"; do playlist "$arg" + unset _queue + declare -a _queue done elif ! [ -t 0 ]; then # If there are none of those, read from STDIN