wtnh
Logitech Media Server (LMS) has long been popular as a free, open-source platform for music storage and streaming. You can find lots of details on it here. I have been using Raspberry Pi's for some time, but the Quadra looked like a good alternative to me. Here is a screenshot of the default web interface:

Screen Shot 2022-12-05 at 4.08.44 PM.png

You can optionally install a different "skin" which is much more user-friendly and works well on mobile devices (i.e.responsive):

Screen Shot 2022-12-06 at 1.08.01 PM.png

In my case, I am running the Quadra headless and used SSH from a computer terminal session for the installation. Here is the procedure I used to set up LMS:

In preparation for Logitech Media Server installation, populate a USB flash drive with music library files on another computer. The flash drive should be formatted with FAT32. Insert the drive into the rear USB slot on the Quadra.

Reboot the Quadra using:

quadra@inovato:~$ sudo reboot

Once the reboot is finished, login again and find the UUID of the flash drive:

quadra@inovato:~$ sudo blkid

The output will resemble:

/dev/mmcblk2p1: UUID="0d670df7-8023-43f0-b38f-454f1441f3f7" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="a65f4efe-01"

/dev/zram0: UUID="415a7703-41e9-4fcb-b290-dba3228e8ed8" TYPE="swap"

/dev/zram1: LABEL="log2ram" UUID="a24e5192-ec3c-42d0-95eb-34ef5ff33622" BLOCK_SIZE="4096" TYPE="ext4"

/dev/sda1: LABEL_FATBOOT="EFI" LABEL="EFI" UUID="67E3-17ED" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="e6d77340-19cb-4dc9-9635-611dbf500733"

/dev/sda2: LABEL_FATBOOT="CRUISER" LABEL="CRUISER" UUID="8A5F-1220" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="a68fd920-adce-47ba-8124-cac7b996c448"

In this example, the flash drive is "/dev/sda2". The label is "CRUISER" and the UUID is "8A5F-1220"

Make an entry for sda2 (or whatever your drive ID happens to be) in the /mnt folder:

quadra@inovato:~$ sudo mkdir /mnt/sda2

Then edit the fstab file :

sudo nano /etc/fstab

Add the following as the last line in the file (using your unique UUID and drive name) - be sure to use tabs, not spaces:

UUID=8A5F-1220          /mnt/sda2  vfat  defaults,auto,users,rw,nofail,noatime        0  0

Save the file and reboot.

Install Logitech Media Server. Find the latest deb ARM install package here:

https://downloads.slimdevices.com/nightly/?ver=8.4 and copy the link to the ARM file.

Download the ARM deb file using wget and by pasting the link (this is an example - the actual file name may be different):

After the download messages indicate success, check that the file is present:

quadra@inovato:~$ ls

Result should be something like:

Desktop  Documents  Downloads  logitechmediaserver_8.4.0~1669875672_arm.deb  Music  pi-apps  Pictures  Public  Templates  Videos

Unpack and install the package - copy and paste the exact file name shown in the directory:

quadra@inovato:~$ sudo dpkg -i logitechmediaserver_8.3.1~1669673720_arm.deb

The package will install with errors because perl is not installed yet and is required by LMS. Install perl as follows:

quadra@inovato:~$ sudo apt install libcrypt-openssl-rsa-perl

This should run with a suggestion to fix the install, which is required:

quadra@inovato:~$ sudo apt --fix-broken install

Answer "Y" to the question about continuation. Installation should complete with the fixes applied.

At this point, Logitech Media Server (LMS) should be running. Point a browser to the IP address of the Quadra combined with port number :9000. The LMS webpage should display.

LMS will be in setup mode. Skip the invitation to log into mysqueezebox.com. LMS must then be pointed to the mount point for the flash drive holding the music library. In the folder list, select /mnt/sda2 (or other name specific to your case) for both the music and the playlist locations and click finish.

Enter LMS settings. Initiate a scan of the library. Once complete, check that LMS sees all the content on the flash drive (albums, artists, etc.).

LMS should automatically detect any SqueezeBox-compatible players on your network.

If you wish, you can install a Squeezelite player (as I did) on the same Quadra as LMS, making it an all-in-one music library server/player. See this post over in the Squeezebox forum for details. Of course, you will need a USB DAC (preferred) or an HDMI audio splitter for the player - see other posts in this forum for suggestions. I am using a Topping D10s which sounds great.

Reply 1 0
Reply