From 36c8f6e5b8326104c29486ff95a6bf6fd5358256 Mon Sep 17 00:00:00 2001 From: Jordan Doyle Date: Wed, 22 Jun 2016 19:00:52 +0100 Subject: [PATCH] SHOUTcast v2 info --- resources/views/dj/connection-info.blade.php | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/resources/views/dj/connection-info.blade.php b/resources/views/dj/connection-info.blade.php index 5ff7d15..48d4187 100644 --- a/resources/views/dj/connection-info.blade.php +++ b/resources/views/dj/connection-info.blade.php @@ -12,13 +12,13 @@

{{ _('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.') }}

+

{{ _('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.') }}

-

{{ _('Connection Information') }}

+

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

@if($connection)

{!! __('IP: %s', "{$connection->ip}") !!}
@@ -31,4 +31,23 @@ @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 -- libgit2 1.7.2