support .tp video container

pull/1154/head
Luke Pulverenti 8 years ago
parent fe25f3cbac
commit 3b7b06f70b

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

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

Loading…
Cancel
Save