Archive for the Raspbmc Category

Raspbmc Tweaks

| November 22nd, 2012

Cache Buffer Size
When raspbmc upgraded i found that I had some buffering problems with video’s hanging and waiting a long time for it to start playing again, after a few google searches I found you can change your buffer size.

Run this command

nano ~/.xbmc/userdata/advancedsettings.xml

And then add or modify the settings below (this will add 150Mb cache buffer to your pi)

Backup xmbc settings

Tar up your .xbmc settings

cd ~
tar -czf backup.tar.gz .xbmc/

Then copy this tar to another place, either via scp or sftp.

To restore run the following commands
sudo initctl stop xbmc; tar -xzf backup.tar.gz; rm backup.tar.gz; sudo initctl start xbmc

List users
Find out what users are on your system.
cat /etc/passwd |grep "/home" |cut -d: -f1

Find Raspbmc version
Usefull if you want to know if the auto update is working, or if your on the latest RC version.

cat /scripts/upd_hist/build_info

My output was:-

pi@raspbmc:~/.xbmc$ cat /scripts/upd_hist/build_info
Raspbmc Testing Branch, with Hard Floating Point
Release Candidate 5, Built: 20121107

: XBMC / Raspbmc kept buffering

| November 21st, 2012

: XBMC / Raspbmc kept buffering. Very handy post will try this fix when i get home, but after a reinstall it might have also fixed the issue

Raspberry Pi arrived

| July 2nd, 2012

My Raspberry Pi finally arrived, after every day I kept asking ‘Has it been delivered yet?’ and thankfully it has to much relief of my partner. Got it un-boxed and put into the case that I ordered from

The Debian “squeeze” image I created on my 32Gb mirco sd card worked, and it also had the correct resized partition. I resized the partition using gpart on my netbook with Ubuntu installed. As I found this was to be the easiest.


I also had a 8Gb micro sd card that was in my mp3 player, and after about 5hours of installing (mainly copying the root file system or the slow server…) I managed to install Raspbmc. The interface seems nice and smooth, and only a bit of lag between menus. Have not managed to wait for a video to copy across yet, but tested out some music  via streaming it from my ubuntu server, but this was laggy and kept on buffering, so think wifi is the way to go here, at least then you will get about 54Mbps rather than the 10Mbps the wired Ethernet port gives you.


After buying a breadboard from Maplins and some led’s and resisters from tandyonline I was able to play about with some GPIO stuff. I would say theMagPi magazine is very good for introduciton to the Raspberry Pi, also Gordon @ Dragon has a few projects and nice blog about the Raspberry Pi and has written a Arduino like program to controll the GPIO on the Raspberry Pi.

After compiling the wirePi library I was able to control the GPIO pins very easily, now thinking of a few projects to do.

RPi.GPIO Python

Also managed to get the RPi.GPIO Python installed and wrote a little script which controlled the led.

To install, type the following on the command line.

$ wget
$ tar zxf RPi.GPIO-0.1.0.tar.gz
$ cd RPi.GPIO-0.1.0
$ sudo python install


Neat little command line player that allows you to use the Raspberry Pi’s GPU and CPU the way it should be.. This comes preinstalled on the Wheezy image. Or if like me you are using the squeesy image then you need to install it via these commands at the command line.

$ wget
$ sudo dpkg -i omxplayer_0.0.1-arm.deb
$ sudo apt-get install -f

The web media player also seems quite good