Building a Media Center For Your Mom Part 7 - Emby/Plex Setup
Previous in Series - Part 6 - Radarr Setup and Config
Note: This post is strictly and entirely an educational experiment and I am in no way condoning the use, nor advocacy, of software to acquire copyrighted media content. If you use this information for such a purpose, you have been warned.
When you’re streaming media to other devices, sometimes your network throughput isn’t going to be good enough relative to the size of your files. Trying to stream a 4K (or higher) video from your your homeserver with a 2mb uplink, to your phone while you’re riding the bus may not work very well. This is where the transcoding ability of Emby and Plex come in. Both of these programs will reduce the size of your media on the fly, while you’re watching it. This means you’ll be watching a lower quality stream when your connection is less than ideal, but you can avoid stuttering buffering video.
Setup the Docker Container
Log in to your NAS using your web browser, and click on the Docker icon. Click on the Image tab in the left menu, then click on the emby/embyserver image which we installed back in the server setup section, and then click Launch in the top menu.
- Name the container something easy and identifiable. I like to go with “embyserver”
- Leave high privilege and resource limitations unchecked.
- Click on the Advanced Settings button
- Check Enable auto-restart. This does what it sounds like, ensuring that the Emby Server will restart in case the system needs to reboot (in case of power failure, installing updates, etc).
We need to make changes in three other Advanced Settings tabs. First, the Volume tab. We need to add 2 new Folders to this container.
Advanced Settings -> Volume
Under the Volume tab, click Add Folder. Select the series folder which we created back in the server setup section, and click Select. In the Mount Path box, type
/share1and click Apply
Click Add Folder again, to mount another folder. Select the movies folder, and click Select. In the Mount Path box, type
/share2and click Apply
Basically what we’re doing here is linking a folder on your hard drive to a folder inside the Docker container, so that the application running inside the container can use it.
Advanced Settings -> Port Settings
Under Port Settings, you want to associate specific internal and external ports.
- In the 8096 row, change the word
- In the 8920 row, change the word
Advanced Settings -> Environments
Find the entries for UID and GID at the bottom of the list.
- Change the value for
- Change the value for
Click Apply at the bottom, and then Next. Review the changes, and if everything looks correct, click Apply.
Click the Container tab in the left menu, and after a few moments you should see your new embyserver container up and running. Select it, and click the Details button in the top menu. If you did everything right, it should look like this:
If something isn’t working, or you need to make a correction, you can stop the container (either in the current window, or by clicking Action -> Stop from the Container tab), and then click the Edit button in the Container tab.
Once your container is running head to http://yourServer:8096 If you only just launched the container, you may need to wait 5 minutes or so for it to completely initialize everything before it will respond.
I’ve seen on some installations the default path doesn’t work. If so, try going to http://yourServer:8096/web/index.html?start=wizard#!/wizardstart.html
Continue through the prompts, choosing your language, entering your name, etc. Skip linking an Emby account.
Set up your media library:
- Click the
+next to Folders
- Scroll down and click on
- Content Type: Choose TV Shows
- Choose your preferred metadata language and Country
Save artwork into media folders
- Choose your default subtitle language
Repeat the same steps again, choosing
On the following screens, uncheck
enable automatic port mapping as we will be setting this up manually later on.
Accept the TOS, and click
Plex and Emby have a fairly similar set up process. More info forthcoming!