mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-22 08:45:23 +03:00
added a shutdown api method, font size fix and other decouplings
This commit is contained in:
@@ -42,6 +42,12 @@ namespace MediaBrowser.Networking.WebSocket
|
||||
_logger = logger;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the port.
|
||||
/// </summary>
|
||||
/// <value>The port.</value>
|
||||
public int Port { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Starts the specified port number.
|
||||
/// </summary>
|
||||
@@ -56,6 +62,8 @@ namespace MediaBrowser.Networking.WebSocket
|
||||
|
||||
WebSocketServer.Start();
|
||||
|
||||
Port = portNumber;
|
||||
|
||||
_logger.Info("Alchemy Web Socket Server started");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user