Ultimate guide to Emby, RealDebrid, and Riven
The following page guides the user through the process of establishing an ElfHosted stack using Emby, with media stored on RealDebrid, and with content acquisition managed by Riven.
An enhanced, "ScribeHow" version of this page can be found here.
The stack described below is available in all of our regular stack bundles, and free trials are available on the Starter and Hobbit bundles.
Get your 7 day free trial!
Requirements
How does it work?
Here's a diagram (it's not as complicated as it looks!), followed by some explanations:
flowchart TD
%% User requests content
User --> |"[1] Add to lists"|Lists
User --> |"[2] Add requests"|SEERR[Jellyseerr]
User --> |"[2] Manual request"|DOWNLOADER[Riven]
STREAMER[Emby] --> |"[6] Stream actual file"|User
Lists --> |"[2] Import from lists"|DOWNLOADER
Lists --> |"[1] Import from lists"|SEERR
SEERR <--> |"[2] Add to Riven"|DOWNLOADER
STREAMER --> |"[6] Read file (symlink)"|SymlinkMount["/storage/symlinks/../whatever"]
%% Prowlarr / Zilean
DOWNLOADER --> |"[3] Search indexers"|Zilean
DOWNLOADER <--> |"[4] Add torrent"|RealDebrid
DOWNLOADER --> |"[5] Confirm file exists"|ZurgMount["/storage/realdebrid-zurg/\_\_all\_\_/whatever"]
DOWNLOADER --> |"[5] Create symlink"|SymlinkMount["/storage/symlinks/../whatever"]
DOWNLOADER --> |"[5] Update Library"|STREAMER
STREAMER --> |"[6] Resolve symlink (actual file)"|ZurgMount["/storage/realdebrid-zurg/\_\_all\_\_/whatever"]
%% Zurg
RealDebrid --> Zurg
Zurg --> ZurgMount
- The user adds items to lists (Plex watchlist, TMDB list, etc), which is then added to Overseerr, or directly to Overseerr
- Or, the user adds items directly to their Riven or Jellyseerr (which adds them to the Riven)
- Riven receives the new requests, and searches indexers (like Zilean) for appropriate files (matching size, quality, language parameters)
- When an appropriate media is found, Riven adds the content to RealDebrid.
- Riven watches Zurg's
__all__
folder to confirm the media is successfully added to RealDebrid, and creates a symlink in the appropriate movies
or shows
folder, pointing to the original media in the __all__
folder. Riven triggers a Library update in Emby. - When the user streams the media, Emby looks in the symlink folder, retrieves the file (transparently, this is fulfilled by the symlink to the "real" files), and streams it to the user
Setup
Add RealDebrid account
Setup Zurg
Here's how you connect your RealDebrid account to your ElfHosted apps. All you need is your RealDebrid API token!
1. The first time you launch your ElfHosted dashboard before configuring Zurg, you'll be alerted that your setup is incomplete. Click the link provided to open up your Zurg config file

2. Paste your RealDebrid API token into line #5, ensuring that the space remains between token:
and your token

3. Save your changes and close the editor

4. Open the shell

5. Type "elfbot restart zurg [[enter]]"

Tip: Zurg will now restart. This can take a few minutes.
6. Click "home"

7. Open the realdebrid-zurg
folder, and confirm you can see the contents of your account

Tip: You're done! Now all your ElfHosted apps can "see" the contents of your RealDebrid library!
Setup Emby for Riven
This guide illustrates how to connect Riven to Emby. At present, this is not as polished a process as the Riven/Plex setup, and requires manual generation of an API key in Emby, and configuration directly into the Riven settings.json (i.e., it's not configurable via the Riven frontend)
1. From your ElfHosted dashboard, launch Emby

2. Select your preferred display language and click "Next"

3. Create your first user

4. Click "New Library"

5. Select the "Movies" option.

6. Click "Add"

7. Choose "/storage/symlinks"

8. Click "movies"

9. Click "OK"

10. Ensure video preview thumbnails are set to [[Never]]

11. Click "OK"

12. Repeat to add TV shows - Click "New Library"

13. Select the "TV shows" option.

14. Click "Add"

15. Click "/storage/symlinks"

16. Click here.

17. Click "OK"

18. Ensure that both Video Preview Thumbnails and Markers are set to [[Never]] (incompatible with remote mounted media)

19. Click "OK"

20. Click "Next"

21. Click "Next"

22. Accept the terms and click "Next"

23. Click "Finish"

24. Perform a manual login

25. Sign in with chosen credentials

26. Click on the account icon

27. Click "Manage Emby Server"

28. Click the menu icon

29. Scroll down and click "Api Keys"

30. Click "New Api Key"

31. Name your app "Riven", and click Submit

32. Click the menu icon

33. Click "Copy to Clipboard"

34. Back on your ElfHosted dashboard, click "FileBrowser"

35. Double-click "config"

36. Double-click "riven"

37. Double-click "settings.json"

38. Edit the updaters section, disabling Plex (the default), and enabling emby. Paste in the API key, and set the emby URL to http://emby:8096

39. Click "save", and then close

Tip: Sometimes FileBrowser's saves don't apply. As a best-practice, re-open settings.json
and confirm that your changes have been effected!
40. From the ElfHosted apps dashboard, launch [[Riven (backend)]]

Tip: Changes made to the backend directly via settings.json
are not automatically applied, you need to restart Riven's backend with [[CTRL-C]] and [[ENTER]] to restart
41. Hit [[CTRL-C]] to stop Riven's backend

42. When prompted, hit return to reconnect

43. Wait for the database reset prompt to expire

44. Confirm that Riven has initialized the [[Emby Updater]]

Tip: That's it! Riven will now use the API key to advise Emby to rescan the symlink folders whenever new content is available!
Connect Riven to Jellyseerr
Riven can use Jellyseerr (interchangeable with Overseerr) as a content source. This guide illustrates how to retrieve your API key from Jellyseerr, and add it to Riven, so that Riven is able to scrape the current requests from Jellyseerr
1. Start at your ElfHosted apps dashboard
2. Launch Jellyseerr (not Overseerr as pictured)

3. Sign in
5. Click "Settings"

6. Copy your API key

7. Launch Riven

8. Click "Settings"

9. Click "Content"

10. Enable Overseerr (interchangeable with Jellyseer)

11. Paste in the Jellyseerr API key

12. Click [[Save changes]]

13. Wait for Riven to confirm the settings are saved

What users say..
Here's what some of our usersfriends say..
I am new here, but today I learned realized that Elfhosted is one of the best free and open source software communities I've seen, and FOSS communities have been at the center of my life since the 90s (Perl, PHP, Symfony, Drupal, Ethereum, etc.). Great open software built by great people who care = great community, and that is something special.
You've done an amazing job @Funky Penguelf with the platform you provide and this place has an awesome mix of active community caretakers and software creators that I've seen here so far like BSM, Spoked, LayeZee and other elf vengers. Keep up the energy, productivity and community and take time to enjoy it and appreciate each other!




@skwah (Discord)
I self host and share a fully automated ‘arr stack with Plex. Been doing so for around 4 years. Also recently got into real debrid and hosting a Comet and Annatar for Stremio. The amount of time and head banging I’ve put into it is in the hundreds to thousands of hours. From setting it up to keeping it running smoothly. Let’s not forget the cost of my server and how much it cost to keep it running.
Anyway I wanted to see what ElfHosted was about to compare. Yeah I had the whole thing setup in just a few hours. It also passes the headache of maintaining it to ElfHosted. Will I keep it no because nerdy things and maintaining my server are my hobby and quirky passion project. Will I recommend it to my friends who don’t have the money up front to buy a server, the knowledge to maintain it or desire.
Just my server alone was $2k. Power cost to keep it on yearly is $250ish, annual memberships to RD, Usenet and indexers are around $100. Then whatever a value my free time at. Which is currently at minimum my hourly pay at work or more. Yeah so take the monthly cost of all that and compare to ElfHosted Ultimate Stream package at $39 monthly, add RD to the cost and get nearly all your time back is incredibly cheap.
Lastly it seems like a lot of people forget how quickly an ultimate cable package used to cost. Or how quick paying for every stream service would add up to. Which when using ElfHosted with RD is essentially and more what you get. Quick hint it’s far above the asking price.




/u/MMag05. (Reddit)
As a happy Elfhosted customer—who also self hosts MANY things across about 10 severs (dedicated, VPSes, and VMs running on Synology), I wouldn’t switch to self hosting the services I get from Elfhosted. They just work with very little effort configuring things, and the support the owner and his team provides is second to none. Plus I love being part of a fledgling—but quickly growing—enterprise.




/u/jatguy. (Reddit)
I recently found ElfHosted and decided to start out with the Infinite Starter Kit. Within a week I realized that this was for me and upgraded to the Hobbit plan. Give it another week and I was up to the Ranger plan.
I just love the simplicity and the fact that things just work. For years I've ran a home server and between the constant maintenance and always upgrading harddrives, it became apparent I wanted to make it easier on my self. Enter ElfHosted.
Setup was super easy with the guided documentation and the discord community. It seems that somebody is available at all hours of the day to help with questions. I started with the Aars, which I knew from my prior hosting... but saw a newer product called Riven. I decided to jump in feet first. I enjoy being on the front end of an up and coming replacement for the Aars and will soon be upgrading to the annual plan!




@.theycallmebob. (Discord)
I’ve been using this service for a while now, and honestly, it’s a game-changer compared to anything else I’ve tried for managing my media library. The support is fantastic—super quick, and if the staff aren’t around (which rarely happens), the community steps up right away. I can’t imagine going back to any other platform.
Before this, I had my own setup with a NUC, NAS, and tools like Sonarr and Radarr. It worked pretty well for a while, and my internet speed was high enough to stream without any buffering. But in the end, it wasn’t worth the time or headache of managing all the storage and keeping everything running smoothly.
Now, with this service, everything runs smoothly in 1080p+ with no buffering issues. The interface is really easy to use, which makes managing everything a breeze. Plus, having a whole community of smart people available for guidance is a huge bonus.
I was sold from the start, which is why I quickly upgraded from a 1-month to a 3-month subscription, and I’m planning to switch to a 1-year plan soon. This service totally pays for itself, and I’m sure you won’t be disappointed. It’s been really impressive.




@seapound (Discord)
Best possible options for anyone looking for the do-it-all option along with the best customer service ive experienced in this space so far. Id rate it a 6 if I could but its limited to 5/5...




@hashmelters (Discord)
(responding to a Reddit thread re the cost of ElfHosted vs mainstream streaming / self-hosting):
I didn't know that the goal of this project was to compete with large companies running/renting entire DCs. I was under the impression that the goal of this project was to manage the updating of almost selfhosted applications on a shared platform with other users. Basically, be my sysadmin for me.
That being said, paying for services is the 'easy button'. There is a real world cost incurred for the time saved. Time is money. Time is the most valuable currency that exists. Once time is spent, it's forever lost, one cannot retrieve it again (yet). In my mind, there are 3 options for use of time with respect to: mainstream, selfhosting, elfhosted.
-
mainstream - my time is valuable and I don't want curated content and I don't care what content that I have the ability to consume. I only like what's popular.
-
elfhosted - my time is valuable, I want my own curated content without being forced to browse past the same damn entry 500 times just to find out that I can't watch the movie I want because it's not available in my current location or was removed last week from mainstream providers.
-
selfhost - I care about costs and I have nothing but time to waste or I want to learn about the backend of the systems involved. I'll pay for my own VPS/homelab, electricity, manage the OS, manage app updates, figure out how to make the apps talk nice to each other, create my own beautiful frontend.
I know how much my time is worth, does that reddit poster know how much their time is worth? Without knowing what you are worth, you can't make effective capital expenditures with respect to the time it will take to recoup the capital.
I know I don't need elfhosted at all for my use case. I choose to stay with elfhosted because it's my 'easy button'. It's an efficient capital expense for the amount of time it saves me managing my own hardware, apps and saves me electricity costs. I'm also in a situation where I don't have upload bandwidth from my home to serve HD content to myself remotely. If I lived back in a city, I would still be here. My time is worth $$/hr.




@cobra2 (Discord)
"Just wanted to check in here and let @Darth-Penguini and anyone/everyone else know...WOW. I have been struggling with storage for years, maintenance of Docker containers, upkeep, all of it. Elfhosted is so freeing. It's an amazing service that I hope to be a member of for a long, long time!"




@Fingers91 (Discord)
"I just have to say, I am an incredibly satisfied customer. I had been collecting my own content for nearly 20 years. Starting off with just a simple external HD before eventually graduating to a seedbox with 100TB of cloud storage attached and fully automated processes with Sonarr and Radarr . However, the time came when the glory days of unlimited Google Drive storage ended. I thought my days of having my full collection at my fingertips via :plex: were behind me, until I found Real-Debrid and ElfHosted.
Now I essentially have the exact same access to content as I had before, but even better. Superior support and community involvement. Content is available almost immediately after being identified. A plethora of tools at my fingertips that give me more control and automation than ever before. Wonderfully well done and impressive! I am looking forward to being a customer for a very long time! Massive kudos to @funkypenguin 🤟




@BSM (Discord)
"I would recommend ElfHosted to anyone. It has been great so far and made life a lot easier than running my own setups. If you’re in the fence give them a try and help support this great community."




Zestyclose_Teacher20 (Reddit)
"thanks for the help and must say this is the best host I every had for my server 🙂 10/10 🙂 All other places I have try have I got a lot buff etc. Your host can even give me full power on a 4K Remux on 200GB big movie file . That's damn awesome 😄"




@tjelite (Discord)
"What an amazing support system these guys have Chris and Layzee i think it was! Both are very patient with me even though I am a newbie at all this. Very thorough and explained everything step by step with me
I couldn’t ask for anything better than the service I have received by these guys! Happy happy client❤️"




@dead.potahto (Discord)
"Very happy customer. Great service"




@ronney67 (Discord)
"Very good customer service, frequent updates, and excelent uptime!!!!!"




@ed.guim (Discord)
"I had my own plex-arrs setup on hetzner for years. Yesterday I deleted everything as elfhosted has gone above and beyond it. And it has a fantastic, active community as well! Very friendly, helpful and like-minded folks always willing to help and improve the system. Top notch!"




@alon.hearter (Discord)
"Absolutely Amazed with the patience and professionalism of all Elf-Venger Staff including bossman penguin❤️"




@dead.potahto (Discord)
"@BSM went above and beyond to make sure I had all the one on one support needed with my sub. Thank you for your patience! Elfhosted continues to be Elftastic !!"




@bfmc1 (Discord)
"really enjoying the service from elfhosted. The setup is really easy from the guides on the website. And the help on the discord channel is really quick."




@jrhd13 (Discord)
"Support is amazing, and once you find a setup which works best for you it works perfectly, very happy 😊"




@fiendclub (Discord)
"great fast service, resolved my problem and really friendly"




@allan.st.minimum (Discord)
"Great service and sorted out a billing issue super quick and easy."




@scottcall707 (Discord)
"Very friendly support, resolved a problem with my account! I also appreciate the community that has been built around the service!"




@leo1305 (Discord)
"excellent customer service and very fast replies"




@yo.hohoho (Discord)
"Loved the simplicity, experience and support"




@y.adhish (Discord)
"Very friendly help as always, problem solved, one happy elf here!"




@badfurday0 (Discord)
"Great Helpful and Fast support. Thanks!"




@.mxrcy (Discord)