Centova Cast icon

Centova Cast

Manage Centova Cast streaming servers via the JSON API

Server → Reindex

AI-generated

Summary

Triggers a reindex of the autoDJ media library for a Centova Cast streaming account by calling the server.reindex API method, optionally importing tracks into a playlist.

Inputs

  • accountUsername (required) — Username of the streaming server account to reindex. The node authenticates as admin (using the credential password) on behalf of this account.
  • reindexOptions.updateall — Full Update: perform a full update instead of a quick one.
  • reindexOptions.clearcache — Clear Cache: clear the cache as part of the reindex.
  • reindexOptions.intoplaylist — Into Playlist ID: numeric playlist ID to receive imported tracks.
  • reindexOptions.intoplaylistname — Into Playlist Name: playlist name to receive imported tracks.
  • reindexOptions.ignoremissingplaylist — Ignore Missing Playlist: do not fail if the target playlist does not exist.

Output shape

One or more JSON items per input item, taken from the API response's response.data if present, otherwise the response object (or the whole reply).

Only options that are set are sent: false booleans, 0 and empty strings are omitted, and true booleans are sent as '1'. If the API returns type 'error', the node throws a NodeApiError with the API message, or emits {error} when Continue On Fail is enabled. Runs once per input item.

Examples

Example 1: Pick up newly uploaded media files for an account after an FTP sync

Account Username = 'myradio'; no additional fields (quick update).

Example 2: Full rescan that imports tracks into a named playlist

Account Username = 'myradio'; Full Update = true; Clear Cache = true; Into Playlist Name = 'New Arrivals'; Ignore Missing Playlist = true.

Links

Discussion