1
0
mirror of https://github.com/jellyfin/jellyfin-web.git synced 2025-04-18 20:24:10 +03:00

Make linter happy

This commit is contained in:
Bond_009 2024-08-30 20:32:53 +02:00 committed by Bill Thornton
parent 1c13b436db
commit 32906e8a9d

View File

@ -107,10 +107,8 @@ function getMediaSourceHtml(user, item, version) {
if (stream.CodecTag) {
attributes.push(createAttribute(globalize.translate('MediaInfoCodecTag'), stream.CodecTag));
}
if (stream.Type === 'Video') {
if (stream.IsAVC != null) {
attributes.push(createAttribute('AVC', (stream.IsAVC ? 'Yes' : 'No')));
}
if (stream.Type === 'Video' && stream.IsAVC != null) {
attributes.push(createAttribute('AVC', (stream.IsAVC ? 'Yes' : 'No')));
}
if (stream.Profile) {
attributes.push(createAttribute(globalize.translate('MediaInfoProfile'), stream.Profile));