Read the statement by Michael Teeuw here.
MMM-Spotify
-
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:4iV5W9uYEdYUVa79Axb7Rhthis 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 ?
-
did you fix the problem?
-
@Rolandochambers help me
-
@J2k3000 said in MMM-Spotify:
http://ip:port//api/notification/SPOTIFY_PlAY?context_uri=spotify:track:4iV5W9uYEdYUVa79Axb7Rh
this translates in :
“notification”:“SPOTIFY_PlAY”,“payload”:{“context_uri”:“spotify:track:4iV5W9uYEdYUVa79Axb7Rh”Maybe “SPOTIFY_PLAY”, not “SPOTIFY_PIAY”?
-
i will try
-
@MMRIZE said in MMM-Spotify:
@J2k3000 said in MMM-Spotify:
http://ip:port//api/notification/SPOTIFY_PlAY?context_uri=spotify:track:4iV5W9uYEdYUVa79Axb7Rh
this translates in :
“notification”:“SPOTIFY_PlAY”,“payload”:{“context_uri”:“spotify:track:4iV5W9uYEdYUVa79Axb7Rh”Maybe “SPOTIFY_PLAY”, not “spotify premium apk_PIAY”?
thank
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login