support .tp video container

This commit is contained in:
Luke Pulverenti 2017-01-09 01:25:09 -05:00
parent fe25f3cbac
commit 3b7b06f70b
2 changed files with 8 additions and 0 deletions

View File

@ -2481,6 +2481,8 @@ namespace Emby.Server.Implementations.Library
options.VideoFileExtensions.Remove(".zip");
}
options.VideoFileExtensions.Add(".tp");
return options;
}

View File

@ -601,6 +601,12 @@ namespace MediaBrowser.ServerApplication
/// <returns><c>true</c> if XXXX, <c>false</c> otherwise</returns>
private static bool PerformUpdateIfNeeded(ServerApplicationPaths appPaths, ILogger logger)
{
// Not supported
if (IsRunningAsService)
{
return false;
}
// Look for the existence of an update archive
var updateArchive = Path.Combine(appPaths.TempUpdatePath, "MBServer" + ".zip");
if (File.Exists(updateArchive))