Settings
The Server Settings page contains the settings that apply to the whole Centova Cast server: the site details, the mail server, the limits and the actions for accounts that go over them, the default values for new accounts, and the optional features.
To open the Server Settings page, click the cog icon at the top right of the navigation menu, then click Settings.
A staff account must have the Manage settings permission to open this page.
The page has five tabs: General, Limits, Defaults, Features and SSO. The settings on all tabs are saved together.
Saving the Settings
To save your changes, click Update settings at the top right of the page. Centova Cast saves the settings of all
five tabs and shows Settings updated successfully. If a value is not valid, Centova Cast shows the error and saves
nothing.
If you try to leave the page with changes that you did not save, your browser asks whether you want to leave without saving.
Note: The Logo field, the Configure data sources dialog and the Configure 2FA providers dialog save their
changes immediately. They do not need the Update settings button.
General
The General tab has two panels.
Site
Site name
Specifies the name of your hosting service. The navigation menu of the control panel shows this name, unless a logo replaces it. The account list uses this name as the heading of the group of accounts that the administrator owns. This field is required.Notification email address
Specifies the email address to which Centova Cast sends administrative notices. TheTest Mailbutton also sends its test message to this address. This field is required.Locale
Specifies the default language and regional format for new accounts. This field is required.Sender email address
Specifies the return address of all email messages that Centova Cast sends. This field is required.Time zone
Specifies the default time zone for new accounts. This field is required.Logo
Specifies a logo for the navigation menu of the control panel. ClickUploadto select an image file. Centova Cast converts the image to a PNG file that fits in 153 x 45 pixels. If the converted logo is wider than 45 pixels, it replaces the site name in the navigation menu. To remove the logo, clickRemove. When there is no logo, the field showsNo custom logo. The upload and the removal take effect immediately.
Mail Server
Centova Cast sends email messages (for example, notices about limits and two-factor authentication codes) through the
mail server that you specify in this panel. If the SMTP server hostname field is empty, Centova Cast sends no email
messages.
SMTP server hostname
Specifies the hostname of the SMTP server.SMTP port
Specifies the port of the SMTP server, from 1 to 65535. This field has no default value. A new installation has the value 0, with which Centova Cast cannot send email messages.SMTP security
Specifies how Centova Cast connects to the SMTP server. The options are:TLS
Centova Cast connects with TLS from the start of the connection. Mail servers usually accept this type of connection on port 465.Disabled
Centova Cast connects without TLS. If the SMTP server offers STARTTLS, Centova Cast changes to an encrypted connection with STARTTLS. Mail servers usually accept this type of connection on port 25 or 587. This is the default.
SMTP username
Specifies the username for the SMTP server. If the SMTP server does not need a login, leave this field empty.SMTP password
Specifies the password for the SMTP server. If a username is set, the field showsUnchanged. Leave it as it is to keep the current password.
To make sure that Centova Cast can send email messages, click Test Mail:
- Click
Test Mailat the top right of the Mail Server panel. - If you changed settings and did not save them, select one of these options:
Yes, save and testsaves the settings, then sends the test message with the new settings.No, test old settingssends the test message with the saved settings.Cancelstops the test.
- Read the result.
Passedshows that the SMTP server accepted the test message.Failedshows the error. - Make sure that the test message arrived at the
Notification email address.
Limits
The Limits tab has three panels. The data transfer limit and the disk quota of each account are set in the account editor. For more information, see the User Account Settings section and the Reseller Account Settings section.
Transfer limits
Notify clients and resellers via email when ... % of data transfer limit is reached
Specifies the percentage of the monthly data transfer limit at which Centova Cast sends a warning by email to the client or to the reseller. The value must be from 1 to 100. The default is 90.When an account has been suspended
Specifies what Centova Cast does with a suspended account at the start of the next month. This setting applies to accounts that Centova Cast suspended because they went over the data transfer limit or the disk quota. The options are:Automatically unsuspend it the following month
Centova Cast enables the account again at the start of the next month. This is the default.Leave it suspended until unsuspended by an administrator
The account stays suspended until you enable it in the account list.
When a client's transfer limit is exceeded
Specifies the action that Centova Cast takes when a client account goes over its monthly data transfer limit. The options are:Shutdown streaming server and suspend account
Centova Cast stops the streaming server and suspends the account. This is the default.Notify client and administrator but take no action
Centova Cast sends a notice to the client and to the administrator only.
When a reseller's transfer limit is exceeded
Specifies the action that Centova Cast takes when the client accounts of a reseller together go over the data transfer limit of the reseller. The options are:Suspend reseller and shutdown/suspend reseller's clients
Centova Cast suspends the reseller account, and stops and suspends the client accounts of the reseller. This is the default.Notify reseller and administrator but take no action
Centova Cast sends a notice to the reseller and to the administrator only.
Total data transfer limit for this server
Specifies the data transfer that your server can use in one month, in MB. Centova Cast shows this value as the maximum in the Data Transfer panel of the Overview page. Centova Cast does not stop any stream when the server reaches this value. The default is 0, which means that the server has no limit. For more information, see the Overview section.
Disk quota
Notify clients and resellers via email when ... % of disk quota is used
Specifies the percentage of the disk quota at which Centova Cast sends a warning by email to the client or to the reseller. The value must be from 1 to 100. The default is 90.When a client's disk quota is exceeded
Specifies the action that Centova Cast takes when a client account goes over its disk quota. The options are the same as forWhen a client's transfer limit is exceeded. The default isShutdown streaming server and suspend account.When a reseller's disk quota is exceeded
Specifies the action that Centova Cast takes when the client accounts of a reseller together go over the disk quota of the reseller. The options are the same as forWhen a reseller's transfer limit is exceeded. The default isSuspend reseller and shutdown/suspend reseller's clients.
Centova Cast resets the data transfer of each account to zero at the start of each month.
Logins
Login failures
Specifies the protection against password guessing. The field reads "After ... failed logins in ... minute(s), ban the user for ... minute(s)" and has three values:- The number of failed logins. The default is 5. Centova Cast uses a minimum of 2.
- The time in which Centova Cast counts the failed logins, in minutes. The default is 15. Centova Cast uses a maximum of 60.
- The time for which Centova Cast refuses logins from the banned IP address, in minutes. The default is 15. Centova Cast uses a maximum of 1440 (24 hours).
Centova Cast bans the IP address of the user, not the account. The owner of the account can still log in from another IP address. Centova Cast counts the failed logins from one IP address in two ways:
- The failed logins to one account. The ban starts when this count reaches the number of failed logins.
- The failed logins to all accounts together. The ban starts when this count reaches four times the number of failed logins.
Example: The values are 5, 10 and 5. From one IP address, a user enters the wrong password for the account
stationone 5 times in 8 minutes. Centova Cast refuses all logins from that IP address for the next 5 minutes. From
another IP address, a program tries 2 wrong passwords for each of 10 different accounts in 10 minutes. No single
account has 5 failures, but the address has 20 failures in total (4 x 5). Centova Cast bans that IP address too.
Defaults
The Defaults tab contains the values that Centova Cast gives to new client accounts. A change on this tab does not change existing accounts. An account template can specify other values. For more information, see the Account Templates section.
General
Port range for new servers
Specifies the lowest port (Minimum) and the highest port (Maximum) that Centova Cast can give to the streaming servers of new client accounts. Each value must be from 1025 to 65535. The default range is 8000 to- Make sure that your firewall permits connections to these ports.
Default character encoding for new servers
Specifies the character encoding that Centova Cast presumes when it imports media files with metadata that is not UTF-8. Centova Cast ignores this setting for media files with UTF-8 metadata. The default isISO-8859-1 - Western European.
AutoDJ
Enable re-encoding on new servers
Specifies whether the autoDJ of new client accounts re-encodes the media files. The options are:Yes, re-encode media to stream bit rate
The autoDJ converts each media file to the bit rate of the stream. This is the default.No, disable re-encoding (if supported by source)
The autoDJ sends the media files as they are, if the autoDJ type supports this. The media files must then have the bit rate and the format of the stream.
Default channels for re-encoding
Specifies the number of audio channels when the autoDJ re-encodes:StereoorMono. The default isStereo.Default sample rate for re-encoding
Specifies the sample rate when the autoDJ re-encodes:8000 Hz,11025 Hz,22050 Hz,32000 Hz,44100 Hz,48000 Hz,88200 Hzor96000 Hz. The default is44100 Hz.Enable crossfading on new servers
Specifies whether the autoDJ of new client accounts fades from one track to the next. The options areYes, crossfade between tracks(the default) andNo, disable crossfading.
Features
The Features tab has four panels.
Functionality
Allow server log downloads
Specifies whether clients can download the log files of their streaming server and autoDJ as a compressed file. The default isYes. Note that the compression of log files uses much processor time.Provide stream directory
Specifies whether Centova Cast provides a widget that shows a directory of all streams on your server. The default isNo.
Media Data Sources
Centova Cast can find cover images and other album information for the media files of each account automatically.
It uses the data sources that you enable here. To configure them, click Configure data sources. The
Media Data Sources dialog opens.
The dialog shows the list of data sources at the left. Centova Cast uses the data sources in the order of the list.
To change the order, drag a data source to a new position. Alternatively, right-click a data source and click
To top, To bottom, Move up or Move down.
To configure a data source, select it in the list. The right side of the dialog shows the name and the description of the data source, and these fields:
- Enabled
Specifies whether the data source is available to the accounts on your server. Each account can then enable or disable the available data sources for itself. A data source that is not enabled here is not available to any account.
The data sources are:
Embedded (ID3/metadata)
Shows the images that are embedded in the media files. This data source has no settings.Folder images
Shows the image files in the folders of the media files. This data source has no settings.Cover Art Archive
Gets images from MusicBrainz and the Cover Art Archive. This data source has no settings.Discogs®
Gets images from Discogs. Field:- Discogs token
Specifies your access token for the Discogs service.
- Discogs token
fanart.tv
Gets images from fanart.tv. Fields:Override API key
Specifies a fanart.tv project API key that Centova Cast uses instead of its own API key. Leave it empty to use the API key of Centova Cast.Personal API key
Specifies your personal fanart.tv API key.
iTunes® Store
Gets images from the iTunes Store. This data source has no settings.Amazon®
Gets images from the Amazon store. Fields:Amazon affiliate ID
Specifies your Amazon affiliate ID.Amazon access key ID
Specifies the ID of your Amazon access key.Amazon secret key
Specifies your Amazon secret key.Allow client-provided affiliate IDs
Specifies whether clients can enter their own Amazon affiliate ID:YesorNo.
HTTP Request
Gets images from a web service that you specify. Fields:Data source name (display purposes only)
Specifies the name of the data source in lists. Required.Complete request URL
Specifies the URL that Centova Cast requests for each track. Put variables in the URL in the form{{ name }}. The variables areartist,albumandtitle, andartist.ident,album.identandtitle.ident(the same values in a normalized form). Required.JSONPath for request result
Specifies the JSONPath of the value in the response that shows whether the request succeeded. Required.Success value in request result
Specifies the value that the request result has when the request succeeded. Required.JSONPath for error message
Specifies the JSONPath of the error message in the response.JSONPath for master image, JSONPath for large image, JSONPath for medium image, JSONPath for small image
Specify the JSONPaths of the URLs of the images in each size.JSONPath for album URL
Specifies the JSONPath of the URL of an album web page.JSONPath for album name
Specifies the JSONPath of the name of the album.
Click Save to save the data source settings, or Cancel to close the dialog without saving.
Example: You want to use a web service that returns
{"status": "ok", "cover": "https://img.example.com/123.jpg"}. Set Complete request URL to
https://covers.example.com/find?artist={{ artist }}&album={{ album }}, JSONPath for request result to
$.status, Success value in request result to ok, and JSONPath for master image to $.cover.
Two-Factor Authentication
Users can protect their accounts with two-factor authentication. Centova Cast can send the confirmation codes by
email or by SMS through a provider that you configure here. To configure the provider, click
Configure 2FA providers. The Two-Factor Authentication dialog opens.
Active provider
Specifies the service that sends the confirmation codes. The default isDisabled. When you select a provider, the dialog shows its description and its fields. The options are:Email
Sends the codes by email, through the mail server on the General tab. This provider has no fields.Twilio®
Sends the codes by SMS through Twilio. Needs a paid Twilio subscription. Fields (all required):Twilio account SID,Twilio API key,Twilio API secretandSender phone number.voip.ms®
Sends the codes by SMS through voip.ms. Needs a paid voip.ms account. Fields (all required):voip.ms username (email),voip.ms API passwordandSender DID(the voip.ms phone number that sends the messages).Vonage® SMS
Sends the codes by SMS through Vonage. Needs a paid Vonage subscription. Fields (all required):Vonage SMS API keyandVonage SMS API secret.
Click Save to save the provider settings, or Cancel to close the dialog without saving.
For more information about two-factor authentication for your own account, see the Your Account section.
Google Maps®
Enable Google Maps widget
Specifies whether the Google Maps widget is available on your server. The default isNo. New client accounts get this value as their own setting. Each account must also have the widget enabled in the account editor.Google Maps API Key
Specifies your Google Maps API key. The widget needs this key.Google Maps Client ID
Specifies your Google Maps client ID.
Note: The Google Maps widget is deprecated. The listener map widget gives the same function and needs no API key.
SSO
The SSO tab contains the Single Sign-on setting of this server.
- Allow this server to be logged into via SSO
Specifies whether another Centova Cast server can log users in to this server through Single Sign-on. The default isNo. If you set this field toYes, the other server can check the username and the password of a user of this server. Then the other server can log the user in.
For more information, see the Single Sign-on section.