diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-10-13 15:56:54 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-10-13 15:56:54 -0400 |
| commit | 645a41b193a958672a33208b0768cc1d25a4d852 (patch) | |
| tree | 0f9166c2c2089d84e63d392848fe8f731e6ebfc5 | |
| parent | a32e611aa4af59bf376c02d3e9899682c3ed50a9 (diff) | |
fix font download for mono
| -rw-r--r-- | MediaBrowser.ServerApplication/FFMpeg/FFMpegDownloader.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/MediaBrowser.ServerApplication/FFMpeg/FFMpegDownloader.cs b/MediaBrowser.ServerApplication/FFMpeg/FFMpegDownloader.cs index e9dee88c6..69025c9eb 100644 --- a/MediaBrowser.ServerApplication/FFMpeg/FFMpegDownloader.cs +++ b/MediaBrowser.ServerApplication/FFMpeg/FFMpegDownloader.cs @@ -138,6 +138,10 @@ namespace MediaBrowser.ServerApplication.FFMpeg _zipClient.ExtractAllFromTar(archivePath, targetPath, true); } } + private void Extract7zArchive(string archivePath, string targetPath) + { + _zipClient.ExtractAllFrom7z(archivePath, targetPath, true); + } private void DeleteFile(string path) { @@ -239,7 +243,7 @@ namespace MediaBrowser.ServerApplication.FFMpeg return; } - ExtractArchive(tempFile, fontsDirectory); + Extract7zArchive(tempFile, fontsDirectory); try { |
