mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add MediaInfo to improve media analysis for video files
This commit is contained in:
parent
698fe57e53
commit
42f0520499
3 changed files with 6 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
||||||
</configSections>
|
</configSections>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<webMarkupMin xmlns="http://tempuri.org/WebMarkupMin.Configuration.xsd">
|
<webMarkupMin xmlns="http://tempuri.org/WebMarkupMin.Configuration.xsd">
|
||||||
<core>
|
<core>
|
||||||
<css>
|
<css>
|
||||||
|
|
|
@ -1256,6 +1256,10 @@
|
||||||
attributes.push(createAttribute(Globalize.translate('MediaInfoPixelFormat'), stream.PixelFormat));
|
attributes.push(createAttribute(Globalize.translate('MediaInfoPixelFormat'), stream.PixelFormat));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (stream.RefFrames) {
|
||||||
|
attributes.push(createAttribute(Globalize.translate('MediaInfoRefFrames'), stream.RefFrames));
|
||||||
|
}
|
||||||
|
|
||||||
if (stream.Type != "Video") {
|
if (stream.Type != "Video") {
|
||||||
attributes.push(createAttribute(Globalize.translate('MediaInfoDefault'), (stream.IsDefault ? 'Yes' : 'No')));
|
attributes.push(createAttribute(Globalize.translate('MediaInfoDefault'), (stream.IsDefault ? 'Yes' : 'No')));
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<packages>
|
<packages>
|
||||||
<package id="MediaBrowser.ApiClient.Javascript" version="3.0.249" targetFramework="net45" />
|
<package id="MediaBrowser.ApiClient.Javascript" version="3.0.249" targetFramework="net45" />
|
||||||
<package id="WebMarkupMin.Core" version="0.8.21" targetFramework="net45" />
|
<package id="WebMarkupMin.Core" version="0.9.3" targetFramework="net45" />
|
||||||
</packages>
|
</packages>
|
Loading…
Add table
Add a link
Reference in a new issue