aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/config.php4
-rw-r--r--template/assemblies/switcher/party.phtml2
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/config.php b/lib/config.php
index c5bed0c..6bed258 100644
--- a/lib/config.php
+++ b/lib/config.php
@@ -33,8 +33,12 @@ $GLOBALS['CONFIG']['FORMAT_TEXT'] = array(
'hd' => '1920x1080, h264+aac, 3 MBit/s',
'sd' => '1024x576, h264+aac, 1 MBit/s',
'webm' => '1024x576 vp8+vorbis in webm, 1 MBit/s',
+
'mp3' => 'MP3, 128 kBit/s',
'opus' => 'Opus (RFC 6716), 96 kBit/s',
+
+ 'party-mp3' => 'MP3, 320 kBit/s',
+ 'party-opus' => 'Opus (RFC 6716), 128 kBit/s',
);
// various room-name nappings
diff --git a/template/assemblies/switcher/party.phtml b/template/assemblies/switcher/party.phtml
index 9a60556..64c3d87 100644
--- a/template/assemblies/switcher/party.phtml
+++ b/template/assemblies/switcher/party.phtml
@@ -2,7 +2,7 @@
<ul>
<? foreach(array('mp3', 'opus') as $iter): ?>
<li>
- <span class="label filetype" title="<?=h(format_text($iter))?>"><?=h(strtoupper($iter))?></span>
+ <span class="label filetype" title="<?=h(format_text('party-'.$iter))?>"><?=h(strtoupper($iter))?></span>
<a href="<?=h(link_stream('audio', $room, $iter))?>">
<span class="fa fa-music"></span>
livemusic