mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-01 13:28:27 +01:00
sync updates
This commit is contained in:
@@ -13,11 +13,10 @@ namespace MediaBrowser.ServerApplication.Native
|
||||
/// <summary>
|
||||
/// Authorizes the server.
|
||||
/// </summary>
|
||||
/// <param name="httpServerPort">The HTTP server port.</param>
|
||||
/// <param name="httpServerUrlPrefix">The HTTP server URL prefix.</param>
|
||||
/// <param name="udpPort">The UDP port.</param>
|
||||
/// <param name="httpServerPort">The HTTP server port.</param>
|
||||
/// <param name="tempDirectory">The temp directory.</param>
|
||||
public static void AuthorizeServer(int httpServerPort, string httpServerUrlPrefix, int udpPort, string tempDirectory)
|
||||
public static void AuthorizeServer(int udpPort, int httpServerPort, string tempDirectory)
|
||||
{
|
||||
Directory.CreateDirectory(tempDirectory);
|
||||
|
||||
@@ -37,9 +36,7 @@ namespace MediaBrowser.ServerApplication.Native
|
||||
{
|
||||
FileName = tmpFile,
|
||||
|
||||
Arguments = string.Format("{0} {1} {2}", httpServerPort,
|
||||
httpServerUrlPrefix,
|
||||
udpPort),
|
||||
Arguments = string.Format("{0} {1}", udpPort, httpServerPort),
|
||||
|
||||
CreateNoWindow = true,
|
||||
WindowStyle = ProcessWindowStyle.Hidden,
|
||||
|
||||
Reference in New Issue
Block a user