Methods
(static) AddServer(serverItem) → {void}
Parameters:
| Name | Type | Description |
|---|---|---|
serverItem | dynamic |
Returns:
- Type:
- void
(static) FetchServerIds() → {void}
Fetch server IDs and names from /system/info/public for all discovered servers. All requests are fired in parallel on a shared port and collected within a 5s budget. Also strips the URL scheme to produce originalUrl (e.g. "192.168.1.100:8096") so:
- users see clean URLs in the server picker (no "http://" prefix)
- inferServerUrl() can re-probe the correct protocol on each connection, automatically picking up HTTPS if the server has been upgraded since last save
Returns:
- Type:
- void
(static) ProcessClientDiscoveryResponse(message) → {void}
Parameters:
| Name | Type | Description |
|---|---|---|
message | dynamic |
Returns:
- Type:
- void
(static) ProcessSSDPResponse(message) → {void}
Parameters:
| Name | Type | Description |
|---|---|---|
message | dynamic |
Returns:
- Type:
- void
(static) SendClientDiscoveryBroadcast() → {void}
Returns:
- Type:
- void
(static) SendSSDPBroadcast() → {void}
Returns:
- Type:
- void
(static) execute() → {void}
Returns:
- Type:
- void
(static) init() → {void}
Task used to discover jellyfin servers on the local network
Returns:
- Type:
- void