From 3b7b06f70b181b2d6c4ea951725050c5edb5cf86 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 9 Jan 2017 01:25:09 -0500 Subject: [PATCH] support .tp video container --- Emby.Server.Implementations/Library/LibraryManager.cs | 2 ++ MediaBrowser.ServerApplication/MainStartup.cs | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.cs index 4dd6cd3032..db514af76f 100644 --- a/Emby.Server.Implementations/Library/LibraryManager.cs +++ b/Emby.Server.Implementations/Library/LibraryManager.cs @@ -2481,6 +2481,8 @@ namespace Emby.Server.Implementations.Library options.VideoFileExtensions.Remove(".zip"); } + options.VideoFileExtensions.Add(".tp"); + return options; } diff --git a/MediaBrowser.ServerApplication/MainStartup.cs b/MediaBrowser.ServerApplication/MainStartup.cs index c349401415..8dcabb9500 100644 --- a/MediaBrowser.ServerApplication/MainStartup.cs +++ b/MediaBrowser.ServerApplication/MainStartup.cs @@ -601,6 +601,12 @@ namespace MediaBrowser.ServerApplication /// true if XXXX, false otherwise 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))