1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

add description for remux

This commit is contained in:
nyanmisaka 2020-11-17 13:01:31 +08:00
parent 12f0da931b
commit daff76354b
4 changed files with 58 additions and 9 deletions

View file

@ -27,7 +27,12 @@ import 'emby-itemscontainer';
const text = [];
const displayPlayMethod = playMethodHelper.getDisplayPlayMethod(session);
if (displayPlayMethod === 'DirectStream') {
if (displayPlayMethod === 'Remux') {
title = globalize.translate('Remuxing');
text.push(globalize.translate('RemuxHelp1'));
text.push('<br/>');
text.push(globalize.translate('RemuxHelp2'));
} else if (displayPlayMethod === 'DirectStream') {
title = globalize.translate('DirectStreaming');
text.push(globalize.translate('DirectStreamHelp1'));
text.push('<br/>');
@ -395,7 +400,11 @@ import 'emby-itemscontainer';
let showTranscodingInfo = false;
const displayPlayMethod = playMethodHelper.getDisplayPlayMethod(session);
if (displayPlayMethod === 'DirectStream') {
if (displayPlayMethod === 'DirectPlay') {
html += globalize.translate('DirectPlaying');
} else if (displayPlayMethod === 'Remux') {
html += globalize.translate('Remuxing');
} else if (displayPlayMethod === 'DirectStream') {
html += globalize.translate('DirectStreaming');
} else if (displayPlayMethod === 'Transcode') {
html += globalize.translate('Transcoding');
@ -435,7 +444,7 @@ import 'emby-itemscontainer';
}
if (line.length) {
html += ' - ' + line.join(' ');
html += '<br/><br/>' + line.join(' ');
}
}