Average Ticker

Raspberry Pi XBMC Set Up Guide

Raspberry Pi XBMC Set Up GuideRaspBMC is an excellent XBMC media centre for the Raspberry Pi

If you’ve only just bought a Raspberry Pi, you’ve no doubt seen many XBMC media centre projects and conversations all over the web. I’d take a guess that it’s the most popular project to make with a Raspberry Pi.

Due to this massive popularity, there are a lot of different media centre solutions for the Pi lurking around, from RaspBMC (soon to be OSMC), OpenLEC, Xbian and even RasPlex.

I’ve tried most of these, but I always seem to return to RaspBMC. It works extremely well ‘out of the box’, with a solid stable channel and nightly releases for those wanting a more cutting-edge experience. Let’s not forget that it’s FREE as well! (although I would strongly suggest donating)

This post is a guide on how to get started with RaspBMC, for the ‘average man’ – real simple, just the basics!

Read on to get started…

What You ‘Will’ Need

For those of you looking to buy a Raspberry Pi purely for RaspBMC, here’s your shopping list. 

I’m using a B+ Raspberry Pi from RS, which means you’ll need a micro-SD card. I’m also going to assume that you already have a reasonably modern TV (with HDMI-CEC to use your TV remote to control RaspBMC), and a router near your TV that we can connect your Pi to (or just use a very long Ethernet cable):

  • A Raspberry Pi B+
  • A Micro-SD card – 4Gb+ (class 4 to 10 usually – go as high as you can afford)
  • A good Micro-USB power supply (I suggest the official power supply)
  • A HDMI cable
  • An Ethernet cable
  • A Windows or Linux computer to write the SD card (We will be using Windows here)
  • A Micro-SD card reader (USB adapter) (Not needed if your PC has a reader built-in)
  • An internet connection (router with Ethernet port)

What You ‘Might’ Need

The list above gives you the very minimum requirements to get started. You may need the following items depending on what you want to do with your RaspBMC media centre:

  • A Keyboard – you can get away with not having this, but it makes life easier
  • A case for your Pi – looks cool, protects the Pi, less than £5 – why wouldn’t you?
  • A Raspberry Pi IR receiver/remote – in case your TV doesn’t have HDMI-CEC
  • A powered external hard drive, or a USB key – for storing media
  • ‘Yatse’ – a brilliant Android app to control RaspBMC


I’m sure there are more things you could add as well, but let’s stick to the basics today.

Step 1: Install RaspBMC to the SD card

Before you do anything else, let’s get the SD card sorted. The SD card is your Pi’s ‘hard drive’ as such, the same way a computer has one with an operating system installed – we’re just installing RaspBMC instead.

Pop your SD card into your PC using a card reader (USB or built in).

Head over to the download page on the RaspBMC site – http://www.raspbmc.com/download/ – and download the simple installer. There are other ways we can install RaspBMC, like using a standalone image, but this is the easiest way:

The RaspBMC download page

The RaspBMC download page


Open the downloaded Zip file and run the ‘setup’ program:

RaspBMC setup file

Open the setup file to begin


A warning will show telling you that the utility will erase all data on your device! Of course, we knew that anyway, we’re over-writing the entire SD card with the RaspBMC image:

RaspBMC Installer Warning

You can ignore this, as long as you have just one SD card connected

 

Click Accept, which will then take you to the main screen. 

The program lists the available SD cards connected to your computer. It’s best to remove any other SD cards you may have connected, to avoid accidentally writing to the wrong card.

All we need to do here is tick the box to accept the license agreement, and then click ‘Install’:

RaspBMC Installer

The Installer is clear and simple


The utility will download what it needs, then pop a box up to let you know that it has completed the image writing:

RaspBMC Confirmation

Once you hit this point, your SD card is ready to go


All you need to do now is safely remove the SD card using the usual icon in your taskbar.

Step 2: Pi Set-up

We have the SD card ready to go, so now we need to connect the various cables to your Pi.

The only thing to note here is to turn the power off at the plug – we don’t want the Pi starting without all the cables attached.

Plug in the Ethernet, HDMI and Micro-USB power cables – and obviously connect these to the Router/TV/Plug socket as well:

Raspberry Pi Connections

Ethernet, HDMI and Micro-SD power connected


Then pop your Micro-SD card into the slot as shown – it should click in to place:

Raspberry Pi SD Card

The B+ Pi is much tidier in terms of SD card size and location


If you are using any of the optional devices such as a WiFi adapter or a Keyboard, plug those in as well.

Step 3: Power On / First Run

You’re ready to start now, so turn on the plug at the wall (with that slight nervous feeling we all get the first time we use a Pi)!

RaspBMC will go through a download and update process, which can take around 10 minutes. Sometimes it feels like it’s just repeating steps, but be patient with it. Just when you think it’s about to start, it’ll begin downloading something else! 

In fact, the system itself tells you to grab a coffee, not a bad idea…

RaspBMC Progress Bar

You will see a lot of these screens – be patient!


Eventually, the main RaspBMC interface will start. You’ll be asked to select a language, and then you’re done:

RaspBMC interface

RaspBMC interface


Congratulations, you now have the coolest media centre in the world!

Step 4: HDMI-CEC

Remember earlier on I suggested a TV with HDMI-CEC? If you’re still wondering what that is, it stands for Consumer Electronics Control (Hence ‘CEC’). It’s 2014 so will be hard to find a decent sized TV that isn’t CEC enabled.

If devices are CEC enabled and connect via HDMI to your CEC enabled TV, it simply means your standard TV remote can control the CEC connected device. Yes, your TV remote can control RaspBMC – how cool is that?

RaspBMC HDMI CEC

Most TVs come with HDMI-CEC now

 

RaspBMC comes with this enabled, so go on – give it a try! You should have the basic controls of up/down/left/right and some form of ‘OK/Go’ button. 

Others may have more but it depends on your TV, and as always, there will be some examples that don’t work – but check the RaspBMC forums for help with that.

Failing that, you can use a keyboard to control your media centre, or one of the many apps like ‘Yatse’ (my favourite – Android). You can even add after market Infra Red remotes via the Pi’s USB.

Step 5: Add Media

A media centre is pretty redundant without any media, so here’s a few ways you can add local and/or streamed content.

USB ‘Sticks’

The easy option is a simple USB stick with some films/music on it. RaspBMC handles USB storage out of the box, so this is simply a case of plugging it in and finding the films.

Plug your USB stick into the Pi, and wait for a little notification to pop up in the bottom right corner telling you it has been detected.

Then it’s simply a case of navigating to your files:

RaspBMC Videos Option

Under the ‘Videos’ option, select ‘Files:

RaspBMC Video files option

Then, click ‘Files’ again:

RaspBMC USB Name

Your USB stick’s name should be showing in the next menu. In my example here, I’m clicking on ‘KINGSTON’

RaspBMC File List

Your files should now appear, as you can see below, all of my test files are showing


There are features such as setting source content for media scraping, which will give you all of those nice backgrounds and DVD covers – but again, this is standard XBMC territory and already very well covered on the web, so I won’t cover that here.

External Hard Drives

Using an external hard drive is the same as the USB stick method above, however you cannot power a USB hard drive from the Pi! The Pi cannot provide enough power over USB for this – you’ll get into all sorts of problems if you do.

A separately plugged powered hard drive is the way to go here. I use a 2Tb hard drive to store all of my films.

Again, all you need to do is add the drive as a ‘source’, use the scraper, and away you go.

RaspBMC External Hard Drive

Add a powered external hard drive for masses of media!

Network Media

If you have a NAS box, or even just a PC sharing files over the network, you can tell RaspBMC where these files are over your network and add the films/music to your library.

I had a lot of ‘lag’ when first trying this, and went through weeks of trying different things to get it working.

To avoid lag when streaming, I cannot recommend using NFS enough. NFS stands for ‘Network File System’ and is a very ‘light’ way of serving/streaming. A lot of NAS boxes are set up to stream via SMB or UPNP – however these can be slower, and some don’t always offer the full fanart/info scraping that NFS or USB media will. 

A Google on your NAS model will soon tell you if you can use NFS – I did this recently for my friend’s Synology NAS and it worked a treat.

An excellent post on setting up a PC to serve files using NFS can be found here: 

http://forum.osmc.tv/showthread.php?tid=2321&pid;=22217#pid22217

Add-On Media

There are endless add-ons for XBMC, and the majority of them work in RaspBMC (not all). For example, I use an NHL add-on to watch the Ice Hockey, in HD, on my Pi.

How to add and use add-ons is well documented on the internet as it’s a standard function of XBMC across all devices, so a quick Google is all you need. I’m not covering it here as it isn’t Pi-specific.

Summary

Setting up a Raspberry Pi XBMC media centre is very easy, especially now that we have clever installers and a really polished product thanks to all of the hard work the developers put in.

The Pi handles playing films and music flawlessly, and is an absolute bargain media centre solution at £25!

Plus we’ve only just touched the surface to get you up and running – there’s loads more to do and learn. Overclocking, streaming, add-ons, skins…even running your own Python scripts in the background!

If you end up following this guide and use RaspBMC regularly, drop Sam (the developer) a donation via the RaspBMC site so he can get a cold beer after a night’s work.

As always, if you need any help, get in touch via the Contact Me page.

Average Man

2 Comments on "Raspberry Pi XBMC Set Up Guide"

  1. Hmmm, I have been looking at something like this but for a small screen in my car to have my music stream from my iPhone or have the music directly on a big USB key, reason im asking is how well RaspBMC works on the small touchscreens (2.8, 3, 4 inch)

  2. Hi

    A lot of people have done exactly that – it makes a great car entertainment system (in the back of course…).

    I haven't had it running on a small screen yet, but head over to the RaspBMC forums and there should be lots of examples to look at.

Leave a comment

Your email address will not be published.


*


This website uses cookies. Please visit our privacy policy page for more information. Privacy policy

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close