diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-01-09 01:25:09 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-01-09 01:25:09 -0500 |
| commit | 3b7b06f70b181b2d6c4ea951725050c5edb5cf86 (patch) | |
| tree | 47f8cd3fd650b39598cfa80da38afb793ba4c4cb | |
| parent | fe25f3cbacca11ef609332e87f70eed54f179e86 (diff) | |
support .tp video container
| -rw-r--r-- | Emby.Server.Implementations/Library/LibraryManager.cs | 2 | ||||
| -rw-r--r-- | MediaBrowser.ServerApplication/MainStartup.cs | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.cs index 4dd6cd303..db514af76 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 c34940141..8dcabb950 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 archive var updateArchive = Path.Combine(appPaths.TempUpdatePath, "MBServer" + ".zip"); if (File.Exists(updateArchive)) |
