Last year I was looking for a good mediaplayer which was able to play all my video’s stored on my NAS. It has to play every (HD) video MKV, AVI…. After searching I found out the RaspberryPi, which can be used as XBMC media player.
You will need, a Raspberry Pi, a SD card with a min. 2GB of storage, a HDMI cable to connect the device to your TV, micro USB to USB with power adapter or connect it to a USB port on you TV, a network connection by cable or Wifi dongle and the most important one OS, my preferred image is OpenElec Image, because of the speed.
In the following steps below I describe my setup, which is currently running for quite a while without any issues at all. Even my wife likes it ;-)
- Download Win32 Disk Imager http://sourceforge.net/projects/win32diskimager/
- Download the OpenElec Image for RaspberryPi (Diskimage)
- Extract the OpenElec image and apply it by using the Win32 Disk Imager to the SD card
- When finished applying the image to the SD card we can know connect everything.
- SD card in RaspberryPi
- Connect USB power
- Connect HDMI to TV
- Connect a Ethernet cable
- Turn it on!
Now we have it running, but how about the connection a NAS?
I my case I have a share named \\NAS\Multimedia with several sub-folder named Movies, TV Services, Photos & Music. One of the configuration files we need to edit is the sources.xml, in this file we will define where the media is located. I’m using the Multimedia smb share of my nas with access permissions for everyone so I’m not using any usernames and passwords.
- Download WinSCP and install it.
- Start WinSCP and logon to your RaspberryPi. Default crendentials are Username: root & password: openelec
- Look for the source.xml it should found in “/storage/.xbmc/userdata”, if not exist create a new one.
- Example of source.xml content
- When saved reboot and you should be able to play you movies directly from you nas;-)
Currently I’m using the app “Official XBMC Remote/iOS” on my iOS devices (iPhone & iPad). For more information see http://wiki.xbmc.org.
Tip 1: Turn of RSS-feed to speed up the device a bit, go to: ‘Settings -> Appearance -> Skin -> RSS Feeds’ at disable it.