AzuraCast icon

AzuraCast

Interact with AzuraCast Web API

Actions263

Station Playlist → Update Playlist

AI-generated

Summary

Update an existing AzuraCast station playlist.

Inputs

  • path__editplaylist__id (required) — Identifies the playlist to update; can be a name from the list or an ID expression.
  • path__editplaylist__station_id (required) — Identifies the station associated with the playlist; can be a name from the list or an ID expression.
  • body_optional__editplaylist — Optional body fields to customize the playlist update (e.g., name, order, enabled, etc.).
  • sendAdditionalHeaders — Whether to include extra HTTP headers in the request.
  • additionalHeaders — JSON object of additional HTTP headers, used when sendAdditionalHeaders is true.
  • bodyModeOverride — Override for body mode; options include Auto, Binary, JSON, Multipart Form-Data, None, Raw.
  • manualJsonBody — Manual request body as JSON, used when bodyModeOverride is set to JSON.
  • manualRawBody — Manual request body as plain text, used when bodyModeOverride 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 the response should be parsed (Auto, Binary, JSON, Text).
  • outputDataFieldName — Binary output property name used when responseFormat 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 or split it.

Output shape

The updated playlist resource returned by AzuraCast

If returnFullResponse is true, the full HTTP response is returned; otherwise only the playlist object is emitted. Pagination is not applicable.

Examples

Example 1: Update the playlist "Morning Mix" for station 123 to set it as sequential and enable it.

path__editplaylist__id = "Morning Mix", path__editplaylist__station_id = "123", body_optional__editplaylist.name = "Morning Mix", body_optional__editplaylist.order = "sequential", body_optional__editplaylist.is_enabled = true

Example 2: Replace a playlist's remote URL with a new stream.

path__editplaylist__id = "LiveRadio", path__editplaylist__station_id = "456", body_optional__editplaylist.remote_url = "http://example.com/stream.m3u8", body_optional__editplaylist.source = "remote_url"

Example 3: Send a PATCH request with custom headers to update playlist description.

path__editplaylist__id = "Jazz Classics", path__editplaylist__station_id = "789", sendAdditionalHeaders = true, additionalHeaders = {"X-My-Header":"value"}, body_optional__editplaylist.description = "Updated Jazz Classics playlist"

Links

Discussion