| Name | Function |
|---|---|
| emby2Alist | Redirects Emby/Jellyfin to Alist direct links |
| embyAddExternalUrl | Adds an external player button in all Emby/Jellyfin clients (except older TV clients) |
| embyWebAddExternalUrl | User script for Emby/Jellyfin/AlistWeb to call external players, web-only |
| plex2Alist | Redirects Plex to Alist direct links |
See FAQ
This uses the nginx njs module to run a JavaScript script. It adds an external player link in the external link section of Emby videos.
- Works with all official Emby clients.
- Does not support older TV clients that lack an external media database link section.
- Be mindful of compatibility with the built-in web view implementation on TV clients.
This example uses Docker, but you can also install the njs module manually.
Download the script:
wget https://github.com/bpking1/embyExternalUrl/releases/download/v0.0.1/addExternalUrl.tar.gz \
&& mkdir -p ~/embyExternalUrl \
&& tar -xzvf ./addExternalUrl.tar.gz -C ~/embyExternalUrl \
&& cd ~/embyExternalUrl- Edit
externalUrl.jsto adjustserverAddras needed. tagsandgroupsare extracted from video versions as keywords for external link names. If not needed, leave them unchanged.emby.confdefaults to reverse proxying Emby server on port 8096 — adjust if necessary.docker-compose.ymlmaps port 8097 by default — adjust if necessary.
Start Docker:
docker-compose up -dNow visit port 8097. At the bottom of the video info page, you’ll see the external player link added.
Check logs:
docker logs -f nginx-embyUrl 2>&1 | grep error- Place
externalUrl.jsinto theconf.ddirectory of emby2Alist, at the same level asemby.js. - Copy the contents between
## addExternalUrl SETTINGS ##fromemby.confinto theemby2Alistemby.conf, above thelocation /block. - Copy the
js_importline from the top ofemby.confinto the same position inemby2Alist’semby.conf. - Restart nginx or reload the config with:
Then access via the nginx port configured for emby2Alist.
nginx -s reload
Available here: GreasyFork Script
