AzuraCast icon

AzuraCast

Interact with AzuraCast Web API

Actions263

Station Playlist → Get Playlist

AI-generated

Summary

Fetches a specific playlist from a configured AzuraCast station via the Web API.

Inputs

  • path__getplaylist__station_id (required) — Identifies the target station. Can be selected from a list or specified by ID.
  • path__getplaylist__id (required) — Identifies the target playlist. Can be selected from a list or specified by ID.
  • sendAdditionalHeaders — If true, includes custom HTTP headers defined in the Additional Headers (JSON) parameter.
  • additionalHeaders — A JSON object containing additional HTTP headers to send with the request (only used if sendAdditionalHeaders is true).
  • responseFormat — Determines how the response is parsed: Auto, Binary, JSON, Text.
  • wrapResponseData — If true, wraps the response body in a single output item. If false, splits array responses into multiple items.

Output shape

An item (or items) containing the playlist data.

The exact shape depends on the 'Response Format' setting and the API response. If 'Return Full Response' is enabled, the item includes headers and status code.

Examples

Example 1: Get a playlist for a specific station.

Select 'From List' for both Station and Playlist parameters, or use 'By ID' with specific numeric IDs.

Example 2: Fetch a playlist and process the raw JSON response.

Set 'Response Format' to 'JSON' and ensure 'Wrap Response Data' is enabled.

Example 3: Retrieve a playlist as a binary file.

Set 'Response Format' to 'Binary' and specify the desired 'Output Data Field Name'.

Links

Discussion