Members
(static, constant) MASKED_VALUE
What a hidden value shows instead.
- Default Value
- ***
Methods
(static) isServerTokenName(name) → {boolean}
The query names a Jellyfin URL carries the user's access token in. The server's StreamInfo writes api_key at 10.7.7 and ApiKey at 10.11.0, and its authorization reads both.
| Name | Type | Description |
|---|---|---|
name | string |
- Type:
- boolean
(static) isServerUrl(url, serverUrl) → {boolean}
True when the URL is this Jellyfin server's: relative, or the same host and port.
| Name | Type | Description |
|---|---|---|
url | dynamic | the URL to place |
serverUrl | dynamic | the signed-in server's URL |
- Type:
- boolean
(static) isShortcutPath(itemPath) → {boolean}
True when an item's own path is a .strm file: the server's own test for a shortcut (BaseVideoResolver sets IsShortcut from the extension), which it does not send to clients. Its media source then describes the text file: its Size is the .strm file's.
| Name | Type | Description |
|---|---|---|
itemPath | dynamic | the item's Path, as the server reports it |
- Type:
- boolean
(static) maskUrlSecrets(url, serverUrl) → {string}
The URL with its secrets hidden: a server URL's token values, an upstream URL's every query value and any user information. Anything that is not a URL (a file path) is returned as is.
| Name | Type | Description |
|---|---|---|
url | dynamic | |
serverUrl | dynamic | the signed-in server's URL |
- Type:
- string
(static) upstreamHost(url, serverUrl) → {string}
The host a stream comes from, or "" when it is this server's or there is no URL.
| Name | Type | Description |
|---|---|---|
url | dynamic | the URL being played |
serverUrl | dynamic | the signed-in server's URL |
- Type:
- string