The Free Software Media System - Server Backend & API
support .tp video container
Luke Pulverenti3b7b06f70b18
diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.csindex 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.Libraryoptions.VideoFileExtensions.Remove(".zip");}+ options.VideoFileExtensions.Add(".tp");+return options;}diff --git a/MediaBrowser.ServerApplication/MainStartup.cs b/MediaBrowser.ServerApplication/MainStartup.csindex c349401415..8dcabb9500 100644--- a/MediaBrowser.ServerApplication/MainStartup.cs+++ b/MediaBrowser.ServerApplication/MainStartup.cs@@ -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 archivevar updateArchive = Path.Combine(appPaths.TempUpdatePath, "MBServer" + ".zip");if (File.Exists(updateArchive))