Emby
| Schemes | emby://, embys:// |
| Cargo feature | service-emby |
| Service | https://emby.media/ |
| Body formats | text (first is the default) |
| Attachments | no |
| Title length | 250 characters |
| Body length | 32,768 characters |
| Body lines | unlimited |
| Request throttle | none |
| Vendor URLs accepted | no |
URL formats
{schema}://{host}
{schema}://{host}:{port}
{schema}://{user}:{password}@{host}
{schema}://{user}:{password}@{host}:{port}
{schema} is one of emby://, embys://.
URL tokens
| Token | Meaning | Type | Required | Default | Notes |
|---|---|---|---|---|---|
{host} | Hostname | string | yes | ||
{password} | Password | string | no | secret | |
{port} | Port | int, 1 to 65535 | no | 8096 | |
{user} | Username | string | no |
Query parameters
| Parameter | Meaning | Type | Default | Notes |
|---|---|---|---|---|
modal | Modal | bool | no |
The common URL parameters (format, overflow, verify, redirect, cto, rto, retry, wait, store, tag, tz, user, password, port, optional, emojis) apply as well.
Examples
Accepted URLs (tokens are fake):
emby://l2g@localhost
emby://l2g:l2gpass@localhost:8096?modal=no
embys://l2g:l2gpass@localhost:1234?modal=yes
Rejected URLs:
emby://
embys://
emby://localhost
emby://:@/
Send one from the command line:
mercurio -t 'Backup' -b 'Finished in 42s' 'emby://l2g@localhost'
Notes
Emby (emby://, embys://): messages to the active Emby client sessions (the same code serves Jellyfin).
The login session lives as long as the parsed URL (a non-persistent store entry): later sends only look up the client sessions and post. Target::close logs out.