mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-14 11:40:42 +01:00
added cloud sync model objects
This commit is contained in:
@@ -35,7 +35,7 @@ namespace MediaBrowser.ServerApplication.FFMpeg
|
||||
switch (arg)
|
||||
{
|
||||
case "Version":
|
||||
return "20140612";
|
||||
return "20140721";
|
||||
case "FFMpegFilename":
|
||||
return "ffmpeg.exe";
|
||||
case "FFProbeFilename":
|
||||
@@ -113,8 +113,8 @@ namespace MediaBrowser.ServerApplication.FFMpeg
|
||||
case PlatformID.Win32NT:
|
||||
return new[]
|
||||
{
|
||||
"http://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg-20140612-git-3a1c895-win32-static.7z",
|
||||
"https://github.com/MediaBrowser/MediaBrowser.Resources/raw/master/ffmpeg/windows/ffmpeg-20140612-git-3a1c895-win32-static.7z"
|
||||
"http://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg-20140721-git-ce385c8-win32-static.7z",
|
||||
"https://github.com/MediaBrowser/MediaBrowser.Resources/raw/master/ffmpeg/windows/ffmpeg-20140721-git-ce385c8-win32-static.7z"
|
||||
};
|
||||
|
||||
case PlatformID.Unix:
|
||||
|
||||
@@ -26,10 +26,10 @@ namespace MediaBrowser.ServerApplication.FFMpeg
|
||||
private readonly IZipClient _zipClient;
|
||||
private readonly IFileSystem _fileSystem;
|
||||
|
||||
private readonly string[] _fontUrls = new[]
|
||||
{
|
||||
"https://www.dropbox.com/s/pj847twf7riq0j7/ARIALUNI.7z?dl=1"
|
||||
};
|
||||
private readonly string[] _fontUrls =
|
||||
{
|
||||
"https://www.dropbox.com/s/pj847twf7riq0j7/ARIALUNI.7z?dl=1"
|
||||
};
|
||||
|
||||
public FFMpegDownloader(ILogger logger, IApplicationPaths appPaths, IHttpClient httpClient, IZipClient zipClient, IFileSystem fileSystem)
|
||||
{
|
||||
@@ -251,6 +251,7 @@ namespace MediaBrowser.ServerApplication.FFMpeg
|
||||
Task.Run(async () =>
|
||||
{
|
||||
await DownloadFontFile(fontsDirectory, fontFilename, new Progress<double>()).ConfigureAwait(false);
|
||||
|
||||
await WriteFontConfigFile(fontsDirectory).ConfigureAwait(false);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user