Emby

Emby is a personal media server with apps on just about every device. Bringing all of your home videos, music, and photos together into one place has never been easier. Your personal Emby Server automatically converts and streams your media on-the-fly to play on any device.

Installation

Connect to your slot through SSH.

Mono

An installation of Mono is required. Our instructions for installing Mono can be found here.

Emby

  1. Download Emby

     wget https://github.com/MediaBrowser/Emby/releases/download/3.2.33.0/Emby.Mono.zip
    
  2. Extract the archive

     unzip -o ~/Emby.Mono.zip -d ~/Emby/
    
  3. Start Emby briefly to create configuration files.

     mono ~/Emby/MediaBrowser.Server.Mono.exe
    
  4. Wait for it to finish outputting information and then press Ctrl+C to shut it down.

  5. Open the configuration file in nano

     nano ~/Emby/ProgramData-Server/config/system.xml
    
  6. Make the following changes:

    • <PublicPort>8096</PublicPort> to <PublicPort>22419</PublicPort>
    • <PublicHttpsPort>8920</PublicHttpsPort> to <PublicHttpsPort>43977</PublicHttpsPort>
    • <HttpServerPortNumber>8096</HttpServerPortNumber> to <HttpServerPortNumber>22419</HttpServerPortNumber>
    • <HttpsPortNumber>8920</HttpsPortNumber> to <HttpsPortNumber>43977</HttpsPortNumber>
  7. Save changes by pressing Ctrl+x, y and then enter

  8. Clean up your slot (optional)

     rm Emby.Mono.zip
    
  9. Start Emby in a screen session running in the background

     screen -dmS emby mono --debug ~/Emby/MediaBrowser.Server.Mono.exe -c libcurl
    

Usage

Your Emby web interface will be accessible at http://server.whatbox.ca:22419

Emby will run you through a setup wizard for creating a user and setting up your first libraries. You will not be able to navigate to your slot using the built-in filesystem navigator, so you will need to enter the full path to the directory you want to add to your library, for example /home/user/files

It is strongly recommended to setup authentication on your Emby instance. You can do this in Emby's web interface under the Settings > Users > Your user > Password category. You should not use your slot password here because the web interface does not use SSL. Click Save to save the configuration.

It is strongly recommended to disable DLNA to prevent other users on the server from accessing your media. You can do this in Emby's web interface under the Settings > DLNA category. Uncheck all of Enable DLNA Play To, Enable Dlna server, and Blast alive messages. Click Save to save the configuration.

You can attach to your Emby screen session to monitor its output using screen -r emby , and detach from it again by pressing ctrl+a, d and then enter

IMPORTANT

Emby is much more prone to abusing available resources than Plex. You must limit the CPU threads that Emby may use. We will terminate any instances of Emby running that are using so much CPU as to impact other users on the server. These settings can be found in Settings > Transcoding > Transcoding thread count. Guidelines for plans and the threads they may use follows:

  • Quark: 1
  • Heat: 1
  • Flex: 1
  • HDD: 4
  • SSD: 4
    Click Save to save the configuration.