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

Merge pull request #5312 from jellyfin/media-info

This commit is contained in:
Bill Thornton 2024-03-24 17:09:03 -04:00 committed by GitHub
commit 7c85404309
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -84,6 +84,7 @@ function getMediaSourceHtml(user, item, version) {
case 'Data':
case 'Subtitle':
case 'Video':
case 'Lyric':
translateString = stream.Type;
break;
case 'EmbeddedImage':
@ -145,10 +146,10 @@ function getMediaSourceHtml(user, item, version) {
if (stream.BitDepth) {
attributes.push(createAttribute(globalize.translate('MediaInfoBitDepth'), `${stream.BitDepth} bit`));
}
if (stream.VideoRange) {
if (stream.VideoRange && stream.Type === 'Video') {
attributes.push(createAttribute(globalize.translate('MediaInfoVideoRange'), stream.VideoRange));
}
if (stream.VideoRangeType) {
if (stream.VideoRangeType && stream.Type === 'Video') {
attributes.push(createAttribute(globalize.translate('MediaInfoVideoRangeType'), stream.VideoRangeType));
}
if (stream.VideoDoViTitle) {

View file

@ -951,6 +951,7 @@
"LogLevel.None": "None",
"Logo": "Logo",
"LogoScreensaver": "Logo Screensaver",
"Lyric": "Lyric",
"Lyricist": "Lyricist",
"ManageLibrary": "Manage library",
"ManageRecording": "Manage recording",