With all the software installed we’re ready to go. Now install the server software with: sudo dpkg -i logitechmediaserver_all.debĪnd reboot. sudo wget -O logitechmediaserver_all.deb $(wget -q -O - "") We want the latest version which at the moment of this writing is 7.9.3. Now with the audio libraries in place the Logitech Media Software can be downloaded. If you want to add flac support you’ll probably need to do this sudo apt-get install -y libsox-fmt-all libflac-dev This installs SoX, a command line utility that, among other things, plays various types of audio files. Since you want mp3 only do: sudo apt-get install -y libsox-fmt-all Step 4: Installing Logitech Media Center on the Raspberry Piįirst we need to install a library to play audio files. In this stage I only ripped a few albums to test the system (click to enlarge). The list of folders with albums that I ripped. To unmount the HDD do: sudo umount ~/media/usb-drive Now type: cd ~/media/usb-drive & ls -lĪnd a list of your music should be visible. sudo mkdir ~/media/usb-driveĪnd mount sudo mount /dev/sda1 ~/media/usb-drive But before that we need to make a mounting point (in this example at ~/media/usb-drive). To make the files on the HDD accessible to the Raspberry Pi we need mount the drive. This was /dev/sda1 in my case (but this may differ in yours). Then look for the HDD that is just connected. Open a terminal (Windows users either need to install Putty or for Windows 10 users enable the SSH client) and type: sudo ssh (in my case 192.168.178.69) To login remotely we need another computer (Windows, Linux or OSX). For this first connect the HDD to the Raspberry Pi (in my case I connected the HDD through a USB port of the Raspberry Pi), login remotely and retrieve the name of the drive. Now with Raspberry Pi OS installed I mounted the HDD that we prepared in step 1. Step 3: Mount the HDD on the Raspberry Pi This enables you to access the Pi remotely later on. NOTE: If you do install the Lite version of the OS make sure to enable SSH via raspi-config. To avoid potential problems connect the Pi to a monitor with an HDMI cable and make sure that it boots properly. I had no problems booting the Raspberry Pi and connecting it to my network using Ethernet. I chose the Lite version of Raspberry Pi OS because I don’t need the desktop software and it makes the server as lightweight as possible. Next install Raspberry Pi OS (previously called Raspbian) on the Raspberry Pi by first downloading the image and writing the image to the micro SD card using these instructions for OSX (or these instructions for Windows and Linux). If I buy a larger drive I’ll probably move to FLAC. As ripping software I used the Asunder software on my Linux laptop but I guess that there are good alternatives ( fre:ac appears to be an free and open source alternative that is also available for OSX and Windows). Next I collected all my music CD’s and ripped them. Step 1: Ripping CD’s and writing them on an HDD (choosing an audio format)įor this project I used a small USB-HDD that was also lying around. Raspberry Pi 2 with a USB-harddrive connected to my network with a (yellow) ethernet cable.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |