mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-23 14:45:43 -07:00
Updated
This commit is contained in:
parent
e03bf84515
commit
323bfe9950
2 changed files with 5 additions and 3 deletions
|
@ -1276,7 +1276,7 @@ $lang['CHANNELS'] = 'Channels: <b>%s</b>';
|
|||
$lang['CHANNELS_LAYOUT'] = 'Channels layout: <b>%s</b>';
|
||||
$lang['BITRATE'] = 'Bitrate: <b>%s</b>';
|
||||
$lang['SAMPLE_RATE'] = 'Sample rate: <b>%s</b>';
|
||||
$lang['AUDIO_TRACKS'] = 'Audio tracks:';
|
||||
$lang['AUDIO_TRACK'] = 'Audio track (%s):';
|
||||
$lang['AUDIO_CODEC'] = 'Audio codec: <b>%s</b>';
|
||||
$lang['VIDEO_CODEC'] = 'Video codec: <b>%s</b>';
|
||||
$lang['DOWNLOAD_M3U_FILE'] = 'Download .m3u file';
|
||||
|
|
|
@ -115,10 +115,12 @@ foreach ($m3uData as $entry) {
|
|||
return null;
|
||||
}
|
||||
|
||||
$result = '<span class="warnColor2">'.$lang['AUDIO_TRACK'].'</span><br>';
|
||||
|
||||
if (isset($stream->tags->title)) {
|
||||
$result = $stream->tags->language . ' (' . $stream->tags->title . ')';
|
||||
$result .= $stream->tags->language . ' (' . $stream->tags->title . ')';
|
||||
} else {
|
||||
$result = $stream->tags->language;
|
||||
$result .= $stream->tags->language;
|
||||
}
|
||||
$result .= '<br>';
|
||||
$result .= sprintf($lang['AUDIO_CODEC'], mb_strtoupper($stream->codec_name, 'UTF-8')) . '<br>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue