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

Merge pull request #2069 from Artiume/patch-1

Show Remux as a Playback Method
This commit is contained in:
Claus Vium 2020-11-20 08:16:39 +01:00 committed by GitHub
commit 5e27e30678
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,9 @@ export function getDisplayPlayMethod(session) {
return null; return null;
} }
if (session.TranscodingInfo && session.TranscodingInfo.IsVideoDirect) { if (session.TranscodingInfo && session.TranscodingInfo.IsVideoDirect && session.TranscodingInfo.IsAudioDirect) {
return 'Remux';
} else if (session.TranscodingInfo && session.TranscodingInfo.IsVideoDirect) {
return 'DirectStream'; return 'DirectStream';
} else if (session.PlayState.PlayMethod === 'Transcode') { } else if (session.PlayState.PlayMethod === 'Transcode') {
return 'Transcode'; return 'Transcode';