Account Templates

Account Templates

An account template is a saved set of account settings. When you create a new account, you can select a template. Centova Cast then fills in the account editor with the settings of the template. Templates save time if you create many accounts with the same settings.

To open the Templates page, click Templates under the Settings menu icon in the navigation menu. A staff account must have the Manage account templates permission to open this page.

Template List

The template list shows all of the account templates of the administrator. The list has these columns:

  • Name
    Shows the name of the template.

  • Title
    Shows the description of the template.

  • Type
    Shows the account type of the template. For a client template, the column shows Client, the streaming server type and the autoDJ type, for example Client - Icecast/Centova Source. For a reseller template, the column shows Reseller.

Note: On very narrow screens, the control panel does not show the Name and Type columns.

To edit a template, click its row in the list. The template editor opens. For more information, see the Template Editor section.

Creating a Template

To create a new template:

  1. Click New template on the toolbar, or press the Insert key. The New template dialog opens.
  2. Select the Client account tab or the Reseller account tab.
  3. Optionally, select an existing template in the Base template field.
  4. For a client template with no base template, select the Server type and the Source type.
  5. Click Continue. The template editor opens.
  6. Type the Template name and the Template description, and set the other fields of the template.
  7. Click Create template.

The New template dialog is the same as the New account dialog. The only difference is the Base template field, which has the label Template in the New account dialog. If you select a base template, the new template starts with the settings of the base template. The Server type and Source type fields then show Per template.

For more information about the fields of the dialog, see the Creating New Accounts section.

Note that you cannot change the streaming server type or the autoDJ type of a client template after you create it.

Template Editor

The template editor is the account editor in a special mode. It has the same tabs and fields as the account editor, with these differences:

  • The first tab has the caption Template in place of Profile.
  • The first tab has a Template box with two fields that only templates have. These fields are described below.
  • The fields that apply only to an existing account are not shown: Email address, Username, Real name, Password, Login as user, the two-factor authentication boxes and the Change password button.
  • On the Stream tab of a client template, the source password, the ports and the raw configuration box are not shown. Centova Cast sets these values when you create an account from the template.
  • On the AutoDJ tab of a client template, the Media Data Sources box is not shown.
  • On the Settings tab of a reseller template, the Client accounts box and the Branding box are not shown.
  • Client templates have no Files tab. Reseller templates have no Media tab.
  • The save button has the caption Create template for a new template and Update template for an existing template.

The Template box has these fields:

  • Template name
    Specifies the name of the template. The name identifies the template in the list. The name can contain letters, digits, underscores and hyphens only. This field is required.

  • Template description
    Specifies a description of the template, for your reference only. The New account dialog shows this description when you select a template. This field is required.

For the descriptions of all other fields, see the User Account Settings section for client templates, and the Reseller Account Settings section for reseller templates.

To close the editor without saving, click Cancel.

Note that a change to a template has no effect on the accounts that you created from the template before. Centova Cast copies the settings of the template only when it creates an account.

Duplicating Templates

To make a copy of a template:

  1. Select one or more templates in the list.
  2. Click Duplicate on the toolbar, or press the & key.

Centova Cast does not ask for confirmation. It adds a copy of each selected template to the list. The name of the copy is the original name followed by _copy. If that name exists, Centova Cast adds a number: _copy2, _copy3 and so on. The description of the copy starts with Copy of.

Example: You duplicate the template icecast128 two times. The list then contains icecast128, icecast128_copy and icecast128_copy2.

Deleting Templates

To delete templates:

  1. Select one or more templates in the list.
  2. Click Delete on the toolbar, or press the Delete key.
  3. Click Yes in the confirmation dialog.

The accounts that you created from a deleted template do not change.