mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-12 18:39:45 +00:00
Update MediaInfoDLL dependencies
This commit is contained in:
@@ -15,4 +15,6 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
global using MediaInfoLib = MediaInfo.MediaInfo;
|
extern alias MediaInfoWrapper;
|
||||||
|
|
||||||
|
global using MediaInfoLib = MediaInfoWrapper::MediaInfo.MediaInfo;
|
||||||
|
Binary file not shown.
Binary file not shown.
@@ -15,7 +15,9 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
using MediaInfo;
|
extern alias MediaInfoWrapper;
|
||||||
|
|
||||||
|
using MediaInfoWrapper::MediaInfo;
|
||||||
using QuickLook.Common.Plugin;
|
using QuickLook.Common.Plugin;
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
@@ -25,7 +25,7 @@
|
|||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||||
<OutputPath>..\..\Build\Release\QuickLook.Plugin\QuickLook.Plugin.VideoViewer\</OutputPath>
|
<OutputPath>..\..\Build\Release\QuickLook.Plugin\QuickLook.Plugin.VideoViewer\</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
@@ -37,7 +37,12 @@
|
|||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="QuickLook.WPFMediaKit" Version="2.3.0" />
|
<PackageReference Include="QuickLook.WPFMediaKit" Version="2.3.0" />
|
||||||
<PackageReference Include="MediaInfo.Wrapper" Version="21.9.3" />
|
<PackageReference Include="MediaInfo.Wrapper" Version="21.9.3">
|
||||||
|
<Aliases>MediaInfoWrapper</Aliases>
|
||||||
|
</PackageReference>
|
||||||
|
<PackageReference Include="MediaInfoDLL" Version="24.12.0">
|
||||||
|
<Aliases>MediaInfoDLL</Aliases>
|
||||||
|
</PackageReference>
|
||||||
<Reference Include="WindowsBase" />
|
<Reference Include="WindowsBase" />
|
||||||
<Reference Include="DirectShowLib-2005, Version=2.1.0.26626, Culture=neutral, PublicKeyToken=67e7b740cdfc2d3f, processorArchitecture=MSIL">
|
<Reference Include="DirectShowLib-2005, Version=2.1.0.26626, Culture=neutral, PublicKeyToken=67e7b740cdfc2d3f, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
@@ -67,12 +72,21 @@
|
|||||||
<Content Include="LAVFilters-x86\**">
|
<Content Include="LAVFilters-x86\**">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
<Content Include="MediaInfo-x64\MediaInfo.dll">
|
<Content Include="$(NuGetPackageRoot)\MediaInfoDLL\24.12.0\lib\netstandard2.0\x64\MediaInfo.dll">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
<DestinationFolder>$(OutDir)MediaInfo-x64\</DestinationFolder>
|
||||||
|
<Link>MediaInfo-x64\MediaInfo.dll</Link>
|
||||||
</Content>
|
</Content>
|
||||||
<Content Include="MediaInfo-x86\MediaInfo.dll">
|
<Content Include="$(NuGetPackageRoot)\MediaInfoDLL\24.12.0\lib\netstandard2.0\x86\MediaInfo.dll">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
<DestinationFolder>$(OutDir)MediaInfo-x86\</DestinationFolder>
|
||||||
|
<Link>MediaInfo-x86\MediaInfo.dll</Link>
|
||||||
</Content>
|
</Content>
|
||||||
|
<!--<Content Include="$(NuGetPackageRoot)\MediaInfoDLL\24.12.0\lib\netstandard2.0\arm64\MediaInfo.dll">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
<DestinationFolder>$(OutDir)MediaInfo-ARM64\</DestinationFolder>
|
||||||
|
<Link>MediaInfo-ARM64\MediaInfo.dll</Link>
|
||||||
|
</Content>-->
|
||||||
<Content Include="LibVlc\**">
|
<Content Include="LibVlc\**">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
@@ -81,6 +95,10 @@
|
|||||||
|
|
||||||
<Target Name="ReduceReleasePackaging" AfterTargets="Build" Condition="'$(Configuration)' == 'Release'">
|
<Target Name="ReduceReleasePackaging" AfterTargets="Build" Condition="'$(Configuration)' == 'Release'">
|
||||||
<Delete Files="$(OutputPath)\Melanchall_DryWetMidi_Native64.dylib" Condition="Exists('$(OutputPath)\Melanchall_DryWetMidi_Native64.dylib')" />
|
<Delete Files="$(OutputPath)\Melanchall_DryWetMidi_Native64.dylib" Condition="Exists('$(OutputPath)\Melanchall_DryWetMidi_Native64.dylib')" />
|
||||||
|
<!-- Keep MediaInfoDLL.dll for MediaInfoViewer to read the translations -->
|
||||||
|
<Delete Files="$(OutputPath)\MediaInfoDLL.dll" Condition="Exists('$(OutputPath)\MediaInfoDLL.dll')" />
|
||||||
|
<!-- MediaInfoDLL will copy the MediaInfo.dll file according to the architecture, we do not use this usage so delete it manually -->
|
||||||
|
<Delete Files="$(OutputPath)\MediaInfo.dll" Condition="Exists('$(OutputPath)\MediaInfo.dll')" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@@ -15,7 +15,9 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
using MediaInfo;
|
extern alias MediaInfoWrapper;
|
||||||
|
|
||||||
|
using MediaInfoWrapper::MediaInfo;
|
||||||
using QuickLook.Common.Annotations;
|
using QuickLook.Common.Annotations;
|
||||||
using QuickLook.Common.Helpers;
|
using QuickLook.Common.Helpers;
|
||||||
using QuickLook.Common.Plugin;
|
using QuickLook.Common.Plugin;
|
||||||
|
Reference in New Issue
Block a user