Skip to content

Commit 1a2dde9

Browse files
authored
Merge pull request #105 from genevera/patch-1
Fix auth
2 parents 91824d8 + d6e973d commit 1a2dde9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spotify

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ while [ $# -gt 0 ]; do
159159
showAPIHelp;
160160
exit 1;
161161
fi
162-
SHPOTIFY_CREDENTIALS=$(printf "${CLIENT_ID}:${CLIENT_SECRET}" | base64 | tr -d "\n");
162+
SHPOTIFY_CREDENTIALS=$(printf "${CLIENT_ID}:${CLIENT_SECRET}" | base64 | tr -d "\n"|tr -d '\r');
163163
SPOTIFY_PLAY_URI="";
164164

165165
getAccessToken() {

0 commit comments

Comments
 (0)