Pinterest Stumbleupon Whatsapp

The Raspberry Pi is a surprisingly capable little computer. In the past, we’ve show you how to make a Raspberry Pi home theatre with Rasbmc How To Make Your Raspberry Pi Into a Home Theater System How To Make Your Raspberry Pi Into a Home Theater System Four weeks on and I’ve been playing with my Raspberry Pi in various ways, from using it to browse the web and standard day-to-day computing tasks to playing around with the various configurations that are... Read More . Since we published that guide, an easier to use and better performing operating system has been released. Today I’m going to show you how with RasPlex; it’s the easiest way to get started using your Raspberry Pi as a capable media centre.

The Client-Server Design

RasPlex brings the popular Plex media centre software to the Raspberry Pi. Plex started out as a fork of XBMC — the media centre software used in Rasbmc — but has developed dramatically since then. While XBMC is a single application, Plex is two: the client and the server.

With RasPlex, the Pi will only be running the client app; you will need to install the server on another computer. By dividing XBMC’s functionality into two separate applications, the Plex client app can be really lightweight. All the processor intensive work is done by the server app on a more powerful computer – which sends an optimized version your living room (or mobile device – you aren’t limited to a single client).

This solves a couple of the problems with a Rasbmc setup The Raspberry Pi Home Theater: What You Can And Cannot Do The Raspberry Pi Home Theater: What You Can And Cannot Do If you’ve been following our recent articles about the Raspberry Pi, you’ll know that it can be set up as a media streaming client with a dedicated XBMC build and you should also be aware... Read More . You don’t need to worry about using USB sticks to add movies to your media centre. They stream directly from your computer.

What You’ll Need:

  • Raspberry Pi Model B or B+
  • MicroSD Card (2GB or larger)
  • HDMI cable
  • MicroUSB cable
  • Keyboard (for setup)
  • Remote control (optional)
  • USB WiFi adaptor (optional)
  • Another computer to store media and act as the server

I got everything I needed — bar the remote control and another computer  — in this kit from Amazon.

Preparing Your Media

Plex automatically scans your media files and uses an online database to match each one to a specific movie or TV episode. If your files are badly organised Plex either won’t find matches, or even worse, find mismatches. To make it easy, you need to sort your media files into a structure Plex can understand.


At the most basic, you need two folders: one for movies and one for TV shows. In the movies folder, each movie can have it’s own subfolder though it doesn’t have to. In the TV shows folder, each series needs its own subfolder.


There are a couple of standard naming conventions that Plex can handle. Anything that is space, period, underscore or hyphen separated will work. For example, The Movie, The_Movie, The.Movie and The-Movie are all understood by Plex as meaning the same thing.

TV shows also need the episode information. It’s normally written as something like The.Show.1×01 or The_Show_S01E01. To Plex, both files would be the first episode of the first season of The Show.

Any additional information in the filename or folder doesn’t normally matter as long the titles and episode numbers are clear – this is one of the great strengths of Plex, that you needn’t go about renaming everything to some obscure and rigid format.

Setting Up Plex Server

Plex has improved a lot since we featured it in the past. It’s easier to install and available on more platforms than ever before. You can even install the server app on a NAS device (if you go this route, make sure it’s an x86-based NAS, as the cheaper ARM platform devices are unable to transcode media).

On the computer you’re going to use as a server, visit the Plex downloads page and under Plex Media Server select Computer. The website should automatically detect your operating system but if it doesn’t, click on on the correct tab and click Download.


The server runs in the system tray on Windows and in the menubar on OS X. It uses a local web app for the front-end. To access the web app, either open your browser and go to http://localhost:32400/web or click on the system tray (or menu bar) icon and choose Media Manager.


To add media to the server, click on the + icon. Select the media type, name the collection and point it to the correct folder. Once you click Add Library Plex will scan the folder, download all the metadata and share it through the server.

Installing RasPlex

With the server set up, it’s time to configure the RasPlex client. Connect your MicroSD card to your computer, and download the correct RasPlex installer for your operating system.


On Windows, right click on the downloaded file and click Run As Administrator. On Mac, run the installer and when you are prompted, enter your password into the Terminal and press Return.

In the RasPlex installer, select the most recent version of RasPlex available, your MicroSD card and then click Download. When the download has finished, click Write SD Card. This will install RasPlex on the SD Card.


Overclocking The Pi

Overclocking is a way to get more power out of a computer by making the CPU cycle faster. It’s something gamers have been doing for years Overclocking For Gamers: Everything You Need To Know Overclocking For Gamers: Everything You Need To Know Here’s every a gamer needs to know about overclocking – and how to do it. Read More and it’s even possible on a Raspberry Pi Not Enough Juice? Squeeze Your Raspberry Pi By Overclocking Not Enough Juice? Squeeze Your Raspberry Pi By Overclocking If there’s any hardware released in 2012 that you’re likely to fall in love with, it’s the sweet-as-sugar Raspberry Pi, a mini computer designed and built in the UK that has shipped all around the... Read More .

RasPlex is designed to be run on an overclocked Raspberry Pi, so it’s really easy to configure this option. With the MicroSD card still connected to your computer, navigate to it using Windows Explorer or Finder.

Open the file config.txt in a text editor. Under Overclock mode settings you’ll see the recommended overclock configurations. Beneath them is where you change the settings. I set mine to High.


Change the arm_freq, core_freq, sdram_freq and over_voltage to match the recommend values you want.

Eject the MicroSD card and insert it in the Raspberry Pi.

Setting Up RasPlex

All the hard work is now done. Connect the Raspberry Pi to a TV using the HDMI cable. Also connect the USB wireless dongle — or if you don’t have one, an Ethernet cable — as well as the USB keyboard and, if you have one, the USB receiver for the remote.


Connect the Raspberry Pi to the power to boot it up. RasPlex will take you through a setup process. Use the keyboard to navigate, select your WiFi network and enter your password when prompted. You should set pre-cache to yes.


Once you’re through the setup, RasPlex will automatically connect to the Plex Server and begin caching all the media information. It will run slow while it does this, but once it’s done everything will speed up.

Controlling Your RasPlex Media Centre

Using a keyboard to control a media centre is impractical. The best options are to either set up a remote control or use just your smartphone.

James has suggested super-powering your media centre with a remote Super-Power Your Media Centre With These 9 Hacks Super-Power Your Media Centre With These 9 Hacks The media center is the ultimate living room experience; one PC to play everything, one PC to find and download, and one PC to bring in all the family and bind them in front of... Read More before. RasPlex comes with built in support for LIRC so there are thousands of remotes that will work out of the box with a suitable USB receiver. I have something similar to this Windows Media Centre remote which works very well. However, I rarely use it – instead I use the Plex app on my iPhone or iPad.

The Plex app is available for iOS, Android and even Windows Phone. It is both a Plex client (so you can stream movies to your mobile if you wish) and a remote control for other Plex clients. Tap the Choose Player button — it’s the rectangle with the WiFi symbol in one corner — and select the player you want to control; in my case it’s plexhometheatre on rasplex. If I had Plex running on any other device it’d also appear on this list.


Once you’re connected, if you select a movie or TV show in the Plex app on your mobile, it will play on your Raspberry Pi. You’re also able to pause, fast forward, rewind or change what you’re watching from the app.

Next Steps

Everything should now be set up and running smoothly. You’ve got a working Raspberry Pi media centre. The first thing you should do is rip all your DVDs Rip Your DVDs & Blu-Rays With Absolute Ease With MakeMKV [Cross-Platform] Rip Your DVDs & Blu-Rays With Absolute Ease With MakeMKV [Cross-Platform] If you ripped all your DVDs and Blu-Rays, you could create an amazing media center. Of course the main obstacle to ripping is the disk's copy protection. Enter our hero: MakeMKV. Read More and add them to your Plex Server’s library.

Next you should think about adding a case that will look good under your TV and even add some extra functionality. I have my eye on one like this.

Finally, sign up for a Plex Pass. For five dollars a month you get a heap of great extra features such as the ability to save media to your smartphone for watching on the go, extra movie information like trailers and interviews, and support for multiple users. Read about all the premium features of a Plex Pass Making The Best Media Center Better, With a Plex Pass [Giveaway] Making The Best Media Center Better, With a Plex Pass [Giveaway] Love Plex? You'll love a Plex Pass even more. With new and exclusive features only for Plex Pass holders, it's the best way to support development of the best media centre app around. Read More .

Are you using a Raspberry Pi as a media centre? How do you find it? Let me know in the comments.

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. RE
    February 28, 2016 at 3:48 pm

    Rasplex is freakin cool
    Thanks guys

  2. timinski
    January 11, 2016 at 6:16 pm

    Hello Harry, Thanks very much for this write-up.

    Question: I have set up my first PlexMS (on Ubuntu Server) and wish to feed sync'd sound output to multiple LAN devices. Basically I'd like to use some Pi's to avoid running audio cable through my locale (old building).

    Example: Stream playback from my PlexMS to both kitchen and adjacent living room Pi's that have speakers attached.

    Can such be done?

  3. iSh0w
    November 21, 2015 at 3:48 am


    Thank you for making this tutoral, makes me want to get a pi asap. Infact with black friday coming up probably will.

    One quick confirmation. I can use Plex for Android or Plex for iOS to stream to the Pi just like I would with the chromecast? Ofcourse without the Pi having to connect to the internet to download the plex app like the chromecast does.

    Would it work even if the internet was down and all devices i.e. my PMS and clients (Android & iOS) were connected to the same wifi router, just without internet.

    Example is PMS streams without a hitch to my droid phone without the need to connect to the internet.

    Appreciate you taking the time to reply.


  4. vj
    February 10, 2015 at 8:09 pm

    Wairing for pi-2

  5. Shahmeer
    January 25, 2015 at 4:28 am

    Great summary. There is one thing you should be aware of though: In the overclock section, you need to remove the # symbol in front of each frequency value you adjust otherwise it won't actually use that value. This is because the # at the beginning of a line indicates that it is a comment so when booting, lines with a # at the beginning are ignored.

  6. Andre
    January 9, 2015 at 8:34 am

    Does RasPlex support DTS audio? Is there an extension for having an optical output for my hifi system? Is it supported by RasPlex? My TV doesn't support DTS passthrough via HDMI through its own optical output.
    So I need to connect RasPlex to my Hifi-System directly.

  7. Erhan
    January 5, 2015 at 7:38 am

    Thanks for a great guide! Everything worked without any issues :)

    • iSh0w
      November 21, 2015 at 7:44 am

      One quick confirmation. I can use Plex for Android or Plex for iOS to stream to the Pi just like I would with the chromecast? Ofcourse without the Pi having to connect to the internet to download the plex app like the chromecast does.

      Would it work even if the internet was down and all devices i.e. my PMS and clients (Android & iOS) were connected to the same wifi router, just without internet.

      Example is PMS streams without a hitch to my droid phone without the need to connect to the internet.

      Appreciate you taking the time to reply.


  8. Joe Gulizia
    November 26, 2014 at 2:37 pm

    Linux OS instructions?

    • Harry
      November 29, 2014 at 7:56 pm

      Hey Joe, Linux instructions aren't included for a couple of reasons:
      1. Different distros need different install instructions.
      2. I don't use Linux very often.
      3. Most people don't use Linux.
      4. Most Linux users are tech savvy and well able to install an app or flash a memory card.
      Hope that explains why they're not there!

  9. Jeff Fisher
    November 25, 2014 at 3:01 pm

    Harry. Thank you for that. Head in the clouds!

  10. Jeff Fisher
    November 25, 2014 at 9:36 am

    A gem of a competition that I really need to win.

  11. Andrew
    November 25, 2014 at 2:40 am

    But... Why the middle man? Why do I need a Pi to do something I can achieve simply by installing XBMC on my computer (the one the Pi is using for its processing power) and going HDMI right into my TV? I had a lot of hope for the Pi as a media streamer. Set mine up about a year ago. Too many unsupported file types (unless you want to get into buying codec packs) and audio sync issues (even after installing codec packs). I didn't give up right away. It took about 3 months of patootzing with it to get to where I finally just gave up and got an Android TV box. Now I just use the Pi for electronic projects with my son. Thanks for the article though. Well put together.

    • Harry
      November 25, 2014 at 2:51 pm

      Hey Andrew, not everyone has a laptop with HDMI out, or for that matter a laptop. My main computer is a desktop! There's also the fact it's idiotproof. I have the Pi set up and anyone can use it simply. Asking luddites to deal with cables and computers in general is never good.

      I think Plex supports most codecs out of the box so you don't have to buy them like you do with XBMC.

      I'm glad you like the article. I've a sweet Pi electronics project that should be up on the site early next month. I've built one into an old guitar amp so it can stream music from Spotify or over Airplay.

  12. Rajib Ghosh
    November 22, 2014 at 4:47 am

    I have OpenElec installed on my RPi-B+.

    On a Youtube video, I saw a comparison of performance between RaspBMC and OpenElec on RPi and decided to hitch my wagon to OE.

    Unlike the Plex-Server + Plex-Client + $$$ for trailers solution, OE / RaspBMC can access File Shares over many protocols and decode the file in H/W. The VideoCore processor in RPi is capable of playing 1080p/30fps/4Mbps BDRip videos without battling an eyelid. The interface does become a little sluggish during video playback but the playback itself is stutter free.

    One thing OE/RaspBMC cannot do, is transcode unsupported file-formats. Perhaps using Serviio to transcode and make the content available to OE/RaspBMC over DLNA will work.

    • Harry
      November 25, 2014 at 2:48 pm

      Hey Rajib, I haven't tried OpenElec but I did use RaspBMC. The interface is just too laggy. OE, from what I've seen, is a little better.

      Your idea with Serviio definitely sounds promising. If you try it and it's successful let me know!

  13. Kristopher De Caigny
    November 21, 2014 at 4:18 pm

    I don't use a Raspberry Pi, but a Older Mac Mini - I like the fact I goto Netflix or YouTube while still having the PLEX usability... I used to be a XBMC fan for many years but then one day I switched to PLEX and have never looked back...

    If I had a 3rd TV in my house that required PLEX this would be the route I would follow.

    • Harry
      November 21, 2014 at 4:37 pm

      Hey Kristopher, yeah I went the same route! XBMC because it was so customisable but then I moved to Plex because it just works. I've now started playing with XBMCbuntu so I'll see how long that lasts!

    • likefunbutnot
      November 21, 2014 at 10:09 pm

      I use PlexBMC for Plex content access on platforms that can run it. One of the nice things about XBMC is that its UI is consistent (well, as long as you're using the same theme) regardless of host platform. Also, XBMC for ARM devices can use multichannel audio options that aren't available the ARM-native Plex clients, so ironically I wind up using XBMC as an external player even when I DO decide to use a Plex client to do something.

      In my opinion, using an Rpi for Plex is just looking for an excuse to do something with an Rpi. I've tried it and it's not terrible, but it's also not the best excuse to set up an Rpi; it's not like it's hard to find a $50-or-less device that can serve as a Plex client.

    • Harry
      November 23, 2014 at 9:32 am

      Hey likefunbutnot (lfbn maybe?),

      If the platform can run XBMC comfortably, it's a far harder choice. The issue is when the platform can't run it. The Pi ports of XBMC are very slow. PlexBMC is great though!

      You're totally right, there are other options around the same price range but none have as nice a Plex UI (the Roku one is horrendous) or the option to choose a remote. There's also the DIY nature of the setup. If someone is interested in playing around with an RPi it's a pretty great intro project.

    • herojig
      February 3, 2015 at 2:37 am

      hi there, same here, but I don't understand the above instructions... why do I need another computer? Can't one just plug a hard drive with all media into the PI? If not, then all this does is replace an Apple TV, which for 99$ is not a bad deal (comes with dedicated remote). I am looking for a low-power alternative using something like Plex/Plex server so I can REPLACE the mac mini, which eats a lot of power considering my house runs on solar batteries 12 hours a day.