Raspberry Pi

How to Install Emby Media Server on Raspberry Pi

Media servers are useful for streaming your personal media collection to any device in your home. With Raspberry Pi, creating a media server has become a lot easier and within no time, you can develop a low cost and energy-efficient media server on your device. Among the various media servers, you will hardly find any better option than the Emby Media Server, a powerful and versatile media server. You can install this media server on several platforms including your personal Raspberry Pi too.

In this guide, you will learn:

What is Emby Media Server

Emby Media Server is a lightweight yet powerful media server designed for low powered devices like Raspberry Pi. It allows you to stream your personal media collection to any device anywhere around the world. You will find support for a wide variety of media formats, such as music, movies, TV shows and photos. Besides that, it also offers streaming capabilities, allowing you to watch the media on any device without worrying about the supported file system. The web interface of Emby Media Server is quite simple and user-friendly that allows you to easily browse and manage your media collection.

Why Emby Media Server is Good Choice for Raspberry Pi

Emby Media Server is a good choice for Raspberry Pi due to several reasons:

  • Consumes less Raspberry Pi resources because it is lightweight.
  • Easy to install on the system.
  • Includes powerful features, such as transcoding, streaming and support for multiple users and devices.

How to Install Emby Media Server on Raspberry Pi

To install Emby Media Server on Raspberry Pi, follow these steps:

Step 1: Download Emby Media Server Deb File on Raspberry Pi

First, you have to download the Emby Media Server deb file for the Raspberry Pi ARM based system according to the OS you are using. Like if you are using 32 Bit Raspberry Pi OS, you have to download the Emby Media Server armv7l deb file. For 64 Bit, you have to go with downloading the arm64 deb file, which you can download from the following command:

wget https://github.com/MediaBrowser/Emby.Releases/releases/download/4.8.0.55/emby-server-deb_4.8.0.55_arm64.deb

Note: You will find an updated release from here according to the system you’re using.

Step 2: Install Emby Media Server on Raspberry Pi

After downloading the deb file on Raspberry Pi, you can use the apt install command to install Emby Media Server from the deb file:

sudo apt install ./emby-server-deb_4.8.0.55_arm64.deb

Step 3: Allow Read and Write Permission to Emby Media Directory

You have to create and choose a directory from your Raspberry Pi system, which is going to be used as source directory for Emby Media Server. You have to give read and write permissions to all directories of this folder, which can be done from the following command:

sudo find /home/pi/media -type d -exec chmod 755 {} \;

Note: Here I am selected /home/pi/media as a source directory.

Step 4: Access the Emby Media Server Web Page

Now head toward the browser and enter the Raspberry Pi IP address (find through the hostname -I command) or simply use the local address in Raspberry Pi browser with port 8096:

Step 5: Configure Emby Media Server

You have to complete a few configuration steps before setting up an Emby Media Server account, which are as follows.

Select a desired language:

Create your first user and choose the password:

Select the Media Libraries by choosing the New Library option:

There you have to choose the Content type, such as Movies, Music, Live TV or more. You should also select the Display name for the Content type:

Choose the directory by selecting the + icon in front of the Folder option:

Select the directory path which you have selected in the earlier steps:

Then choose the Language and Country settings:

After setting up Media Libraries, select Next to move forward:

Select the Prefered Metadata Language and choose Next:

Go with the Next option on the Configure Remote Access window:

Accept the Emby Terms of Service and then go with the Next option to complete the process:

Finalize the configuration using the Finish button:

Step 6: Sign in to Emby Media Server

On the Sign in window, select your username:

Enter the password and choose Sign In:

This will open the Emby Media Server on your browser. There you will see your videos already uploaded:

You can double click on the video and choose the Play button to play your video on the browser:

Bonus Method: How to Install Emby Theater on Raspberry Pi

Besides installing the Emby Media Server on Raspberry Pi, you can also install the desktop application called Emby Theater on your system. Emby Theater works similar to Emby Media Server, but it runs as an application, allowing you to use it on your system any time.

You can follow the step given below to install Emby Theater on Raspberry Pi:

Step 1: Download Emby Theater Deb File

First, you have to download the Emby Theater deb file from the official source using the type of system you are using (armv7l or arm64). If you are using Raspberry Pi 64 Bit OS, you can use the following command to download the Emby Theater deb file on the system:

wget https://github.com/MediaBrowser/emby-theater-electron/releases/download/3.0.19/emby-theater-deb_3.0.19_arm64.deb

Step 2: Install Emby Theater on Raspberry Pi from Deb File

After downloading the Emby Theater deb file, you can install it using the following apt install command:

sudo apt install ./emby-theater-deb_3.0.19_arm64.deb

Step 3: Run Emby Theater on Raspberry Pi

You can run Emby Theater on Raspberry Pi from the terminal using the command “emby-theater” or run it from Sound & Video option from the main menu:

Note: If you want to dedicate your Raspberry Pi only for media source, you can also download and flash the Emby Theater image designed for Raspberry Pi device from here.

Conclusion

Emby Media Server is a powerful and versatile media server that can be installed on Raspberry Pi from the deb package using the apt install command. After you finish the installation, you have to select a directory that you want to use as a source directory. Then allow read and write permission to the directory and access the Emby Media Server on the browser using the Raspberry Pi IP address. Finally, perform the required configuration steps in the above-section of this guide to complete the installation process.

About the author

Awais Khan

I'm an Engineer and an academic researcher by profession. My interest for Raspberry Pi, embedded systems and blogging has brought me here to share my knowledge with others.