Open MilapNaik opened 6 years ago
Hey @mborgerson, hats off for this great app.
Unfortunately, just like @MilapNaik Artwork won't show for Spotify on Mac, which is too bad:
Log File reads:
Jun 16 14:22:42 Nintendo64 TrayPlay[37443]: Error: Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: unauthorized (401)" UserInfo={NSLocalizedDescription=Request failed: unauthorized (401), NSErrorFailingURLKey=https://api.spotify.com/v1/tracks/26ATkgJARDJGaqBN2Vd32v, com.alamofire.serialization.response.error.data=<7b0a2020 22657272 6f72223a 207b0a20 20202022 73746174 7573223a 20343031 2c0a2020 2020226d 65737361 6765223a 20224e6f 20746f6b 656e2070 726f7669 64656422 0a20207d 0a7d>, com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x600000564a80> { URL: https://api.spotify.com/v1/tracks/26ATkgJARDJGaqBN2Vd32v } { Status Code: 401, Headers {
"Access-Control-Allow-Origin" = (
"*"
);
"Alt-Svc" = (
clear
);
"Content-Encoding" = (
gzip
);
"Content-Type" = (
"application/json"
);
Date = (
"Wed, 16 Jun 2021 12:22:42 GMT"
);
Server = (
envoy
);
"Strict-Transport-Security" = (
"max-age=31536000"
);
"Transfer-Encoding" = (
Identity
);
Via = (
"HTTP/2 edgeproxy, 1.1 google"
);
"Www-Authenticate" = (
"Bearer realm=\"spotify\""
);
"access-control-allow-credentials" = (
true
);
"access-control-allow-headers" = (
"Accept, App-Platform, Authorization, Content-Type, Origin, Retry-After, Spotify-App-Version, X-Cloud-Trace-Context, client-token, content-access-token"
);
"access-control-allow-methods" = (
"GET, POST, OPTIONS, PUT, DELETE, PATCH"
);
"access-control-max-age" = (
604800
);
"x-content-type-options" = (
nosniff
);
} }}
Artwork shows for iTunes but not for Spotify. I'm on a Mac