mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
support .tp video container
This commit is contained in:
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…
x
Reference in New Issue
Block a user