AzuraCast icon

AzuraCast

Interact with AzuraCast Web API

Actions263

Station Playlist → Get Queue

AI-generated

Summary

Retrieve the queue items for a specified playlist and station in AzuraCast

Inputs

  • path__getstationplaylistqueue__id (required) — Identifies the playlist for this action. Path parameter: {id} Choose a name from the list, or specify an ID using an expression.
  • path__getstationplaylistqueue__station_id (required) — Identifies the station for this action. Path parameter: {station_id} Choose a name from the list, or specify an ID using an expression.
  • sendAdditionalHeaders — Whether to include extra HTTP headers in this request
  • additionalHeaders — Provide additional HTTP headers as a JSON object, for example {"X-Trace-ID":"abc123"}
  • bodyModeOverride — Auto uses the built-in fields for this action. Override only when you need to send the request body manually.
  • manualJsonBody — Manual request body as JSON. Used only when Body Mode Override is set to JSON.
  • manualRawBody — Manual request body as plain text. Used only when Body Mode Override is set to Raw.
  • manualBinaryBodyProperty — Input binary property name to read when sending binary or multipart payloads manually
  • manualMultipartFileFieldName — Multipart file field name expected by the endpoint when using manual multipart mode
  • manualMultipartFields — Additional multipart form fields as JSON when using manual multipart mode
  • responseFormat — Choose how n8n should parse the response returned by AzuraCast
  • binaryOutputProperty — Binary output property name used when Response Format is set to Binary
  • returnFullResponse — Whether to return the full HTTP response, including headers and status code
  • wrapResponseData — Whether to keep the response body in a single output item. Disable to split array responses into multiple items.

Output shape

array of queue items

The response contains the playlist queue data; if returnFullResponse is true the full HTTP response including headers and status code is returned, otherwise only the parsed body is emitted. The array may be empty if no items are present.

Examples

Example 1: Fetch the queue for playlist ID 5 and station ID 12 using default settings

Playlist Name or ID = 5, Station Name or ID = 12, sendAdditionalHeaders = false, responseFormat = auto, wrapResponseData = true

Example 2: Override body mode to JSON and add a custom header

Playlist Name or ID = "MyPlaylist", Station Name or ID = "station1", sendAdditionalHeaders = true, Additional Headers = {"X-Custom":"value"}, Body Mode Override = json, Manual JSON Body = {"filter":"upcoming"}, responseFormat = json, wrapResponseData = false

Links

Discussion