HTPC, MCPC, XBMC, BIOS and other FLAs (four letter acronyms)
Or Home Theatre PC Pt II
Once I had got my new HTPC booting up to the BIOS without it sounding like a jet fighter on take off, it was time to decide which interface to employ, bearing in mind it has to be usable from around 3-4 metres away on my Sony Bravia KDL-46NX723 46" LCD TV. These interfaces are known as a TFUI (Ten Foot User Interface) for obvious reasons. Anybody who has tried to use a standard desktop from 3m+ on a TV will understand how difficult it can be to use.
So which operating system and which UI?



So XBMC on Linux; it seems to be in many distribution's repositories but as I want this to be just a Media Centre I don't need a full desktop install of Linux. I found a version of Ubuntu Linux that is a stand alone HTPC OS, TFUI and media player. It is based on Lubuntu 11.10 which is an officially supported Ubuntu Linux variant so is not of questionable provenance should be around for the foreseeable future. It boots into the XBMC interface by default but you can log in to XBMCbuntu an LXDE desktop using the Open Box window manager. This has very few applications just a file manager and a terminal emulator but does also have the Synaptic Package Manager enabling the installation of any of the myriad of applications available in the Ubuntu software repositories. I just installed the Leafpad text graphical text editor in case I need to edit any configuration files and left it at that, although it has Vim and Pico installed so that was not strictly necessary.
XBMC runs great however I had issues getting sound to work, extensive googling came up with the answer. I from the command line in XBMCbuntu had to do an
aplay -l
this give me the numbers of my sound cards and devices which resulted in
card 0: SB [HDA ATI SB], device 0: [Analog]
card 0: SB [HDA ATI SB], device 1: [Digital]
card 1: HDMI [HDA ATI HDMI], device 3: [HDMI 0]
I could then log out and back into the XBMC interface and tell it to use customised hardware settings under settings | system | audio output | audio | output device | custom, and in the format of [device name]:[card number],[device number] as the defaults do not work so
plughw:0,0
works for analog audio through the sound card speaker output and
plughw:1,3
for my HDMI to the TV, I input the same values for passthrough and set the audio output field to HDMI then had great quality sound coming through the sound bar attached to my TV

The library function is not much use to me for video as I have my files categorised by file/folder names but for music it is invaluable as my music is stored in an iTunes library. So a database scan by right clicking my music source and selecting "Scan item to library" pulls in all the meta tags and the library pretty much works like iTunes, only a million times quicker, and doesn't fall over every two minutes. The image below shows the library categories rather than just files and add-ons, and the side bar pop our allows searching via genre, artist, album, song, year etc.

Now I have done this build I'm thinking is this possible on a ultra micro computer with minimal power overhead and no fan noise whatsoever? Rasberry Pi can it be done? Watch this space...
Labels: Free Software, Hardware, Home Theatre, Open Source, Software