From c95270f1426739bf1943e41f0c4328862f9a5253 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 3 Jul 2020 14:09:50 +0100 Subject: [PATCH] updated spotify_playlist_json.sh --- spotify_playlist_json.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spotify_playlist_json.sh b/spotify_playlist_json.sh index 19e3febd..826f8ef0 100755 --- a/spotify_playlist_json.sh +++ b/spotify_playlist_json.sh @@ -49,6 +49,8 @@ help_usage "$@" playlist_id="${1:-${SPOTIFY_PLAYLIST:-}}" +shift || : + if [ -z "$playlist_id" ]; then usage "playlist id not defined" fi