first of all great module. i got it working.
except for the when i send this notification with MMM-Remote-control:
http://ip:port//api/notification/SPOTIFY_PlAY?context_uri=spotify:track:4iV5W9uYEdYUVa79Axb7Rh
this translates in :
“notification”:“SPOTIFY_PlAY”,“payload”:{“context_uri”:“spotify:track:4iV5W9uYEdYUVa79Axb7Rh”
in the debug i get this:
[12.01.2023 16:12.18.469] [ERROR] [SPOTIFY - **] Failed to request API: /v1/me/player
[12.01.2023 16:12.18.470] [ERROR] [SPOTIFY - **] Invalid response
[12.01.2023 16:12.18.471] [ERROR] [SPOTIFY - **] Response error code: 503
[12.01.2023 16:12.18.471] [ERROR] [SPOTIFY - **] Response error text: Service Unavailable
[12.01.2023 16:12.18.472] [DEBUG] [SPOTIFY - **] Response error data: { error: { status: 503, message: ‘Service unavailable’ } }
[12.01.2023 16:12.18.474] [DEBUG] [SPOTIFY - **] Response error headers: {
‘cache-control’: ‘private, max-age=0’,
‘access-control-allow-origin’: ‘*’,
‘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-allow-credentials’: ‘true’,
‘access-control-max-age’: ‘604800’,
‘content-length’: ‘76’,
‘strict-transport-security’: ‘max-age=31536000’,
‘x-content-type-options’: ‘nosniff’,
vary: ‘Accept-Encoding’,
date: ‘Thu, 12 Jan 2023 15:12:17 GMT’,
server: ‘envoy’,
via: ‘HTTP/2 edgeproxy, 1.1 google’,
‘alt-svc’: ‘h3=“:443”; ma=2592000,h3-29=“:443”; ma=2592000’,
connection: ‘close’
What am i doing wrong ?