diff --git a/src/Libraries/MediaInfo/MediaInfo.dll b/src/Libraries/MediaInfo/MediaInfo.dll
new file mode 100644
index 000000000..8f1dbea20
Binary files /dev/null and b/src/Libraries/MediaInfo/MediaInfo.dll differ
diff --git a/src/NzbDrone.Core.Test/MediaFiles/MediaInfo/VideoFileInfoReaderFixture.cs b/src/NzbDrone.Core.Test/MediaFiles/MediaInfo/VideoFileInfoReaderFixture.cs
index c5b6a97b4..157d3a0dd 100644
--- a/src/NzbDrone.Core.Test/MediaFiles/MediaInfo/VideoFileInfoReaderFixture.cs
+++ b/src/NzbDrone.Core.Test/MediaFiles/MediaInfo/VideoFileInfoReaderFixture.cs
@@ -2,7 +2,6 @@ using System.IO;
using FluentAssertions;
using Moq;
using NUnit.Framework;
-using NzbDrone.Common;
using NzbDrone.Common.Disk;
using NzbDrone.Core.MediaFiles.MediaInfo;
using NzbDrone.Core.Test.Framework;
@@ -28,6 +27,32 @@ namespace NzbDrone.Core.Test.MediaFiles.MediaInfo
var path = Path.Combine(Directory.GetCurrentDirectory(), "Files", "Media", "H264_sample.mp4");
Subject.GetRunTime(path).Seconds.Should().Be(10);
+
+ }
+
+
+ [Test]
+ public void get_info()
+ {
+ var path = Path.Combine(Directory.GetCurrentDirectory(), "Files", "Media", "H264_sample.mp4");
+
+ var info = Subject.GetMediaInfo(path);
+
+
+ info.AudioBitrate.Should().Be(128000);
+ info.AudioChannels.Should().Be(2);
+ info.AudioFormat.Should().Be("AAC");
+ info.AudioLanguages.Should().Be("English");
+ info.AudioProfile.Should().Be("LC");
+ info.Height.Should().Be(320);
+ info.RunTime.Seconds.Should().Be(10);
+ info.ScanType.Should().Be("Progressive");
+ info.Subtitles.Should().Be("");
+ info.VideoBitrate.Should().Be(193329);
+ info.VideoCodec.Should().Be("AVC");
+ info.VideoFps.Should().Be(24);
+ info.Width.Should().Be(480);
+
}
}
}
\ No newline at end of file
diff --git a/src/NzbDrone.Core/MediaInfo.dll b/src/NzbDrone.Core/MediaInfo.dll
deleted file mode 100644
index 177857717..000000000
Binary files a/src/NzbDrone.Core/MediaInfo.dll and /dev/null differ
diff --git a/src/NzbDrone.Core/NzbDrone.Core.csproj b/src/NzbDrone.Core/NzbDrone.Core.csproj
index e9ef5fc8c..dedf7fbff 100644
--- a/src/NzbDrone.Core/NzbDrone.Core.csproj
+++ b/src/NzbDrone.Core/NzbDrone.Core.csproj
@@ -892,8 +892,11 @@
Resources\Logo\64.png
-
- Always
+
+
+
+ MediaInfo.dll
+ PreserveNewest