mirror of
https://github.com/AzuraCast/AzuraCast.git
synced 2024-06-14 21:26:37 +00:00
#976 -- Add genre to station profile and Icecast/Liquidsoap feeds
This commit is contained in:
parent
785bb23d1a
commit
21758c2704
|
@ -25,8 +25,7 @@ return [
|
|||
'name' => [
|
||||
'text',
|
||||
[
|
||||
'label' => __('Station Name'),
|
||||
'class' => 'half-width fg-line',
|
||||
'label' => __('Name'),
|
||||
'required' => true,
|
||||
]
|
||||
],
|
||||
|
@ -34,16 +33,21 @@ return [
|
|||
'description' => [
|
||||
'textarea',
|
||||
[
|
||||
'label' => __('Station Description'),
|
||||
'class' => 'full-width full-height',
|
||||
'label' => __('Description'),
|
||||
]
|
||||
],
|
||||
|
||||
'genre' => [
|
||||
'text',
|
||||
[
|
||||
'label' => __('Genre'),
|
||||
]
|
||||
],
|
||||
|
||||
'url' => [
|
||||
'text',
|
||||
[
|
||||
'label' => __('Station Web Site'),
|
||||
'class' => 'full-width full-height',
|
||||
'label' => __('Web Site URL'),
|
||||
'description' => __('Note: This should be the public-facing homepage of the radio station, not the AzuraCast URL. It will be included in broadcast details.'),
|
||||
]
|
||||
],
|
||||
|
@ -51,7 +55,7 @@ return [
|
|||
'is_enabled' => [
|
||||
'radio',
|
||||
[
|
||||
'label' => __('Enable Station Broadcasting'),
|
||||
'label' => __('Enable Broadcasting'),
|
||||
'description' => __('If disabled, the station will not broadcast or shuffle its AutoDJ.'),
|
||||
'choices' => [
|
||||
0 => __('Disabled'),
|
||||
|
@ -77,7 +81,7 @@ return [
|
|||
'short_name' => [
|
||||
'text',
|
||||
[
|
||||
'label' => __('Station URL Stub'),
|
||||
'label' => __('URL Stub'),
|
||||
'label_class' => 'advanced',
|
||||
'description' => __('Optionally specify a short URL-friendly name, such as <code>my_station_name</code>, that will be used in this station\'s URLs. Leave this field blank to automatically create one based on the station name.'),
|
||||
]
|
||||
|
|
|
@ -131,6 +131,9 @@ return function (\Azura\Container $di)
|
|||
$view->registerFunction('truncate', function ($text, $length = 80) {
|
||||
return \App\Utilities::truncate_text($text, $length);
|
||||
});
|
||||
$view->registerFunction('truncateUrl', function($url) {
|
||||
return \App\Utilities::truncate_url($url);
|
||||
});
|
||||
|
||||
$view->addData([
|
||||
'assets' => $di[\Azura\Assets::class],
|
||||
|
|
|
@ -7,8 +7,8 @@ msgstr ""
|
|||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"POT-Creation-Date: 2018-11-24T18:03:41+00:00\n"
|
||||
"PO-Revision-Date: 2018-11-24T18:03:41+00:00\n"
|
||||
"POT-Creation-Date: 2018-11-26T08:04:52+00:00\n"
|
||||
"PO-Revision-Date: 2018-11-26T08:04:52+00:00\n"
|
||||
"Language: \n"
|
||||
|
||||
#: /var/azuracast/www/src/Controller/Admin/ApiController.php:55
|
||||
|
@ -719,7 +719,7 @@ msgid "Mount Points"
|
|||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/admin/actions.php:22
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:217
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:231
|
||||
#: /var/azuracast/www/resources/templates/stations/remotes/index.phtml:1
|
||||
#: /var/azuracast/www/resources/templates/stations/remotes/index.phtml:5
|
||||
#: /var/azuracast/www/resources/templates/stations/sidebar.phtml:99
|
||||
|
@ -773,16 +773,16 @@ msgstr ""
|
|||
#: /var/azuracast/www/config/forms/branding.php:103
|
||||
#: /var/azuracast/www/config/forms/custom_field.php:27
|
||||
#: /var/azuracast/www/config/forms/media.php:139
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:128
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:129
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:130
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:131
|
||||
#: /var/azuracast/www/config/forms/playlist.php:354
|
||||
#: /var/azuracast/www/config/forms/profile.php:119
|
||||
#: /var/azuracast/www/config/forms/remote.php:131
|
||||
#: /var/azuracast/www/config/forms/remote.php:133
|
||||
#: /var/azuracast/www/config/forms/rename.php:18
|
||||
#: /var/azuracast/www/config/forms/role.php:65
|
||||
#: /var/azuracast/www/config/forms/settings.php:152
|
||||
#: /var/azuracast/www/config/forms/song.php:47
|
||||
#: /var/azuracast/www/config/forms/station.php:359
|
||||
#: /var/azuracast/www/config/forms/station.php:363
|
||||
#: /var/azuracast/www/config/forms/streamer.php:61
|
||||
#: /var/azuracast/www/config/forms/user.php:46
|
||||
#: /var/azuracast/www/config/forms/webhook/discord.php:125
|
||||
|
@ -802,24 +802,24 @@ msgid "Allow the system to periodically automatically assign songs to playlists
|
|||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/automation.php:14
|
||||
#: /var/azuracast/www/config/forms/station.php:57
|
||||
#: /var/azuracast/www/config/forms/station.php:70
|
||||
#: /var/azuracast/www/config/forms/station.php:102
|
||||
#: /var/azuracast/www/config/forms/station.php:61
|
||||
#: /var/azuracast/www/config/forms/station.php:74
|
||||
#: /var/azuracast/www/config/forms/station.php:106
|
||||
#: /var/azuracast/www/resources/templates/stations/mounts/index.phtml:46
|
||||
#: /var/azuracast/www/resources/templates/stations/playlists/index.phtml:89
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:145
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:158
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:159
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:172
|
||||
#: /var/azuracast/www/resources/templates/stations/remotes/index.phtml:43
|
||||
#: /var/azuracast/www/resources/templates/stations/webhooks/index.phtml:40
|
||||
msgid "Disabled"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/automation.php:15
|
||||
#: /var/azuracast/www/config/forms/station.php:58
|
||||
#: /var/azuracast/www/config/forms/station.php:71
|
||||
#: /var/azuracast/www/config/forms/station.php:62
|
||||
#: /var/azuracast/www/config/forms/station.php:75
|
||||
#: /var/azuracast/www/resources/templates/stations/mounts/index.phtml:44
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:138
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:155
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:152
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:169
|
||||
#: /var/azuracast/www/resources/templates/stations/remotes/index.phtml:41
|
||||
msgid "Enabled"
|
||||
msgstr ""
|
||||
|
@ -873,23 +873,23 @@ msgstr ""
|
|||
|
||||
#: /var/azuracast/www/config/forms/branding.php:29
|
||||
#: /var/azuracast/www/config/forms/branding.php:60
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:25
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:53
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:95
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:36
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:46
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:95
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:27
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:55
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:97
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:38
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:48
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:97
|
||||
#: /var/azuracast/www/config/forms/playlist.php:73
|
||||
#: /var/azuracast/www/config/forms/playlist.php:156
|
||||
#: /var/azuracast/www/config/forms/playlist.php:223
|
||||
#: /var/azuracast/www/config/forms/remote.php:46
|
||||
#: /var/azuracast/www/config/forms/remote.php:48
|
||||
#: /var/azuracast/www/config/forms/settings.php:46
|
||||
#: /var/azuracast/www/config/forms/settings.php:59
|
||||
#: /var/azuracast/www/config/forms/settings.php:72
|
||||
#: /var/azuracast/www/config/forms/settings.php:135
|
||||
#: /var/azuracast/www/config/forms/station.php:219
|
||||
#: /var/azuracast/www/config/forms/station.php:229
|
||||
#: /var/azuracast/www/config/forms/station.php:301
|
||||
#: /var/azuracast/www/config/forms/station.php:223
|
||||
#: /var/azuracast/www/config/forms/station.php:233
|
||||
#: /var/azuracast/www/config/forms/station.php:305
|
||||
#: /var/azuracast/www/config/forms/station_clone.php:55
|
||||
#: /var/azuracast/www/config/forms/station_clone.php:67
|
||||
#: /var/azuracast/www/config/forms/station_clone.php:80
|
||||
|
@ -899,23 +899,23 @@ msgstr ""
|
|||
|
||||
#: /var/azuracast/www/config/forms/branding.php:30
|
||||
#: /var/azuracast/www/config/forms/branding.php:61
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:25
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:53
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:95
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:36
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:46
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:95
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:27
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:55
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:97
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:38
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:48
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:97
|
||||
#: /var/azuracast/www/config/forms/playlist.php:72
|
||||
#: /var/azuracast/www/config/forms/playlist.php:155
|
||||
#: /var/azuracast/www/config/forms/playlist.php:224
|
||||
#: /var/azuracast/www/config/forms/remote.php:46
|
||||
#: /var/azuracast/www/config/forms/remote.php:48
|
||||
#: /var/azuracast/www/config/forms/settings.php:47
|
||||
#: /var/azuracast/www/config/forms/settings.php:60
|
||||
#: /var/azuracast/www/config/forms/settings.php:73
|
||||
#: /var/azuracast/www/config/forms/settings.php:136
|
||||
#: /var/azuracast/www/config/forms/station.php:219
|
||||
#: /var/azuracast/www/config/forms/station.php:229
|
||||
#: /var/azuracast/www/config/forms/station.php:301
|
||||
#: /var/azuracast/www/config/forms/station.php:223
|
||||
#: /var/azuracast/www/config/forms/station.php:233
|
||||
#: /var/azuracast/www/config/forms/station.php:305
|
||||
#: /var/azuracast/www/config/forms/station_clone.php:56
|
||||
#: /var/azuracast/www/config/forms/station_clone.php:68
|
||||
#: /var/azuracast/www/config/forms/station_clone.php:81
|
||||
|
@ -1114,105 +1114,105 @@ msgstr ""
|
|||
msgid "Seconds from the start of the song that the AutoDJ should stop playing."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:14
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:14
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:16
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:16
|
||||
msgid "Mount Point Name/URL"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:15
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:15
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:17
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:17
|
||||
msgid "This name should always begin with a slash (/), and must be a valid URL, such as /autodj.mp3"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:23
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:34
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:25
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:36
|
||||
msgid "Is Default Mount"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:24
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:35
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:26
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:37
|
||||
msgid "If this mount is the default, it will be played on the radio preview and the public radio page in this system."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:33
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:35
|
||||
msgid "Fallback Mount"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:34
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:36
|
||||
msgid "If this mount point is not playing audio, listeners will automatically be redirected to this mount point. The default is /error.mp3, a repeating error message."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:42
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:84
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:44
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:86
|
||||
msgid "Relay Stream URL"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:43
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:85
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:45
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:87
|
||||
msgid "Enter the full URL of another stream to relay its broadcast through this mount point."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:51
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:44
|
||||
#: /var/azuracast/www/config/forms/remote.php:44
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:53
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:46
|
||||
#: /var/azuracast/www/config/forms/remote.php:46
|
||||
msgid "Enable AutoDJ"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:52
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:45
|
||||
#: /var/azuracast/www/config/forms/remote.php:45
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:54
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:47
|
||||
#: /var/azuracast/www/config/forms/remote.php:47
|
||||
msgid "If set to \"Yes\", the AutoDJ will automatically play music to this mount point."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:61
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:54
|
||||
#: /var/azuracast/www/config/forms/remote.php:61
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:63
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:56
|
||||
#: /var/azuracast/www/config/forms/remote.php:63
|
||||
msgid "AutoDJ Format"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:75
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:66
|
||||
#: /var/azuracast/www/config/forms/remote.php:74
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:77
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:68
|
||||
#: /var/azuracast/www/config/forms/remote.php:76
|
||||
msgid "AutoDJ Bitrate (kbps)"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:93
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:93
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:95
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:95
|
||||
msgid "Advertise to YP Directories (Public Station)"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:94
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:94
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:96
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:96
|
||||
msgid "Set to \"yes\" to advertise this stream on the YP public radio directories."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:103
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:103
|
||||
msgid "Custom Stream URL"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:105
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:105
|
||||
msgid "Custom Stream URL"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:107
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:107
|
||||
msgid "You can set a custom URL for this stream that AzuraCast will use when referring to it. Leave empty to use the default value."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:112
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:114
|
||||
msgid "Custom Frontend Configuration"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:114
|
||||
#: /var/azuracast/www/config/forms/mount/icecast.php:116
|
||||
msgid "You can include any special mount point settings here, in either JSON { key: 'value' } format or XML <key>value</key>"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:22
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:24
|
||||
msgid "Stream path cannot include reserved keywords: %s"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:112
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:114
|
||||
msgid "YP Directory Authorization Hash"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:113
|
||||
#: /var/azuracast/www/config/forms/mount/shoutcast2.php:115
|
||||
msgid "If your stream is set to advertise to YP directories above, you must specify an authorization hash. You can manage authhashes <a href=\"%s\" target=\"_blank\">on the SHOUTcast web site</a>."
|
||||
msgstr ""
|
||||
|
||||
|
@ -1485,6 +1485,7 @@ msgid "Account Information"
|
|||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/profile.php:16
|
||||
#: /var/azuracast/www/config/forms/station.php:28
|
||||
#: /var/azuracast/www/config/forms/user.php:10
|
||||
#: /var/azuracast/www/resources/templates/admin/custom_fields/index.phtml:23
|
||||
#: /var/azuracast/www/resources/templates/stations/files/index.phtml:85
|
||||
|
@ -1546,59 +1547,59 @@ msgstr ""
|
|||
msgid "Create Account"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/remote.php:14
|
||||
#: /var/azuracast/www/config/forms/remote.php:16
|
||||
msgid "Remote Station Type"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/remote.php:27
|
||||
#: /var/azuracast/www/config/forms/remote.php:29
|
||||
msgid "Remote Station Base URL"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/remote.php:28
|
||||
#: /var/azuracast/www/config/forms/remote.php:30
|
||||
msgid "Example: if the remote radio URL is http://station.example.com:8000/stream.mp3, enter <code>http://station.example.com:8000</code>."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/remote.php:36
|
||||
#: /var/azuracast/www/config/forms/remote.php:38
|
||||
msgid "Remote Station Mountpoint/SID"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/remote.php:37
|
||||
#: /var/azuracast/www/config/forms/remote.php:39
|
||||
msgid "Specify a mountpoint (i.e. <code>/radio.mp3</code>) or a Shoutcast SID (i.e. <code>2</code>) to specify a specific stream to use for statistics or broadcasting."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/remote.php:55
|
||||
#: /var/azuracast/www/config/forms/remote.php:57
|
||||
msgid "Configure AutoDJ Broadcasting"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/remote.php:92
|
||||
#: /var/azuracast/www/config/forms/remote.php:94
|
||||
msgid "Remote Station Source Port"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/remote.php:93
|
||||
#: /var/azuracast/www/config/forms/remote.php:95
|
||||
msgid "If the port you broadcast to is different from the one you listed in the URL above, specify the source port here."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/remote.php:100
|
||||
#: /var/azuracast/www/config/forms/remote.php:102
|
||||
msgid "Remote Station Source Mountpoint/SID"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/remote.php:101
|
||||
#: /var/azuracast/www/config/forms/remote.php:103
|
||||
msgid "If the mountpoint (i.e. <code>/radio.mp3</code>) or Shoutcast SID (i.e. <code>2</code>) you broadcast to is different from the one listed above, specify the source mount point here."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/remote.php:108
|
||||
#: /var/azuracast/www/config/forms/remote.php:110
|
||||
msgid "Remote Station Source Username"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/remote.php:109
|
||||
#: /var/azuracast/www/config/forms/remote.php:111
|
||||
msgid "If you are broadcasting using AutoDJ, enter the source username here. This may be blank."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/remote.php:116
|
||||
#: /var/azuracast/www/config/forms/remote.php:118
|
||||
msgid "Remote Station Source Password"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/remote.php:117
|
||||
#: /var/azuracast/www/config/forms/remote.php:119
|
||||
msgid "If you are broadcasting using AutoDJ, enter the source password here."
|
||||
msgstr ""
|
||||
|
||||
|
@ -1794,224 +1795,225 @@ msgstr ""
|
|||
msgid "Station Profile"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:28
|
||||
#: /var/azuracast/www/config/forms/station_clone.php:15
|
||||
#: /var/azuracast/www/resources/templates/frontend/index/index.phtml:72
|
||||
msgid "Station Name"
|
||||
#: /var/azuracast/www/config/forms/station.php:36
|
||||
#: /var/azuracast/www/config/forms/webhook/discord.php:73
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:131
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:37
|
||||
#: /var/azuracast/www/config/forms/station_clone.php:24
|
||||
msgid "Station Description"
|
||||
#: /var/azuracast/www/config/forms/station.php:43
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:137
|
||||
msgid "Genre"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:45
|
||||
msgid "Station Web Site"
|
||||
#: /var/azuracast/www/config/forms/station.php:50
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:143
|
||||
msgid "Web Site URL"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:47
|
||||
#: /var/azuracast/www/config/forms/station.php:51
|
||||
msgid "Note: This should be the public-facing homepage of the radio station, not the AzuraCast URL. It will be included in broadcast details."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:54
|
||||
msgid "Enable Station Broadcasting"
|
||||
#: /var/azuracast/www/config/forms/station.php:58
|
||||
msgid "Enable Broadcasting"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:55
|
||||
#: /var/azuracast/www/config/forms/station.php:59
|
||||
msgid "If disabled, the station will not broadcast or shuffle its AutoDJ."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:67
|
||||
#: /var/azuracast/www/config/forms/station.php:71
|
||||
msgid "Enable Public Page"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:68
|
||||
#: /var/azuracast/www/config/forms/station.php:72
|
||||
msgid "Whether to show or hide the station from public pages and general API results."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:80
|
||||
msgid "Station URL Stub"
|
||||
#: /var/azuracast/www/config/forms/station.php:84
|
||||
msgid "URL Stub"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:82
|
||||
#: /var/azuracast/www/config/forms/station.php:86
|
||||
msgid "Optionally specify a short URL-friendly name, such as <code>my_station_name</code>, that will be used in this station's URLs. Leave this field blank to automatically create one based on the station name."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:89
|
||||
#: /var/azuracast/www/config/forms/station.php:93
|
||||
msgid "Custom Media Directory"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:91
|
||||
#: /var/azuracast/www/config/forms/station.php:95
|
||||
msgid "The directory where media files are stored. Leave blank to use default directory."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:98
|
||||
#: /var/azuracast/www/config/forms/station.php:102
|
||||
msgid "Number of Recently Played Songs"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:100
|
||||
#: /var/azuracast/www/config/forms/station.php:104
|
||||
msgid "Customize the number of songs that will appear in the \"Song History\" section for this station and in all public APIs."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:115
|
||||
#: /var/azuracast/www/config/forms/station.php:119
|
||||
msgid "Select Broadcasting Service"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:121
|
||||
#: /var/azuracast/www/config/forms/station.php:125
|
||||
msgid "Broadcasting Service"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:122
|
||||
#: /var/azuracast/www/config/forms/station.php:126
|
||||
msgid "This software delivers your broadcast to the listening audience."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:131
|
||||
#: /var/azuracast/www/config/forms/station.php:135
|
||||
msgid "Configure Broadcasting Service"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:139
|
||||
#: /var/azuracast/www/config/forms/station.php:143
|
||||
msgid "Customize Broadcasting Port"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:141
|
||||
#: /var/azuracast/www/config/forms/station.php:145
|
||||
msgid "No other program can be using this port. Leave blank to automatically assign a port."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:150
|
||||
#: /var/azuracast/www/config/forms/station.php:154
|
||||
msgid "Customize Source Password"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:152
|
||||
#: /var/azuracast/www/config/forms/station.php:162
|
||||
#: /var/azuracast/www/config/forms/station.php:156
|
||||
#: /var/azuracast/www/config/forms/station.php:166
|
||||
msgid "Leave blank to automatically generate a new password."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:160
|
||||
#: /var/azuracast/www/config/forms/station.php:164
|
||||
msgid "Customize Administrator Password"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:170
|
||||
#: /var/azuracast/www/config/forms/station.php:174
|
||||
msgid "Maximum Listeners"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:172
|
||||
#: /var/azuracast/www/config/forms/station.php:176
|
||||
msgid "Maximum number of total listeners across all streams. Leave blank to use the default (250)."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:180
|
||||
#: /var/azuracast/www/config/forms/station.php:342
|
||||
#: /var/azuracast/www/config/forms/station.php:184
|
||||
#: /var/azuracast/www/config/forms/station.php:346
|
||||
msgid "Custom Configuration"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:184
|
||||
#: /var/azuracast/www/config/forms/station.php:188
|
||||
msgid "This code will be included in the frontend configuration. You can use either JSON {\"new_key\": \"new_value\"} format or XML <new_key>new_value</new_key>."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:192
|
||||
#: /var/azuracast/www/config/forms/station.php:196
|
||||
msgid "Select AutoDJ Service"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:198
|
||||
#: /var/azuracast/www/config/forms/station.php:202
|
||||
msgid "AutoDJ Service"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:199
|
||||
#: /var/azuracast/www/config/forms/station.php:203
|
||||
msgid "This software shuffles from playlists of music constantly and plays when no other radio source is available."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:208
|
||||
#: /var/azuracast/www/config/forms/station.php:212
|
||||
msgid "Configure Liquidsoap"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:216
|
||||
#: /var/azuracast/www/config/forms/station.php:220
|
||||
msgid "Allow Streamers / DJs"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:217
|
||||
#: /var/azuracast/www/config/forms/station.php:221
|
||||
msgid "If this setting is turned on, streamers (or DJs) will be able to connect directly to your stream and broadcast live music that interrupts the AutoDJ stream."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:226
|
||||
#: /var/azuracast/www/config/forms/station.php:230
|
||||
msgid "Allow Song Requests"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:227
|
||||
#: /var/azuracast/www/config/forms/station.php:231
|
||||
msgid "This enables listeners to request a song for play on your station. Only songs that are already in your playlists are listed as requestable."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:236
|
||||
#: /var/azuracast/www/config/forms/station.php:240
|
||||
msgid "Character Set Encoding"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:237
|
||||
#: /var/azuracast/www/config/forms/station.php:241
|
||||
msgid "For most cases, use the default UTF-8 encoding. The older ISO-8859-1 encoding can be used if accepting connections from SHOUTcast 1 DJs or using other legacy software."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:251
|
||||
#: /var/azuracast/www/config/forms/station.php:255
|
||||
msgid "Request Minimum Delay (Minutes)"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:252
|
||||
#: /var/azuracast/www/config/forms/station.php:256
|
||||
msgid "If requests are enabled, this specifies the minimum delay (in minutes) between a request being submitted and being played. If set to zero, no delay is applied.<br><b>Important:</b> Some stream licensing rules require a minimum delay for requests (in the US, this is currently 60 minutes). Check your local regulations for more information."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:262
|
||||
#: /var/azuracast/www/config/forms/station.php:266
|
||||
msgid "Request Last Played Threshold (Minutes)"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:263
|
||||
#: /var/azuracast/www/config/forms/station.php:267
|
||||
msgid "If requests are enabled, this specifies the minimum time (in minutes) between a song playing on the radio and being available to request again. Set to 0 for no threshold."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:273
|
||||
#: /var/azuracast/www/config/forms/station.php:277
|
||||
msgid "Crossfade Duration (Seconds)"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:275
|
||||
#: /var/azuracast/www/config/forms/station.php:279
|
||||
msgid "Number of seconds to overlap songs. Set to 0 to disable crossfade completely."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:286
|
||||
#: /var/azuracast/www/config/forms/station.php:290
|
||||
msgid "Deactivate Streamer on Disconnect (Seconds)"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:287
|
||||
#: /var/azuracast/www/config/forms/station.php:291
|
||||
msgid "Number of seconds to deactivate station streamer on manual disconnect. Set to 0 to disable deactivation completely."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:297
|
||||
#: /var/azuracast/www/config/forms/station.php:301
|
||||
msgid "Manual AutoDJ Mode"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:299
|
||||
#: /var/azuracast/www/config/forms/station.php:303
|
||||
msgid "This mode disables App's AutoDJ management, using Liquidsoap itself to manage song playback. \"Next Song\" and some other features will not be available."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:309
|
||||
#: /var/azuracast/www/config/forms/station.php:313
|
||||
msgid "Customize DJ/Streamer Port"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:311
|
||||
#: /var/azuracast/www/config/forms/station.php:315
|
||||
msgid "No other program can be using this port. Leave blank to automatically assign a port.<br><b>Note:</b> The port after this one (n+1) will automatically be used for legacy connections."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:320
|
||||
#: /var/azuracast/www/config/forms/station.php:324
|
||||
msgid "DJ/Streamer Buffer Time (Seconds)"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:322
|
||||
#: /var/azuracast/www/config/forms/station.php:326
|
||||
msgid "The number of seconds of signal to store in case of interruption. Set to the lowest value that your DJs can use without stream interruptions."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:331
|
||||
#: /var/azuracast/www/config/forms/station.php:335
|
||||
msgid "Customize Internal Request Processing Port"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:333
|
||||
#: /var/azuracast/www/config/forms/station.php:337
|
||||
msgid "This port is not used by any external process. Only modify this port if the assigned port is in use. Leave blank to automatically assign a port."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station.php:346
|
||||
#: /var/azuracast/www/config/forms/station.php:350
|
||||
msgid "This code will be inserted into your station's Liquidsoap configuration, below the playlist configuration and just before the Icecast output. Only use valid Liquidsoap code for this section!"
|
||||
msgstr ""
|
||||
|
||||
|
@ -2019,6 +2021,15 @@ msgstr ""
|
|||
msgid "New Station Details"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station_clone.php:15
|
||||
#: /var/azuracast/www/resources/templates/frontend/index/index.phtml:72
|
||||
msgid "Station Name"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station_clone.php:24
|
||||
msgid "Station Description"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/station_clone.php:33
|
||||
msgid "Customize Station Cloning"
|
||||
msgstr ""
|
||||
|
@ -2174,11 +2185,6 @@ msgstr ""
|
|||
msgid "Title"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/webhook/discord.php:73
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:130
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/config/forms/webhook/discord.php:82
|
||||
msgid "URL"
|
||||
msgstr ""
|
||||
|
@ -2526,11 +2532,11 @@ msgid "Your full API key is below:"
|
|||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/resources/templates/frontend/api_keys/new_key.phtml:20
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:143
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:175
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:280
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:287
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:295
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:157
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:189
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:294
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:301
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:309
|
||||
msgid "Copy to Clipboard"
|
||||
msgstr ""
|
||||
|
||||
|
@ -2869,7 +2875,7 @@ msgstr ""
|
|||
|
||||
#: /var/azuracast/www/resources/templates/stations/files/index.phtml:1
|
||||
#: /var/azuracast/www/resources/templates/stations/files/index.phtml:24
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:346
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:360
|
||||
#: /var/azuracast/www/resources/templates/stations/sidebar.phtml:58
|
||||
msgid "Music Files"
|
||||
msgstr ""
|
||||
|
@ -2930,7 +2936,7 @@ msgstr ""
|
|||
|
||||
#: /var/azuracast/www/resources/templates/stations/files/index.phtml:95
|
||||
#: /var/azuracast/www/resources/templates/stations/playlists/index.phtml:4
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:347
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:361
|
||||
#: /var/azuracast/www/resources/templates/stations/reports/duplicates.phtml:26
|
||||
#: /var/azuracast/www/resources/templates/stations/sidebar.phtml:64
|
||||
msgid "Playlists"
|
||||
|
@ -3028,8 +3034,8 @@ msgid "Export"
|
|||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/resources/templates/stations/playlists/index.phtml:68
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:239
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:243
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:253
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:257
|
||||
msgid "Download %s"
|
||||
msgstr ""
|
||||
|
||||
|
@ -3114,108 +3120,108 @@ msgstr ""
|
|||
msgid "Disconnect Streamer"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:135
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:149
|
||||
#: /var/azuracast/www/resources/templates/stations/reports/requests.phtml:1
|
||||
#: /var/azuracast/www/resources/templates/stations/reports/requests.phtml:11
|
||||
#: /var/azuracast/www/resources/templates/stations/sidebar.phtml:136
|
||||
msgid "Song Requests"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:145
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:158
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:159
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:172
|
||||
msgid "Edit station profile to enable."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:152
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:166
|
||||
msgid "Streamers/DJs"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:156
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:170
|
||||
msgid "Manage streamer accounts"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:164
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:178
|
||||
msgid "Base Directory"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:168
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:182
|
||||
msgid "Media Directory"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:172
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:186
|
||||
msgid "Player Embed Code"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:186
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:200
|
||||
msgid "Streams"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:196
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:210
|
||||
msgid "Local Streams"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:254
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:268
|
||||
msgid "Icecast (Broadcasting Service)"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:256
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:270
|
||||
msgid "SHOUTcast DNAS 2 (Broadcasting Service)"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:260
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:337
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:274
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:351
|
||||
msgid "Running"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:262
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:339
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:276
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:353
|
||||
msgid "Not Running"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:273
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:287
|
||||
msgid "Administration URL"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:277
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:291
|
||||
msgid "Administrator Password"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:284
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:298
|
||||
msgid "Source Password"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:292
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:306
|
||||
msgid "Relay Password"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:306
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:355
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:320
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:369
|
||||
msgid "Restart"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:310
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:359
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:324
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:373
|
||||
msgid "Start"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:314
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:363
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:328
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:377
|
||||
msgid "Stop"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:324
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:338
|
||||
msgid "AutoDJ Disabled"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:325
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:339
|
||||
msgid "AutoDJ has been disabled for this station. No music will automatically be played when a source is not live."
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:333
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:347
|
||||
msgid "Liquidsoap (AutoDJ Service)"
|
||||
msgstr ""
|
||||
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:342
|
||||
#: /var/azuracast/www/resources/templates/stations/profile/index.phtml:356
|
||||
msgid "LiquidSoap is currently shuffling from <b>%d uploaded songs</b> in <b>%d playlists</b>."
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -126,40 +126,54 @@ $user = $request->getUser();
|
|||
<td><?=__('Name') ?></td>
|
||||
<td><?=$this->e($station->getName()) ?></td>
|
||||
</tr>
|
||||
<?php if (!empty($station->getDescription())): ?>
|
||||
<tr>
|
||||
<td><?=__('Description') ?></td>
|
||||
<td><?=$this->e($station->getDescription()) ?></td>
|
||||
</tr>
|
||||
<?php if ($backend::supportsRequests()): ?>
|
||||
<tr>
|
||||
<td><?=__('Song Requests') ?></td>
|
||||
<td>
|
||||
<?php if ($station->getEnableRequests()): ?>
|
||||
<span class="text-success"><?=__('Enabled') ?></span>
|
||||
<?php endif; ?>
|
||||
<?php if (!empty($station->getGenre())): ?>
|
||||
<tr>
|
||||
<td><?=__('Genre') ?></td>
|
||||
<td><?=$this->e($station->getGenre()) ?></td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
<?php if (!empty($station->getUrl())): ?>
|
||||
<tr>
|
||||
<td><?=__('Web Site URL') ?></td>
|
||||
<td><a href="<?=$this->e($station->getUrl()) ?>" target="_blank"><?=$this->e($this->truncateUrl($station->getUrl())) ?></a></td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
<?php if ($backend::supportsRequests()): ?>
|
||||
<tr>
|
||||
<td><?=__('Song Requests') ?></td>
|
||||
<td>
|
||||
<?php if ($station->getEnableRequests()): ?>
|
||||
<span class="text-success"><?=__('Enabled') ?></span>
|
||||
|
||||
<div class="form-field">
|
||||
<textarea id="request_embed_url" class="full-width form-control text-preformatted" spellcheck="false" style="height: 70px;"><iframe src="<?=$router->named('public:embedrequests', ['station' => $station->getShortName()], [], true) ?>" frameborder="0" allowtransparency="true" style="width: 100%; min-height: 850px; border: 0;"></iframe></textarea>
|
||||
</div>
|
||||
<button class="btn btn-copy btn-link btn-xs" data-clipboard-target="#request_embed_url"><i class="material-icons sm">file_copy</i> <?=__('Copy to Clipboard') ?></button>
|
||||
<?php else: ?>
|
||||
<span class="text-danger"><?=__('Disabled') ?></span><br><small><?=__('Edit station profile to enable.') ?></small>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<? endif; ?>
|
||||
<?php if ($backend::supportsStreamers()): ?>
|
||||
<tr>
|
||||
<td><?=__('Streamers/DJs') ?></td>
|
||||
<td>
|
||||
<?php if ($station->getEnableStreamers()): ?>
|
||||
<span class="text-success"><?=__('Enabled') ?></span><br>
|
||||
<a href="<?=$router->fromHere('stations:streamers:index') ?>"><?=__('Manage streamer accounts') ?></a>
|
||||
<?php else: ?>
|
||||
<span class="text-danger"><?=__('Disabled') ?></span><br><small><?=__('Edit station profile to enable.') ?></small>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
<div class="form-field">
|
||||
<textarea id="request_embed_url" class="full-width form-control text-preformatted" spellcheck="false" style="height: 70px;"><iframe src="<?=$router->named('public:embedrequests', ['station' => $station->getShortName()], [], true) ?>" frameborder="0" allowtransparency="true" style="width: 100%; min-height: 850px; border: 0;"></iframe></textarea>
|
||||
</div>
|
||||
<button class="btn btn-copy btn-link btn-xs" data-clipboard-target="#request_embed_url"><i class="material-icons sm">file_copy</i> <?=__('Copy to Clipboard') ?></button>
|
||||
<?php else: ?>
|
||||
<span class="text-danger"><?=__('Disabled') ?></span><br><small><?=__('Edit station profile to enable.') ?></small>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<? endif; ?>
|
||||
<?php if ($backend::supportsStreamers()): ?>
|
||||
<tr>
|
||||
<td><?=__('Streamers/DJs') ?></td>
|
||||
<td>
|
||||
<?php if ($station->getEnableStreamers()): ?>
|
||||
<span class="text-success"><?=__('Enabled') ?></span><br>
|
||||
<a href="<?=$router->fromHere('stations:streamers:index') ?>"><?=__('Manage streamer accounts') ?></a>
|
||||
<?php else: ?>
|
||||
<span class="text-danger"><?=__('Disabled') ?></span><br><small><?=__('Edit station profile to enable.') ?></small>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
<tr>
|
||||
<td><?=__('Base Directory') ?></td>
|
||||
<td class="text-preformatted"><?=$this->e($station->getRadioBaseDir()) ?></td>
|
||||
|
|
28
src/Entity/Migration/Version20181126073334.php
Normal file
28
src/Entity/Migration/Version20181126073334.php
Normal file
|
@ -0,0 +1,28 @@
|
|||
<?php declare(strict_types=1);
|
||||
|
||||
namespace App\Entity\Migration;
|
||||
|
||||
use Doctrine\DBAL\Schema\Schema;
|
||||
use Doctrine\Migrations\AbstractMigration;
|
||||
|
||||
/**
|
||||
* Auto-generated Migration: Please modify to your needs!
|
||||
*/
|
||||
final class Version20181126073334 extends AbstractMigration
|
||||
{
|
||||
public function up(Schema $schema) : void
|
||||
{
|
||||
// this up() migration is auto-generated, please modify it to your needs
|
||||
$this->abortIf($this->connection->getDatabasePlatform()->getName() !== 'mysql', 'Migration can only be executed safely on \'mysql\'.');
|
||||
|
||||
$this->addSql('ALTER TABLE station ADD genre VARCHAR(150) DEFAULT NULL');
|
||||
}
|
||||
|
||||
public function down(Schema $schema) : void
|
||||
{
|
||||
// this down() migration is auto-generated, please modify it to your needs
|
||||
$this->abortIf($this->connection->getDatabasePlatform()->getName() !== 'mysql', 'Migration can only be executed safely on \'mysql\'.');
|
||||
|
||||
$this->addSql('ALTER TABLE station DROP genre');
|
||||
}
|
||||
}
|
|
@ -93,6 +93,12 @@ class Station
|
|||
*/
|
||||
protected $url;
|
||||
|
||||
/**
|
||||
* @Column(name="genre", type="string", length=150, nullable=true)
|
||||
* @var string|null
|
||||
*/
|
||||
protected $genre;
|
||||
|
||||
/**
|
||||
* @Column(name="radio_base_dir", type="string", length=255, nullable=true)
|
||||
* @var string|null
|
||||
|
@ -502,6 +508,22 @@ class Station
|
|||
$this->url = $this->_truncateString($url);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string|null
|
||||
*/
|
||||
public function getGenre(): ?string
|
||||
{
|
||||
return $this->genre;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string|null $genre
|
||||
*/
|
||||
public function setGenre(?string $genre): void
|
||||
{
|
||||
$this->genre = $this->_truncateString($genre, 150);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return null|string
|
||||
*/
|
||||
|
|
|
@ -579,6 +579,7 @@ class Liquidsoap extends BackendAbstract implements EventSubscriberInterface
|
|||
|
||||
$output_params[] = 'name = "' . $this->_cleanUpString($station->getName()) . '"';
|
||||
$output_params[] = 'description = "' . $this->_cleanUpString($station->getDescription()) . '"';
|
||||
$output_params[] = 'genre = "'.$this->_cleanUpString($station->getGenre()).'"';
|
||||
|
||||
if (!empty($station->getUrl())) {
|
||||
$output_params[] = 'url = "' . $this->_cleanUpString($station->getUrl()) . '"';
|
||||
|
|
|
@ -267,6 +267,11 @@ class Icecast extends FrontendAbstract
|
|||
'@type' => 'normal',
|
||||
'mount-name' => $mount_row->getName(),
|
||||
'charset' => 'UTF8',
|
||||
|
||||
'stream-name' => $station->getName(),
|
||||
'stream-description' => $station->getDescription(),
|
||||
'stream-url' => $station->getUrl(),
|
||||
'genre' => $station->getGenre(),
|
||||
];
|
||||
|
||||
if (!empty($mount_row->getFallbackMount())) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user