@section('title', __('radio.menu_item_6')) @section('head') @endsection @php $breadcrumb = [ ['label' => __('general.header_nav_radio')], ['label' => __('radio.menu_item_6')], ]; $fadeTimes = [2, 4, 6, 8, 10]; $bitrates = [32, 48, 64, 96]; /* a coluna guarda em kHz com uma casa, e a tela mostra em Hz */ $sampleRates = ['44.1' => '44100Hz', '48.0' => '48000Hz']; if ($streamData->plan_bitrate >= 128) { $bitrates[] = 128; } if ($streamData->plan_bitrate > 128) { $bitrates = array_merge($bitrates, [192, 256, 320]); } /* a hora do fuso da emissora, para o cliente conferir a escolha */ try { $stationNow = new DateTime('now', new DateTimeZone($streamData->timezone ?: 'America/Sao_Paulo')); } catch (Exception $e) { $stationNow = new DateTime('now', new DateTimeZone('America/Sao_Paulo')); } @endphp @include('includes/header-novo') @include('includes.breadcrumb') @include('includes.flash') {{ __('radio.menu_item_6') }} {{ __('radio.settings_page_sub') }} {{ __('radio.settings_section_stream') }} {{ __('radio.settings_codec') }} {{ __('radio.settings_help_codec') }} autodj_codec == 'mp3')>MP3 autodj_codec == 'aac')>AAC+ {{ __('radio.settings_bitrate') }} {{ __('radio.settings_help_bitrate') }} @foreach($bitrates as $bitrate) autodj_bitrate == $bitrate)>{{ $bitrate }}kbps @endforeach {{ __('radio.settings_samplerate') }} @foreach($sampleRates as $valor => $rotulo) autodj_sample === (string) $valor)>{{ $rotulo }} @endforeach {{ __('general.label_timezone') }} {{ __('radio.settings_help_timezone') }} {{ __('radio.settings_timezone_now') }} {{ $stationNow->format('d/m/Y H:i:s') }} {{ __('radio.settings_section_audio') }} {{ __('radio.settings_fade_type') }} {{ __('radio.settings_help_fade') }} autodj_fade_type != 'crossfade') hidden @endif> {!! __('radio.settings_crossfade_msg') !!} autodj_fade_type == 'none')>{{ __('radio.settings_fade_none') }} autodj_fade_type == 'simple')>{{ __('radio.settings_fade_simple') }} @if($streamData->autodj_fade_type == 'crossfade') Crossfade @endif autodj_fade_type == 'none') hidden @endif> {{ __('radio.settings_fade_duration') }} {{ __('radio.settings_help_fade_duration') }} @foreach($fadeTimes as $seconds) autodj_fade_time == $seconds)>{{ __('radio.settings_seconds', ['count' => $seconds]) }} @endforeach {{ __('radio.settings_live_end') }} {{ __('radio.settings_help_live_end') }} autodj_skip != '0')>{{ __('radio.app_yes') }} autodj_skip == '0')>{{ __('radio.app_no') }} {{ __('radio.settings_preset') }} {{ __('radio.settings_help_preset') }} autodj_preset == 'off')>{{ __('radio.settings_preset_off') }} autodj_preset == 'light')>{{ __('radio.settings_preset_light') }} autodj_preset == 'balanced')>{{ __('radio.settings_preset_balanced') }} autodj_preset == 'strong')>{{ __('radio.settings_preset_strong') }} autodj_preset == 'aggressive')>{{ __('radio.settings_preset_aggressive') }} @section('scripts') @endsection @include('includes/footer-novo')
{{ __('radio.settings_page_sub') }}