@extends(Request::ajax() ? 'layouts.ajax-main' : 'layouts.main') @section('title'){{ _('View Connection Info') }} @endsection @section('page-title')DJ chevron_right View Connection Information @endsection @section('content')

{{ _('View Connection Info') }}

{{ _('Here you can view the connection info for our radio. Please ensure your information is up-to-date before attempting to connect to the server.') }}

{{ _('Unlike many fansites, we use up-to-date software. This also means we are using SHOUTcast 2. Don\'t worry, you can still use SAM Broadcaster 2 to connect to the server. Please ensure you paste the password exactly how it is displayed below. If your broadcast software supports it, please select SHOUTcast 2, otherwise you can click SHOUTcast 1.') }}

{{ _('IMPORTANT:') }} {{ _('Anybody without their panel username in their broadcast password will be kicked from the radio and will be given a warning. Broadcasting at the wrong bitrate will also result in a warning.') }} {{ _('ALWAYS PREFER SHOUTCAST 2 OVER SHOUTCAST 1.') }}

{{ _('SHOUTcast v1 Connection Information') }}

@if($connection)

{!! __('IP: %s', "{$connection->ip}") !!}
{!! __('Port: %s', "{$connection->port}") !!}
{!! __('Password: %s', '' . auth()->user()->username . ":{$connection->password}") !!}
{!! __('Bitrate: %s', '256kbps') !!}

@else

{{ _('The connection info is currently unset.') }}

@endif
@if($connection)

{{ _('SHOUTcast v2 Connection Information') }}

{!! __('IP: %s', "{$connection->ip}") !!}
{!! __('Port: %s', "{$connection->port}") !!}
{!! __('Stream ID: %s', '1') !!}
{!! __('DJ/User ID: %s', '' . auth()->user()->username . '') !!}
{!! __('Password: %s', "{$connection->password}") !!}
{!! __('Use SHOUTcast v1 mode: %s', 'UNCHECKED') !!}
{!! __('Bitrate: %s', '256kbps') !!}

@endif @endsection