mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fixes #585 - Use tmdb updates api for people
This commit is contained in:
parent
2277ce3c14
commit
7d4819a582
1 changed files with 5 additions and 9 deletions
|
@ -769,19 +769,15 @@
|
|||
attributes.push('<span class="mediaInfoAttribute">' + stream.Language + '</span>');
|
||||
}
|
||||
|
||||
if (stream.Width) {
|
||||
attributes.push('<span class="mediaInfoAttribute">' + stream.Width + '</span>');
|
||||
if (stream.Width || stream.Height) {
|
||||
attributes.push('<span class="mediaInfoAttribute">' + stream.Width + 'x' + stream.Height + '</span>');
|
||||
}
|
||||
|
||||
if (stream.Height) {
|
||||
attributes.push('<span class="mediaInfoAttribute">' + stream.Height + '</span>');
|
||||
}
|
||||
|
||||
if (stream.AspectRatio) {
|
||||
if (stream.AspectRatio && stream.Codec != "mjpeg") {
|
||||
attributes.push('<span class="mediaInfoAttribute">' + stream.AspectRatio + '</span>');
|
||||
}
|
||||
|
||||
if (stream.BitRate) {
|
||||
if (stream.BitRate && stream.Codec != "mjpeg") {
|
||||
attributes.push('<span class="mediaInfoAttribute">' + (parseInt(stream.BitRate / 1000)) + ' kbps</span>');
|
||||
}
|
||||
|
||||
|
@ -795,7 +791,7 @@
|
|||
|
||||
var framerate = stream.AverageFrameRate || stream.RealFrameRate;
|
||||
|
||||
if (framerate) {
|
||||
if (framerate && item.MediaType != "Audio") {
|
||||
attributes.push('<span class="mediaInfoAttribute">' + framerate + '</span>');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue