mirror of
https://github.com/AzuraCast/AzuraCast.git
synced 2024-06-13 20:56:36 +00:00
6de636f475
This migration adds "Storage Locations", managed via a new System Administration panel, that can hold Station Media data, live broadcast recordings, and backups. These storage locations can be local (as they are by default) or remote via any S3-compatible service.
44 lines
1.1 KiB
PHP
44 lines
1.1 KiB
PHP
<?php
|
|
|
|
return [
|
|
'elements' => [
|
|
|
|
'storage_location' => [
|
|
'select',
|
|
[
|
|
'label' => __('Storage Location'),
|
|
'choices' => $storageLocations,
|
|
],
|
|
],
|
|
|
|
'path' => [
|
|
'text',
|
|
[
|
|
'label' => __('Backup Filename'),
|
|
'description' => __('Path where the backup file should be located.'),
|
|
],
|
|
],
|
|
|
|
'exclude_media' => [
|
|
'toggle',
|
|
[
|
|
'label' => __('Exclude Media from Backup'),
|
|
'description' => __('This will produce a significantly smaller backup, but you should make sure to back up your media elsewhere. Note that only locally stored media will be backed up.'),
|
|
'selected_text' => __('Yes'),
|
|
'deselected_text' => __('No'),
|
|
'default' => false,
|
|
],
|
|
],
|
|
|
|
'submit' => [
|
|
'submit',
|
|
[
|
|
'type' => 'submit',
|
|
'label' => __('Save Changes'),
|
|
'class' => 'btn btn-lg btn-primary',
|
|
],
|
|
],
|
|
|
|
],
|
|
];
|