Spotify Node - getMyCurrentPlaybackState

The Spotify/Node-Red documents have limited examples as depicted here -

I've successfully setup the node to retrieve the example given 'getArtistAlbums'. This looks like this in Node-Red.

I'm trying to use the node 'getMyCurrentPlaybackState'. The Spotify API explains this as follows -

When I trigger the inject node, I simply see a Unix timestamp at the debug. I'm at a bit of a loss to understand how to properly format the Function node.

For info, here's the API info for the successful 'getArtistAlbums'. I'm trying to use the two sets of information to work out what is required for the msg.params.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.