feat: support adding playlist id from env
This commit is contained in:
@@ -5,7 +5,7 @@ MYSELF=$(realpath "$0")
|
||||
MYDIR=$(dirname "$MYSELF")
|
||||
. "$MYDIR"/get-tokens.sh
|
||||
|
||||
PLAYLIST_ID="2BoXyJeV0fhEHOy4uiByxr"
|
||||
PLAYLIST_ID=${PLAYLIST_ID:-"2BoXyJeV0fhEHOy4uiByxr"}
|
||||
|
||||
i=0
|
||||
iter_url=https://api.spotify.com/v1/playlists/$PLAYLIST_ID/tracks
|
||||
|
Reference in New Issue
Block a user