move loopback util

This commit is contained in:
Luke Pulverenti
2017-03-10 13:33:17 -05:00
parent 8931b949f8
commit fc2a5acfca
10 changed files with 82 additions and 445 deletions

View File

@@ -56,42 +56,6 @@ namespace MediaBrowser.Server.Mac
return new SyncManager();
}
protected override FFMpegInstallInfo GetFfmpegInstallInfo()
{
var info = new FFMpegInstallInfo();
info.ArchiveType = "7z";
switch (EnvironmentInfo.SystemArchitecture)
{
case Architecture.X64:
info.Version = "20160124";
break;
case Architecture.X86:
info.Version = "20150110";
break;
}
info.DownloadUrls = GetDownloadUrls();
return info;
}
private string[] GetDownloadUrls()
{
switch (EnvironmentInfo.SystemArchitecture)
{
case Architecture.X64:
return new[]
{
"https://github.com/MediaBrowser/Emby.Resources/raw/master/ffmpeg/osx/ffmpeg-x64-2.8.5.7z"
};
}
// No version available
return new string[] { };
}
protected override void RestartInternal()
{
MainClass.Restart();