Actions263
- Administration Backup Actions
- Administration Custom Field Actions
- Administration Debugging Actions
- Administration General Actions
- Create API Key
- Delete API Key
- Delete Custom Asset
- Delete Rsas
- Delete Rsas License
- Delete Shoutcast
- Delete Stereo Tool
- Get Auditlog
- Get Custom Asset
- Get Geo Lite
- Get Many API Keys
- Get Many Logs
- Get Relay Details
- Get Relays
- Get Rsas
- Get Server Stats
- Get Service Details
- Get Shoutcast
- Get Status
- Get Stereo Tool
- Restart Service
- Run Custom Asset
- Run Geo Lite
- Run Rsas
- Run Rsas License
- Run Shoutcast
- Run Stereo Tool
- Send Test Email
- Update Generate Acme Cert
- Update Web
- View ACME Log
- View Log
- Administration Role Actions
- Administration Settings Actions
- Administration Station Actions
- Administration Storage Location Actions
- Administration User Actions
- Miscellaneous Actions
- My Account Actions
- Public Miscellaneous Actions
- Public Now Playing Actions
- Public Station Actions
- Station Broadcasting Actions
- Station General Actions
- Station HLS Stream Actions
- Station Media Actions
- Create File
- Delete Art
- Delete File
- Download Bulk Media
- Download File
- Get File
- Get File Directories
- Get Files
- Get Many Station File
- Get Play File
- Get Play File Song ID
- Get Waveform
- Run Art
- Run Bulk Media Preview
- Run Files Mkdir
- Run Files Rename
- Run Waveform
- Update File
- Update File Batch Action
- Upload Bulk Media
- Upload File
- Station Mount Point Actions
- Station Playlist Actions
- Station Podcast Actions
- Station Queue Actions
- Station Remote Relay Actions
- Station Report Actions
- Station SFTP User Actions
- Station Streamer/DJ Actions
- Station Web Hook Actions
Station Media → Update File
AI-generatedSummary
Update a media item in an AzuraCast station.
Inputs
- media_id (required) — Identifies the media to update; can be selected from the list or provided as an ID expression.
- station_id (required) — Identifies the station containing the media; can be selected from the list or provided as an ID expression.
- optional_body_fields — Optional body fields (e.g., title, artist, album, genre, length) to include in the request.
- sendAdditionalHeaders — Whether to include extra HTTP headers in the request.
- additionalHeaders — Custom HTTP headers to send, as a JSON object (used only when sendAdditionalHeaders is true).
- bodyModeOverride — How the request body should be interpreted (auto, json, binary, multipart, raw, none).
- manualJsonBody — Manual JSON request body (used when bodyModeOverride is set to JSON).
- manualRawBody — Manual raw text request body (used when bodyModeOverride is set to Raw).
- responseFormat — Desired format of the response (auto, binary, json, text).
- returnFullResponse — Whether the full HTTP response (headers, status) should be returned.
- wrapResponseData — Whether to wrap the response body in a single output item.
Output shape
updated media record
Returns the updated media object; may include additional metadata. Errors are handled by n8n and do not appear in the response body.
Examples
Example 1: Update title and album art of a media item
Set Media Name or ID to 'song123', Station Name or ID to 'station456', enable Body Mode Override JSON, set Title to 'New Title', Album to 'My Album', and Additional Headers to {"X-Update-Requested":"true"}
Example 2: Replace media file via multipart upload
Select Binary body mode, set Media ID to '789', Station ID to '1', provide Additional Headers, set manualMultipartFileFieldName to 'file', and fill manualMultipartFields with metadata
Example 3: Simple update using default settings
Choose Media from list, choose Station from list, leave optional fields empty, keep sendAdditionalHeaders false, and disable returnFullResponse