aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-01-09 01:25:09 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-01-09 01:25:09 -0500
commit3b7b06f70b181b2d6c4ea951725050c5edb5cf86 (patch)
tree47f8cd3fd650b39598cfa80da38afb793ba4c4cb
parentfe25f3cbacca11ef609332e87f70eed54f179e86 (diff)
support .tp video container
-rw-r--r--Emby.Server.Implementations/Library/LibraryManager.cs2
-rw-r--r--MediaBrowser.ServerApplication/MainStartup.cs6
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))