Raspberry Pi Home Media Centre [gav-pi10 / 17]

Pi2 inside FLIRC Case

Everyone should really have a Raspberry Pi set up as a media player!

The easiest way to get this up and running is with LibreELEC (just enough Linux to run Kodi).

Kodi itself allows you to watch any videos that are on the network, listen to your music over the network, show photos, and even get the likes of YouTube and Ted Talks on the telly!

I've set Kodi up to have exclusive use of the HDMI for video and audio... and additional music is on the dedicated USB TOSLINK.

For my own house, I used a Pi3 (gav-pi17, bought to replace a Pi that I thought had gone faulty, but turned out to just be a corrupt SD card). This runs Kodi via LibreELEC but also has Music Player Daemon (MPD) in the background.

The Pi set up at the ex-wife's house (gav-pi10) doesn't run LibreELEC, but just Raspberry Pi OS (lite) as she just uses MPD.

Kodi is set up to NFS mount all of the media from within the programme. However, to get all of the media from the server for MPD, I've mounted my NFS export directly into the filesystem. If you want to store music directly on the Pi, then skip step 6a below.

Cubilux USB-TOSLINK

I originally gave MPD exclusive use of the audio stereo jack. However, after getting my Marantz NR1504 A/V Receiver (which was replaced a decade later by a Denon AVR-X2800H), I noticed a massive difference in the sound quality of the same FLAC played through MPD -> stereo jack -> analogue amplifier input and Kodi -> HDMI -> digital input on amplifier (or indeed the amplifier reading the FLAC directly). So, I bought myself one of these: a Cubilux USB-TOSLINK Optical Adaptor Now I have digital FLAC all the way to the DAC inside the amplifier... it sounds much better now!

Fanmusic FM-6011

This was an older digital audio device: Fanmusic FM-6011 USB-S/PDIF adaptor, which was replaced by the Cubilux TOSLINK device when I got my new Denon amplifier, that only had optical digital audio inputs.

It was extremely simple to set up...

  1. Plug an SDHC card into desktop PC (or laptop).
  2. Download and install LibreELEC to the card.
  3. Plug the SDHC card into the Raspberry Pi and power up, letting it re-size the SD card and then reboot.
  4. Install the Music Player Daemon: System -> Add-ons -> Install from repository -> LibreELEC Add-ons -> Services -> Music Player Daemon (MPD)
  5. Install as many add-ons as you like to Kodi. The SuperReop has literally thousands of them!
  6. From the desktop PC, SSH into the Pi and do the following:
    1. Set up a mount service to locate music on your network.
    2. Edit the MPD configuration (note that there are actually two versions in different locations for some reason, but this is the one you want):
      nano ~/.kodi/userdata/addon_data/service.multimedia.mpd/config/mpd.conf
      The things that you'll want to change are the "music_directory" and an "audio_output" - I used the ALSA example to produce this:
      audio_output {
        type "alsa"
        name "S/PDIF -> Amp"
        device "hw:1,0"
        format "44100:16:2"
        mixer_type "none"
      }
    3. Reboot the Pi (to start MPD)
  7. Sit back and play / watch / listen!

Specifications [gav-pi10]

Case: Official Raspberry Pi 3 Case
Board: Rapsberry Pi 3B (version 1.2)
SoC: Broadcom BCM2837
CPU: 64-bit Quad-core (ARM Cortex-A53, ARMv8-A arch) @ 1.2Ghz
GPU: Broadcom VideoCore IV @ 400 MHz
RAM: 1GiByte LPDDR2 SDRAM
Storage: Sandisk Ultra, class 10 (32GByte SDHC)
External Sound: Cubilux USB-TOSLINK Optical Adaptor
External Sound: LG Soundbar

Specifications [gav-pi17]

Case: FLIRC with Pimoroni's Omni VESA mount
Board: Rapsberry Pi 3B+ (version 1.3)
SoC: Broadcom BCM2837B0
CPU: 64-bit Quad-core (ARM Cortex-A53, ARMv8-A arch) @ 1.4Ghz
GPU: Broadcom VideoCore IV @ 400 MHz
RAM: 1GiByte LPDDR2 SDRAM
Storage: Sandisk Ultra, class 10 (8GByte SDHC)
Monitor: Sony BRAVIA KD50X80JU (4k LCD TV)
External Sound: Cubilux USB-TOSLINK Optical Adaptor
Speakers: Cambridge Audio MINX MIN12 (rear speakers)
Cambridge Audio SX-120 (subwoofer) and
Kef iQ5SE (floor standing front speakers) and
Monitor Audio Radius 200 (centre speaker) and

All driven from Denon AVR-X2800H (A/V receiver & amplifier)
Keyboard / Mouse: Logitech diNovo Mini

Helpful resources:




Del.ico.us Digg Facebook Google LinkedIn LiveJournal NewsVine reddit StumbleUpon Twitter
Valid XHTML 1.0 Transitional Valid CSS! [Valid Atom 1.0] [Valid RSS 2.0]
[ Page last updated Fri 3rd Apr 2026 | viewed 2080 times ]