Skip to content

Plex-Debrid

When combined with Plex, an rclone mount, and a Debrid service, plex_debrid facilitates "stremio-like" torrent streaming through Debrid Services.

In an ideal situation, you'd add a movie / TV show to your Plex watchlist / Trakt lists, Overseerr / Jellyseerr, and then 10-20s later, it's available to stream it through your Plex instance, as per the upstream demo below:

Get Elf Hosted Plex-Debrid from $0.1/day ๐Ÿช„

Screenshot of Plex-Debrid

Advanced use

plex_debrid is an advanced and complex tool, you should expect to spend some time troubleshooting!

Further, if you want to use it with your ElfHosted Plex instance, plex_debrid requires an rclone WebDAV mount to your Debrid service, and if using Real-Debrid, you'll want Zurg plus the Zurg-specific WebDAV mount!

How do I access Plex-Debrid?

Plex-Debrid will be available from your dashboard (https://<username>.elfhosted.com>), or directly, at https://<username>-plex-debrid.elfhosted.com

How do I use it ?

Edit settings.json

Plex_debrid is unusual in that it requires a CLI-based UI. For this reason, we run it within a xterm.js-based browser session.

Your plex_debrid config is stored in config/plex-debrid/settings.json - While you can edit most options using the CLI UI, the easiest way to get started is to manually edit it and make the required changes, as illustrated below:

Add Plex User Token

You'll need a plex user token to allow Plex_debrid to scrape your watchlist, and to interact with your libraries.

To get a Plex token, visit https://plex.tv, and then after the page loads, change the URL to https://plex.tv/devices.xml. If you get an authentication error, then repeat (make sure you're logged into https://plex.tv), until you get token data in XML. Search the XML for token (there will probably be lots of matches), and paste the value into settings.json as illustrated below:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
    {
        "Content Services": [
            "Plex",
            "Trakt",
            "Overseerr"
        ],
        "Plex users": [
            [
                "your-username",
                "replace-me-with-plex-token"
            ]
        ],

Tip

You can change the username, this is just used for reference within Plex Debrid, in case you have more than one user's watchlist to watch

Add Debrid API key

Next, you'll need to add your Debrid provider's API key. Again in settings.json, add your key to the appropriate provider, as illustrated below:

284
285
286
287
288
    "Real Debrid API Key": "your-key-here",
    "All Debrid API Key": "",
    "Premiumize API Key": "",
    "Debrid Link API Key": "",
    "Put.io API Key": "",

Restart Plex_debrid

The above (Plex token and Debrid API key) are the minimal changes necessary. To apply your changes, restart Plex_debrid by running elfbot restart plex-debrid in the FileBrowser console.

Troubleshooting

RGB codes on console

Due to an as-yet-unsolved bug with the Wetty / xterm.js deployment, newly created sessions will sometimes include lots of control characters outputted to the screen. The simplest way to make these go away for the duration of the session is to just hit ENTER, which will refresh the screen and prevent further issuses.

Plex-Debrid also works with

How do I get support for Plex-Debrid?

  1. For general use of Plex-Debrid, refer to the official site or to one of the links below.
  2. For specific support re your ElfHosted configuration / account, see the ElfHosted support options!

Plex-Debrid resources