27 lines
1.0 KiB
C#
27 lines
1.0 KiB
C#
using MediaBrowser.Model.Plugins;
|
|
|
|
namespace eMCPy
|
|
{
|
|
public class PluginConfiguration : BasePluginConfiguration
|
|
{
|
|
public bool EnableMcpServer { get; set; } = true;
|
|
public int McpPort { get; set; } = 8097;
|
|
public string ListenAddress { get; set; } = "0.0.0.0";
|
|
public string ApiKey { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Optional: Vollständige URL, über die das Dashboard den MCP-Server erreichen kann
|
|
/// (z. B. https://mcp.domain.de/mcp hinter einem Reverse-Proxy).
|
|
/// Leer = Status-Check nutzt http://<ServerHost>:<McpPort>/mcp.
|
|
/// </summary>
|
|
public string McpUrl { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Basis-URL des Emby-Servers für generierte Links (z. B. Bild-URLs).
|
|
/// Wichtig in Docker (Bridge-Netzwerk): hier die LAN-URL eintragen,
|
|
/// z. B. http://192.168.1.2:8096. Leer = automatische Erkennung.
|
|
/// </summary>
|
|
public string ServerUrl { get; set; } = string.Empty;
|
|
}
|
|
}
|