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)
<advancedsettings>
<network>
<cachemembuffersize>157286400</cachemembuffersize>
</network>
</advancedsettings>

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