diff --git a/playback_m3u.php b/playback_m3u.php
index 311d340fd..e4127724f 100644
--- a/playback_m3u.php
+++ b/playback_m3u.php
@@ -115,13 +115,14 @@ foreach ($m3uData as $entry) {
return null;
}
- $result = '' . sprintf($lang['AUDIO_TRACK'], 1) . '
';
+ $result = '' . sprintf($lang['AUDIO_TRACK'], $audioTracks) . '
';
if (isset($stream->tags->title)) {
$result .= $stream->tags->language . ' (' . $stream->tags->title . ')';
} else {
$result .= $stream->tags->language;
}
+
$result .= '
';
$result .= sprintf($lang['AUDIO_CODEC'], mb_strtoupper($stream->codec_name, 'UTF-8')) . '
';
$result .= sprintf($lang['BITRATE'], humn_bitrate($stream->bit_rate)) . '
';