Documentation

WebSocket API - Queue

The users currently active song queue

Data recieved in the queue channel will have a payload in the format
Channel Payload

"payload": [
  {  
    "id": String, // Unique ID for this song
    "index": Number, // The index position (starting at 1) of the track in the playlist
    "title": String, 
    "artist": String, 
    "album": String, 
    "albumArt": String, // URL to the albumArt for this song
    "duration": Number, // Duration of song in milliseconds
    "playCount": Number // Number of times the user has played this song
  }
]

This data is sent every time the user adds or removes songs from their queue.

The payload will contain 0 to many songs.