{"id":56,"date":"2025-07-05T16:41:54","date_gmt":"2025-07-05T15:41:54","guid":{"rendered":"https:\/\/www.scratchart.nl\/?page_id=56"},"modified":"2025-07-05T16:43:29","modified_gmt":"2025-07-05T15:43:29","slug":"building-a-lyrion-media-server","status":"publish","type":"page","link":"https:\/\/www.scratchart.nl\/index.php\/building-a-lyrion-media-server\/","title":{"rendered":"Building a Lyrion Media Server"},"content":{"rendered":"<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">Building a Lyrion\/Logitech Media Server<\/h1>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Recipe for building a media server using Lyrion Media Server (formerly Logitech Media Server) and a HifiBerry DAC card, Spotify, YouTube&nbsp;and a USB CD\/DVD player.<br \/>Originally I started this page as a log book for myself. There is so much to configure!<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Alternatives (in most cases much easier to configure than what is presented here): PicorePlayer and Max2Play.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">How to install the Operating System<\/h1>\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 1rem; overflow: hidden;\">\n<li>Install the latest Raspbian OS&nbsp;using&nbsp;<a style=\"color: #224faa;\" href=\"https:\/\/www.raspberrypi.org\/downloads\/\">Raspberry Pi Imager<\/a>&nbsp;(this depends upon the version of the Raspberry Pi).<\/li>\n<li>Upgrade the&nbsp;software to the latest version:\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 0px; overflow: hidden;\">\n<li>sudo apt-get update<br \/>sudo apt-get upgrade&nbsp;&nbsp;&nbsp;&nbsp; (this might take a while)<\/li>\n<\/ul>\n<\/li>\n<li>Enabling a VNC server (RealVNC or TigerVNC) on the Raspberry Pi is not easy any more unfortunately.<\/li>\n<li>Download a VNC client for your computer (e.g.&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"http:\/\/www.realvnc.com\/\">RealVNC<\/a>) and connect remotely if you wish.<\/li>\n<li>I personally like editor leafpad: sudo apt-get install leafpad<\/li>\n<li>Turn off Bluetooth because it is not needed.<\/li>\n<\/ul>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">How to install Logitech Media Server<\/h1>\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 1rem; overflow: hidden;\">\n<li>sudo apt-get install -y libsox-fmt-all libflac-dev libfaad2 libmad0&nbsp;libio-socket-ssl-perl libcrypt-openssl-rsa-perl<\/li>\n<li>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">wget&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"https:\/\/downloads.lms-community.org\/LogitechMediaServer_v8.5.1\/logitechmediaserver_8.5.1_arm.deb\">https:\/\/downloads.lms-community.org\/LogitechMediaServer_v8.5.1\/logitechmediaserver_8.5.1_arm.deb<\/a><\/p>\n<\/li>\n<li>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">sudo dpkg -i logitechmediaserver_8.5.1_*.deb<\/p>\n<\/li>\n<li>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">sudo chown -R squeezeboxserver:nogroup \/usr\/share\/squeezeboxserver\/<\/p>\n<\/li>\n<li>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">sudo usermod -G audio squeezeboxserver<\/p>\n<\/li>\n<li>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">sudo apt-get install -y lame<\/p>\n<\/li>\n<\/ul>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">How to install the SqueezeLite music player<\/h1>\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 1rem; overflow: hidden;\">\n<li>sudo apt-get install squeezelite<\/li>\n<li>sudo leafpad \/etc\/init.d\/squeezelite<\/li>\n<li># Add at the beginning of this file:<\/li>\n<li>SL_SOUNDCARD=hw:CARD=sndrpihifiberry<\/li>\n<li>SB_SERVER_IP=&#8221;127.0.0.1&#8243;<\/li>\n<li>#SB_EXTRA_ARGS=&#8221;-a 40:4::1 -b 20000:6000 -p 80 -v&#8221;<\/li>\n<\/ul>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 1rem; overflow: hidden;\">\n<li># Configure type of audio card:<\/li>\n<li>sudo leafpad \/boot\/config.txt<\/li>\n<li># Add line (depending upon audio card type one of):<\/li>\n<li>dtoverlay=hifiberry-dac&nbsp;&nbsp; (for old DSP card)<\/li>\n<li>dtoverlay=hifiberry-dacplus<\/li>\n<li>dtoverlay=hifiberry-dacplushd<\/li>\n<li>dtoverlay=hifiberry-dacplusadcpro<\/li>\n<\/ul>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">&nbsp;Reboot<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">How to install Samba (file sharing)<\/h1>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Install and configure Samba using this&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"http:\/\/raspberrypihq.com\/how-to-share-a-folder-with-a-windows-computer-from-a-raspberry-pi\/\"><u>link<\/u><\/a>&nbsp;or this&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"https:\/\/www.raspberrypi.org\/magpi\/samba-file-server\/\"><u>link<\/u>:<\/a><\/p>\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 1rem; overflow: hidden;\">\n<li>sudo apt-get update<\/li>\n<li>sudo apt-get upgrade<\/li>\n<li>\nsudo&nbsp;apt-get&nbsp;install&nbsp;samba&nbsp;samba-common-bin\n<\/li>\n<li>\nsudo&nbsp;smbpasswd&nbsp;-a&nbsp;pi\n<\/li>\n<li>(you are asked to type a password twice. I use the same password as for the pi)<\/li>\n<li>Reboot the system.<\/li>\n<\/ul>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">Windows network support<\/h1>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Since Windows 10 updates in 2021, and may be shortly before that, samba servers are no longer showing up in Windows Explorer&#8217;s Network window.<br \/>Web Service Discovery host daemon (WSDD) allows linux machines to show up in Windows Network.<br \/>See:&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"https:\/\/github.com\/bupar01\/raspberrypi-wsdd-install\">GitHub &#8211; bupar01\/raspberrypi-wsdd-install: install christgau \/ wsdd as a systemctl service<\/a><\/p>\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">Running multiple servers<\/h1>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">When running multiple servers, the UID&#8217;s must be different.<br \/>So if you have cloned the image, you can run into troubles.<br \/>Remove the uuid&#8217;s in the following file. They will be recreated at startup.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Edit \/var\/lib\/squeezeboxserver\/prefs\/server.prefs<br \/>Remove lines:&nbsp;&#8220;_ts_server_uuid:&#8221; and&nbsp; &#8220;_server_uuid: xxxxxxxxxxx-xxx&#8221;<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">How to automatically reboot the system every night<\/h1>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Rebooting the system at night (e.g. at 5 am) can improve stability:<\/p>\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 1rem; overflow: hidden;\">\n<li>Enter command: crontab -e<br \/>Add as the last line:<br \/>0 5 * * * sudo \/sbin\/shutdown -r now<\/li>\n<\/ul>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">Increase lifespan of SD card<\/h1>\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 1rem; overflow: hidden;\">\n<li>sudo service dphys-swapfile stop<\/li>\n<li>sudo systemctl disable dphys-swapfile<\/li>\n<li>sudo apt-get purge dphys-swapfile<\/li>\n<\/ul>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">How to prepare a large (256Gb) internal SD&nbsp; card<\/h1>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Personally I prefer a separate SD card for the software and an USB memory stick for the music.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Instead you can use a large internal SD card.<br \/>Even 512 Gb SD cards are cheap enough to buy now.<br \/>Suppose a configured image file of 8 Gb is available on your Windows PC.<br \/>With Win32 Disk Imager, the image is copied to the SD disk.<br \/>With Windows Disk Management you can now see a FAT boot partition of 42 Mb.<br \/>Next to that you will see a 7.4 Gb partition (containing the Raspbian OS).<br \/>And next to that you will see an unallocated partition of 231 Gb.<br \/>The unallocated partition must be formatted, preferably with NTFS on Windows, otherwise with exFAT on a Mac.<br \/>When formatted, put the SD card in the Raspberry.<br \/>You can find the name of the disk\/device using the &#8220;df&#8221; command.<br \/>Create folder for mount point on the :<br \/>sudo mkdir \/media\/internaldisk<br \/>sudo chmod 777 \/media\/internaldisk<br \/>sudo mkdir \/media\/internaldisk\/Music<br \/>sudo chmod 777 \/media\/internaldisk\/Music<br \/>sudo leafpad \/etc\/fstab<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Add line:<br \/>\/dev\/mmcblk0p3 \/media\/internaldisk ntfs-3g defaults,nofail 0 0<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">if the partition was formatted with exFAT, then add the following line instead:<br \/>\/dev\/mmcblk0p3 \/media\/internaldisk&nbsp;vfat&nbsp;defaults,nofail 0 0<u><\/u><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Add section for network share:<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">sudo leafpad \/etc\/samba\/smb.conf<br \/>Add section:<br \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>[InternalDisk]<br \/>comment=Raspberry Pi Media Share<br \/>path=\/media\/internaldisk\/Music<br \/>browseable=Yes<br \/>writeable=Yes<br \/>only guest=no<br \/>create mask=0777<br \/>directory mask=0777<br \/>public=yes<br \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>After Logitech Media Server has started, you can configure the new media folder (&#8220;media\/internaldisk&#8221;).<u><\/u><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">My basic setting page looks like this (support internal dis and external USB disk):<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">&nbsp;<img decoding=\"async\" style=\"vertical-align: middle;\" src=\"https:\/\/www.scratchart.nl\/images\/MediaMappen.png\" alt=\"\"><\/p>\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">How to prepare for an external USB disk\/Memory stick<\/h1>\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 1rem; overflow: hidden;\">\n<li style=\"list-style-type: none;\">\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 0px; overflow: hidden;\">\n<li>For attaching an SSD disk you need a conversion cable SATA to USB. The SSD might take too much current from the Raspberry, so a powered HUB might be needed. The cheapest way is to use a memory stick (fast enough).<\/li>\n<li>&nbsp;Install NTFS support:\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 0px; overflow: hidden;\">\n<li>sudo apt-get install ntfs-3g<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">&nbsp;Prepare the SSD\/USB disk e.g. on Windows:<\/p>\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 1rem; overflow: hidden;\">\n<li style=\"list-style-type: none;\">\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 0px; overflow: hidden;\">\n<li>Format the disk with NTFS<\/li>\n<li>&nbsp;Note: a FAT formatted disk does not support permissions.<\/li>\n<li>Attach a SSD\/USB disk to the USB port<\/li>\n<\/ul>\n<\/li>\n<li>&nbsp;If you do not have a Windows PC, you can format the disk with NTFS on the Raspberry Pi as follows:\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 0px; overflow: hidden;\">\n<li>sudo mkfs.ntfs \/dev\/sda1 -L usbdisk -f<u><\/u><\/li>\n<\/ul>\n<\/li>\n<li>Start the system<\/li>\n<li>The disk is automatically mounted under: \/media\/pi\/Media. Unfortunately, the permission cannot be changed this way.<\/li>\n<li>sudo umount \/media\/pi\/Media<\/li>\n<li>Disable auto mounting in the File Manager:<\/li>\n<li>Edit &#8211;&gt; Preferences &#8211;&gt; Volume Management<br \/>Uncheck:<br \/>&#8211; Mount mountable Volume &#8230;<br \/>&#8211; Mount removable media ..<\/li>\n<li>Create a mount point:<\/li>\n<li>sudo mkdir \/media\/usbdisk<\/li>\n<li>sudo chmod 777&nbsp;\/media\/usbdisk<u><\/u><\/li>\n<li>sudo mkdir&nbsp;\/media\/usbdisk\/Music<u><\/u><\/li>\n<li><u><\/u>sudo chmod 777&nbsp;\/media\/usbdisk\/Music<u><\/u><\/li>\n<li>Edit fstab: sudo leafpad \/etc\/fstab<\/li>\n<li>Add line (the nofail option means that you can boot when the USB drive is not attached):<br \/>\/dev\/sda1 \/media\/usbdisk ntfs-3g defaults,nofail 0 0<\/li>\n<li>If you did not format with NTFS, but with exFAT, you have to change &#8220;ntfs-3g&#8221; to &#8220;vfat&#8221;.<\/li>\n<li>Reboot the system. Now the SSD disk is mounted with the right permission.<\/li>\n<li>Add some music from your PC to the SSD\/USB disk using the share &#8220;Media&#8221;.<\/li>\n<li>Find the IP address of your system: ifconfig<\/li>\n<li>Now start any browser on any PC at home and type as URL (use the correct IP address): http:\/\/192.168.2.xxx:9000<\/li>\n<li>You can now configure Logitech Media Server with the location of the music (\/media\/pi)&nbsp;<\/li>\n<\/ul>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">I found, that when having two USB memory sticks, one was not always mounted.<br \/>A&nbsp;solution may be, is to add the line boot_delay=3 to \/boot\/config.txt<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Add section for network share:<br \/>sudo leafpad \/etc\/samba\/smb.conf<br \/>Add section:<br \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>[UsbDisk]<br \/>comment=Raspberry Pi Media Share<br \/>path=\/media\/usbdisk\/Music<br \/>browseable=Yes<br \/>writeable=Yes<br \/>only guest=no<br \/>create mask=0777<br \/>directory mask=0777<br \/>public=yes<br \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">If you have a second USB stick, you can create folders and a share in the same way (e.g. \/media\/usbdisk2).<\/p>\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 1rem; overflow: hidden; font-size: 12.16px; background-color: #ffffff;\">\n<li>sudo mkdir \/media\/usbdisk2<\/li>\n<li>sudo chmod 777&nbsp;\/media\/usbdisk2<u><\/u><\/li>\n<li>sudo mkdir&nbsp;\/media\/usbdisk2\/Music<u><\/u><\/li>\n<li><u><\/u>sudo chmod 777&nbsp;\/media\/usbdisk2\/Music<\/li>\n<li>Add line to&nbsp;\/etc\/fstab:<br \/>\/dev\/sdb1 \/media\/usbdisk2 ntfs-3g defaults,nofail 0 0<\/li>\n<\/ul>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">How to add a new USB memory stick<\/h1>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">If you want to add or replace the USB disk\/memory stick, while the software on Raspberry already has been configured:<\/p>\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 1rem; overflow: hidden;\">\n<li>Format the disk with NTFS on Windows. Otherwise format with exFAT (e.g. on a Mac).<\/li>\n<li>Create folder &#8220;Music&#8221; on this disk<\/li>\n<\/ul>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">If the disk was formatted with exFAT, you have to modify file &#8220;\/etc\/fstab&#8221;:<\/p>\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 1rem; overflow: hidden;\">\n<li>sudo leafpad \/etc\/fstab<\/li>\n<li>Modify line:&nbsp;<br \/>\/dev\/sda1 \/media\/usbdisk ntfs-3g defaults,nofail 0 0<u><\/u><\/li>\n<li>to:<br \/>\/dev\/sda1 \/media\/usbdisk vfat defaults,nofail 0 0<u><\/u><\/li>\n<\/ul>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">How to use a NAS for storage<\/h1>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Instead of using local storage for the music, you could use an existing NAS.<br \/>Suppose the location of the NAS is:&nbsp;\/\/192.168.2.8\/Music<br \/>Preferrably you should use a name instead of the IP number.<br \/>Now enter the following commands to test the connection:<\/p>\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 1rem; overflow: hidden;\">\n<li>sudo mkdir \/media\/nas<\/li>\n<li>sudo chmod 777 \/media\/nas<\/li>\n<li>sudo mount -t cifs -o user=guest,password=guest&nbsp; \/\/192.168.2.8\/Music \/media\/nas<\/li>\n<\/ul>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">You can now configure Logitech Media Server with the location of the music (\/media\/nas)<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">To mount the NAS automatically at boot time do:<\/p>\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 1rem; overflow: hidden;\">\n<li>sudo leafpad \/etc\/fstab<br \/>Add line:<br \/>\/\/192.168.2.8\/Music \/media\/nas cifs defaults,nofail,user=guest,password=guest,uid=pi,gid=pi,x-systemd.automount 0 0<\/li>\n<\/ul>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">How to configure Spotty plugin<\/h1>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">You need Spotify Premium account to get this working.<br \/>You can install the Spotty plugin.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">But first you have to install (probably not necessary anymore):<\/p>\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 1rem; overflow: hidden;\">\n<li>sudo apt-get install libnet-ssleay-perl<\/li>\n<li>sudo apt-get install libio-socket-ssl-perl<\/li>\n<\/ul>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">Spotty search history file location&nbsp;<\/h1>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">To change or reorder the search history:&nbsp;<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">sudo leafpad \/var\/lib\/squeezeboxserver\/prefs\/plugin\/spotty.prefs<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">After modifying: reboot the Raspberry.&nbsp;<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">How to control Spotify<\/h1>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">After installing the Spotty plugin, there are two ways to use Spotify:<\/p>\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 1rem; overflow: hidden;\">\n<li>From your app (e.g. iPeng, Squeezer, Squeeze Ctrl) that you use to control Logitech Media Server.<\/li>\n<li>From your Spotify app on your tablet or mobile phone.<br \/>The Spotify app offers more functions.<br \/>It allows you to stream the music to your Logitech Media player.<br \/>You can configure this as follows:<br \/>From any browser: use the IP address of the raspberry followed by &#8220;:9000&#8221;. E.g.:&nbsp;192.168.2.18:9000<br \/>Click on Settings button (bottom right).<br \/>Select second tab (Music System)<br \/>In the second dropdown box, select: Spotty Spotify for Squeezebox<br \/>Enable the checkbox.<\/li>\n<\/ul>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">How to configure the YouTube plugin<\/h1>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">With the YouTube plugin you can play a lot of music without commercials and for free.<br \/>You can enter a search string and there is a history of what you have played.<br \/>For configuration, using your Google account, you need to get a:<\/p>\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 1rem; overflow: hidden;\">\n<li>YouTube API access key<\/li>\n<li>Client ID<\/li>\n<li>Client secret password<\/li>\n<\/ul>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">In the Settings of this plugin it is described how to get these. But it may not be easy.<\/p>\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 1rem; overflow: hidden;\">\n<li>Start Google Chrome and login<\/li>\n<li>Goto:&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"https:\/\/console.developers.google.com\/\">https:\/\/console.developers.google.com\/<\/a><\/li>\n<li>Create new project (fill any name)<\/li>\n<li>Dashboard &#8211;&gt; + ENABLE APIS AND SERVICES<\/li>\n<li>YouTube Data API v3 &#8211;&gt; Enable<\/li>\n<li>Credentials<\/li>\n<li>Select:&nbsp;YouTube Data API v3<\/li>\n<li>Select: Webbrowser (e.g. node.js, Tomcat)<\/li>\n<li>Select: Public data<\/li>\n<li>Now you will see your API key<\/li>\n<li>Done<\/li>\n<li>Now for getting Client ID and secret password:<\/li>\n<li>Dashboard &#8211;&gt;&nbsp;YouTube Data API v3<\/li>\n<li>Credentials &#8211;&gt;&nbsp;&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"https:\/\/console.developers.google.com\/apis\/credentials?project=rising-symbol-135323\">Credentials in APIs &amp; Services<\/a><\/li>\n<li>+ CREATE CREDENTIALS<\/li>\n<li>Create consent screen: external<\/li>\n<li>OAUTH CLIENT ID<\/li>\n<li>Application type: Web application<\/li>\n<li>Create<\/li>\n<li>Now the Client ID and secret are shown<\/li>\n<\/ul>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">&nbsp;There are (too) many sub menus in this plugin.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">You can disable some submenus as follows:<\/p>\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 1rem; overflow: hidden;\">\n<li>sudo leafpad \/var\/lib\/squeezeboxserver\/cache\/InstalledPlugins\/Plugins\/YouTube\/Plugin.pm<\/li>\n<\/ul>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Comment out all lines in method line 151 except &#8220;Music Search&#8221; and &#8220;Recently Played&#8221;.<br \/>You also decide to reorder the menus (e.g. &#8220;Recently Played&#8221; on top).<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">How to configure Jivelite<\/h1>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">JiveLite is a graphical user interface for LMS. It runs on a 7&#8243; Raspberry Pi touchscreen.<br \/>You can configure the icons by pressing on&nbsp;an icon a bit longer.<br \/>In Settings you&nbsp;bring back hidden icons to the main screen.<br \/>A Home button is missing unfortunately, but the function is available by pressing long on the backbutton.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">When using JiveLite on another Raspberry Pi (not where the LMS is installed), it is probably handy to use PiCorePlayer that has buildin suppport for JiveLite.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\"><img fetchpriority=\"high\" decoding=\"async\" style=\"vertical-align: middle;\" src=\"https:\/\/www.scratchart.nl\/images\/MediaServer\/JiveLiteScreenshot.jpg\" alt=\"\" width=\"451\" height=\"246\"><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">sudo apt-get install git libsdl1.2-dev libsdl-ttf2.0-dev libsdl-image1.2-dev libsdl-gfx1.2-dev libexpat1-dev<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">git clone http:\/\/luajit.org\/git\/luajit-2.0.git<br \/>cd luajit-2.0<br \/>make<br \/>sudo make install<br \/>sudo ldconfig<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">git clone https:\/\/github.com\/ralph-irving\/jivelite<br \/>cd jivelite<br \/>make<br \/>cd ..<br \/>sudo mv .\/jivelite \/opt<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">cd \/opt\/jivelite\/bin<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">sudo leafpad .\/jivelite.sh<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Add contents:<br \/>_________________________<br \/>#!\/bin\/bash<br \/>export SDL_VIDEO_ALLOW_SCREENSAVER=1<br \/>\/opt\/jivelite\/bin\/jivelite<br \/>_________________________<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">sudo chmod +x .\/jivelite.sh<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">The latest Raspbian OS uses &#8220;mutter&#8221; window manager instead of openbox.<br \/>With mutter you cannot set an application to fullscreen (at least I could not find out how).<br \/>So, change the window manager back to openbox:<\/p>\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 1rem; overflow: hidden;\">\n<li>sudo leafpad \/etc\/xdg\/lxsession\/LXDE-pi\/desktop.conf<\/li>\n<li>window_manager=openbox_lxde_pi<\/li>\n<\/ul>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Reboot<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">In order to create file openbox\/lxde-pi-rc.xml, start obconf and change something.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">obconf<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Modify something in order to create file: openbox\/lxde-pi-rc.xml<br \/>E.g. Mouse: change Double click time and back.<br \/>and press Close button<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Information about autostart can be found here:<br \/>https:\/\/www.sparkfun.com\/news\/2779#:~:text=The%20easiest%20way%20to%20do,It%20then%20looks%20for%20.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">leafpad \/home\/pi\/.config\/openbox\/lxde-pi-rc.xml<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Insert the following section within the &#8220;applications&#8221; section:<br \/>____________________________________<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">&nbsp;&nbsp; &lt;application name=&#8221;jivelite&#8221;&gt;<br \/>&nbsp; &nbsp; &lt;decor&gt;no&lt;\/decor&gt;<br \/>&nbsp; &nbsp; &lt;fullscreen&gt;yes&lt;\/fullscreen&gt;<br \/>&nbsp; &lt;\/application&gt;<br \/>____________________________________<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">mkdir .config\/autostart<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">leafpad .config\/autostart\/jivelite.desktop<br \/>Add the following text:<br \/>________________________<br \/>[Desktop Entry]<br \/>Type=Application<br \/>Name=JiveLite<br \/>Exec=\/opt\/jivelite\/bin\/jivelite.sh<br \/>________________________<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">When configuring JiveLite, select: grid skin 800&#215;480<br \/>You can change the skin in: Settings &#8211;&gt; Display &#8211;&gt; select skin<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Show time when playing stopped:<br \/>Settings &#8211;&gt; Display &gt; Screensaver &#8211;&gt; When stopped &gt; some clock<br \/>You can also adjust the delay (default 30 seconds).<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">By default, a screen saver is enabled in the operating system.&nbsp;<br \/>This can be disabled in the Raspberry Pi Configuration: Display &#8211;&gt; disable Screen blanking<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">SqueezeLite-X<\/h1>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">From the&nbsp;Microsoft Store, install SqueezeLite-X.<br \/>It looks the same as the browser.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">How to configure a CD player<\/h1>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">You can attach a USB DVD player\/burner to play audio CD&#8217;s.<br \/>The advantage is that you do not need a preamplifier to switch between the Raspberry and CD player.<br \/>We found however that such a PC DVD player is a bit noisy sometimes and not always reliable. But you can give it a try.<br \/>The Raspberry is not capable of supplying enough current via the USB port.<br \/>So either use an external drive with own power supply (there are a lot of secondhand available) or use a powered USB hub.<br \/>Be sure to disable the power connector pin in the USB connector (e.g. by using tape).<br \/>I prefer the old drives because they are heavy. Modern lightweight drives have to be operated with two hands.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Before you can use the CDPlayer plugin, you must run the following commands to install the cdda2wav tool in this way:<\/p>\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 1rem; overflow: hidden;\">\n<li>sudo apt-get install icedax<\/li>\n<li>sudo ln -s \/usr\/bin\/icedax \/usr\/bin\/cdda2wav<u><\/u><\/li>\n<li>sudo adduser squeezeboxserver cdrom<\/li>\n<li>File Manager &#8211;&gt; Edit &#8211;&gt; Preferences &#8211;&gt; Volume Management &#8211;&gt; uncheck: &#8220;Show available options for removable media&#8221;<\/li>\n<\/ul>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Next you must enable the CDPlayer plugin:<br \/>From any browser: use the IP address of the raspberry followed by &#8220;:9000&#8221;. E.g.:&nbsp;192.168.2.18:9000<u><\/u><\/p>\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 1rem; overflow: hidden;\">\n<li>In the lower right corner you will see the Settting icon.<\/li>\n<li>Open the Plugins tab.<\/li>\n<li>Check &#8220;CDPlayer&#8221;<\/li>\n<\/ul>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">In Settings, you must select the database to use: &#8220;Lookup CDs on MusicBrainz&#8221;.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">I found out that the Raspberry did not boot in combination with a Soundblaster USB dongle when the CD drive was powered on.<br \/>It did boot when the CD drive was powered off during booting however.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">When you want to play the whole CD, you cannot do this by starting the first&nbsp;track.<br \/>In order to play the whole CD, click on the + symbol right to the CD title.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Note that the + symbol is not available on&nbsp;Jivelite.<br \/>A solution (<a style=\"color: #224faa; text-decoration-line: underline;\" title=\"Name: CDplayer.zip Views: 7 Size: 14.1 KB\" href=\"https:\/\/forums.slimdevices.com\/attachment.php?attachmentid=34425&amp;d=1619523911\">CDplayer.zip<\/a>)&nbsp;can be found here:<br \/><a style=\"color: #224faa; text-decoration-line: underline;\" href=\"https:\/\/forums.slimdevices.com\/showthread.php?47288-Announce-CDplayer-plugin&amp;p=1020593&amp;viewfull=1#post1020593\">Announce: CDplayer plugin &#8211; Page 61 (slimdevices.com)<br \/><\/a>File location to patch:&nbsp;\/var\/lib\/squeezeboxserver\/cache\/InstalledPlugins\/Plugins\/CDplayer<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">This solution&nbsp;works if you long press the disc title (mediabrainz result or raw CD) and click &#8220;play now&#8221;. It does not work if you click on the first song.<br \/>For some reason, LMS doesn&#8217;t show a header inside the playlist allowing to play all songs for opml playlists.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">How to set the volume to maximum?<\/h1>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">* sudo apt-get install pimixer<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Run pimixer (or alsamixer)<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Use arrow up\/down or PgUp\/PgDn keys to adjust the volume<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">How to control the Logitech Media Server<\/h1>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Apps on Android: &#8220;Squeeze Ctrl&#8221; (payed app), &#8220;Squeeze Controller&#8221; (OK and free) and &#8220;Squeezer&#8221; (OK and free).<br \/>Apps for iPhone\/iPad: &#8220;iPeng&#8221; (difficult to configure home screen and a payed app).<br \/>From any browser. Use the IP address followed by &#8220;:9000&#8221;. E.g.:&nbsp;192.168.2.18:9000<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">Use ethernet cable or Wifi?<\/h1>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Using a network cable is preferable above a wifi connection:<\/p>\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 1rem; overflow: hidden;\">\n<li>Uploading music is much faster.<\/li>\n<li>More reliable connection (especially important for radio).<\/li>\n<li>No network configuration needed.<u><\/u><\/li>\n<\/ul>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">&nbsp;<\/h1>\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">How to put your music on the server&nbsp;<\/h1>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">On a Windows PC:&nbsp;<\/p>\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 1rem; overflow: hidden;\">\n<li>In File Explorer: right click on &#8220;this PC&#8221;.<\/li>\n<li>Click on: Add a network location<\/li>\n<li>Enter the location of your music:&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"file:\/\/raspberrypi\/InternalDisk\"><u>\\raspberrypiInternalDisk<\/u><\/a>&nbsp;or&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"file:\/\/raspberrypi\/UsbDisk\"><u>\\raspberrypiUsbDisk<\/u><\/a><\/li>\n<\/ul>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">How to synchronize with the music collection on a PC<\/h1>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">For reliability reasons it is important to have a copy of your music collection somewhere else.<br \/>Suppose you have your master collection on a Windows PC in folder &#8220;c:MyMusic&#8221;.<br \/>And the music on the Rasperry is accessible via share&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"file:\/\/raspberrypi\/Media\/Music\">\\RaspberryPiInternalDiskMusic<\/a>.<br \/>Then you can use the following batch file to make a copy (mirror) of the files from the PC on the Raspberry:<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">robocopy.exe &#8220;c:MyMusic&#8221; &#8220;\\RaspberryPiInternalDiskMusic&#8221; \/MIR<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">Help: the radio does not work<\/h1>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Sometimes no music is heard when a radio channel is selected (e.g. NPO radio 4).<br \/>The reason is that the default format of the stream for the selected radio is not supported by Logitech Media Server.<br \/>The solution is to select another stream format. This is how:<u><\/u><\/p>\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 1rem; overflow: hidden;\">\n<li>First, find an URL that works. Search in Google for example for &#8220;npo radio 4 url&#8221;. I found:&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"http:\/\/icecast.omroep.nl\/radio4-bb-mp3\"><u>http:\/\/icecast.omroep.nl\/radio4-bb-mp3<\/u><\/a><\/li>\n<li>See also:&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"https:\/\/www.mp3streams.nl\/\">https:\/\/www.mp3streams.nl<\/a><\/li>\n<li>Or look at this nice overview:&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"http:\/\/www.hendrikjansen.nl\/henk\/streaming.html\">http:\/\/www.hendrikjansen.nl\/henk\/streaming.html<\/a><\/li>\n<li>From any browser: use the IP address of the raspberry followed by &#8220;:9000&#8221;. E.g.:&nbsp;192.168.2.38:9000<u><\/u><u><\/u><\/li>\n<li>Goto menu: Radio -&gt; URL<\/li>\n<li>Now enter the URL found and press the button next to it.<\/li>\n<li>If this URL works, the next step is to add this to the favourites.<\/li>\n<li>You can do this by clicking on the M (more) button on the right hand side of the screen (only visible when you hover the mouse over the music item on the right hand side).<\/li>\n<li>Now more information for the stream is shown on the left hand side of the screen.<\/li>\n<li>Here you can click on the first item: Save to favorites. Nice user interface!<\/li>\n<li>Unfortunately, the added title is sometimes cryptic and cannot be changed easily.<\/li>\n<li>If you really want to change the title, you can change this with a text editor (as super user) on the server in:&nbsp;\/var\/lib\/squeezeboxserver\/prefs\/favorites.opml<\/li>\n<\/ul>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">&nbsp;This is the list I added for my music server:<\/p>\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 1rem; overflow: hidden;\">\n<li>NPO Radio 4:&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"http:\/\/icecast.omroep.nl\/radio4-bb-mp3\"><u>http:\/\/icecast.omroep.nl\/radio4-bb-mp3<\/u><\/a><u><\/u><\/li>\n<li>NPO Radio 4 Concerten:&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"http:\/\/icecast.omroep.nl\/radio4-eigentijds-mp3\"><u>http:\/\/icecast.omroep.nl\/radio4-eigentijds-mp3<\/u><\/a><\/li>\n<li>Classic FM:&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"http:\/\/www.classicfm.nl\/player\/classicfm.m3u\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.classicfm.nl\/player\/classicfm.m3u<\/a><\/li>\n<li>Classic FM Opera:&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"http:\/\/www.classicfm.nl\/player\/classicfm-opera.asx\"><u>http:\/\/www.classicfm.nl\/player\/classicfm-opera.asx<\/u><\/a><u><\/u><\/li>\n<li>Klara:&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"http:\/\/icecast.vrtcdn.be\/klara-high.mp3\">http:\/\/icecast.vrtcdn.be\/klara-high.mp3<\/a><\/li>\n<li>Klara continuo:&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"http:\/\/icecast.vrtcdn.be\/klaracontinuo-high.mp3\"><u>http:\/\/icecast.vrtcdn.be\/klaracontinuo-high.mp3<\/u><\/a><u><\/u><\/li>\n<\/ul>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">How to remote shutdown the Raspberry from your smartphone<\/h1>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">It is always safer to shutdown the Raspberry Pi than removing the power directly.<br \/>This reduces the risk of damaging the SD card.<br \/>This can be easily accomplished by installing&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"https:\/\/nodered.org\/\">Node-RED<\/a>&nbsp;and creating a simple program to shutdown the Raspberry.<br \/>With Node-RED it is simple to create a web page with just a shutdown button.<br \/>Using the browser on your smartphone you can pin this application to the start screen.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">See section:&nbsp;HifiBerry DAC+ DSP filter selection<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">Backup the image<\/h1>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Before you make a backup of the SD card, you may want to shrink it (e.g. to about 7Gb).<br \/>This can be done&nbsp;by installing the tool &#8220;gparted&#8221; on the Raspberry Pi.<br \/>You cannot shrink the running SD card.<br \/>The SD card must be put in an USB adapter&nbsp;inserted in a USB port.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Creating the image will take some time.<br \/>Therefore it is important to&nbsp;backup the image of the SD card to file.<br \/>On Windows you can use &#8220;Win32DiskImager&#8221;.<br \/>You can also use the exisiting &#8220;SD card copier&#8221; application (in Accessories) on the Raspberry Pi.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">I found that after putting in a copy of the SD card, Logitech Media Server only worked well after rebooting once.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">Room correction<\/h1>\n<p style=\"margin-top: 0px; margin-bottom: 1rem; font-size: 12.16px;\">Better than doing room correction by software is to treat the room. For instance with an acoustic ceiling (e.g. stosilent).<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem; font-size: 12.16px;\">The&nbsp;HifiBerry DAC+&nbsp;DSP allows you to do room correction. Also you can use the InguzEQ plugin (again).<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">When you&nbsp;unplug the power of the Raspberry Pi without a proper shutdown, you might get a problem with this card.<br \/>I got error message:&nbsp;&#8220;10 filters given, but filter bank has only 0.0 slots.&#8221; The Hifiberry forum shows that that many people have encountered the same issue.<br \/>The solution is to:<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">1. Load dacdsp-default.xml<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">2. Persist profile to EEPROM<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">3. Shutdown the Raspberry<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">4. Unplug power and reconnect power again.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<p style=\"margin-top: 0px; margin-bottom: 1rem; font-size: 12.16px;\">For configuration see the next chapter.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem; font-size: 12.16px;\">\n<p style=\"margin-top: 0px; margin-bottom: 1rem; font-size: 12.16px;\">The Inguz plugin does not work any more&nbsp;because it relies upon an old version of Mono.<br \/>Also it works only for FLAC files of your own music collection.<br \/>So, it does not work for the other sources (Spotify, radio, CD).<br \/>Still you&nbsp;could install it because of the test signals it supplies (see below).<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem; font-size: 12.16px;\">An alternative plugin for Room Correction is:&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"http:\/\/drc-fir.sourceforge.net\/\">http:\/\/drc-fir.sourceforge.net<br \/><\/a>See also:&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"http:\/\/archimago.blogspot.com\/2016\/03\/howto-logitech-media-server-brutefirdrc.html\">http:\/\/archimago.blogspot.com\/2016\/03\/howto-logitech-media-server-brutefirdrc.html<br \/>I<\/a>t is faster than Inguz plugin but it is complicated to configure.&nbsp;<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem; font-size: 12.16px;\">\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">HifiBerry DAC+ DSP configuration<\/h1>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">For making a DSP profile file I ordered the following hardware for my laptop:<br \/>*&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"https:\/\/www.aliexpress.com\/item\/4000244824209.html?spm=a2g0o.productlist.0.0.4f1cc0faQRzDvz&amp;algo_pvid=fb68de0c-7a70-4790-adeb-0a7b7fc81695&amp;algo_expid=fb68de0c-7a70-4790-adeb-0a7b7fc81695-0&amp;btsid=0b0a187915934344479683493e221b&amp;ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_\">USB-C DAC Toslink Optical AUX Audio Adapter 192kHz 24bit Headset Amplifier USB Sound Card<\/a><br \/>*&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"https:\/\/www.aliexpress.com\/item\/4000473885206.html?spm=a2g0o.productlist.0.0.2c0c61139isiAh&amp;algo_pvid=97c0b573-8cc6-436e-9019-be03df8325ac&amp;algo_expid=97c0b573-8cc6-436e-9019-be03df8325ac-0&amp;btsid=0b0a187915934342467603845e221b&amp;ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_\">2M Mini 3.5mm Plug Digital Optical Audio Cable SPDIF Optical Fiber Line To Round Mouth TOSLINK Optical Audio Connector Dropship<\/a><br \/>*&nbsp;miniDSP UMIK-1 Omni-Directional USB Measurement Calibrated Microphone or Dayton Audio UMM-6&nbsp;measuring microphone UMM-6<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">I found some issues during installation and configuration. Answers can be found on the Community pages (strangely enough not in the documentation).<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">After mounting the board, checkout:&nbsp;<a style=\"color: #224faa; text-decoration-line: underline; font-size: 12.16px; background-color: #ffffff;\" href=\"https:\/\/www.hifiberry.com\/docs\/data-sheets\/datasheet-dac-dsp\/\">https:\/\/www.hifiberry.com\/docs\/data-sheets\/datasheet-dac-dsp\/<\/a><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">It says that you must modify \/boot\/config.txt:<br \/>* sudo leafpad&nbsp;\/boot\/config.txt<br \/>* add line:&nbsp;dtoverlay=hifiberry-dac<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">The next step is to follow the installation instructions in:&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"https:\/\/www.hifiberry.com\/docs\/software\/implementing-room-acoustics-correction-using-rew\/\">https:\/\/www.hifiberry.com\/docs\/software\/implementing-room-acoustics-correction-using-rew\/<br \/><\/a>or, on Github:&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"https:\/\/github.com\/hifiberry\/hifiberry-dsp\/blob\/master\/doc\/rew-basics.md\">https:\/\/github.com\/hifiberry\/hifiberry-dsp\/blob\/master\/doc\/rew-basics.md<\/a><a style=\"color: #224faa; text-decoration-line: underline;\" href=\"https:\/\/www.hifiberry.com\/docs\/software\/implementing-room-acoustics-correction-using-rew\/\"><br \/><\/a>Currently there are small differences between these two documents.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Install the dsptoolkit:<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem; font-size: 12.16px;\">* bash &lt;(curl&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"https:\/\/raw.githubusercontent.com\/hifiberry\/hifiberry-dsp\/master\/install-dsptoolkit)\">https:\/\/raw.githubusercontent.com\/hifiberry\/hifiberry-dsp\/master\/install-dsptoolkit)<br \/><\/a>You will see that the last command fails: mv: failed to preserve ownership for &#8216;\/boot\/config.txt&#8217;: Operation not permitted<br \/>This error message can be ignored and is due to the fact that the boot folder is on a FAT partition.<br \/>Check:<br \/>* sudo leafpad \/boot\/config.txt<br \/>* Assure that the following line exists: dtparam=spi=on<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem; font-size: 12.16px;\">Reboot the Raspberry Pi.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">The DSP is loaded with&nbsp;some&nbsp;profile in the factory.<br \/>When you would install a filter right now, you get error message: &#8220;15 filters given, but filter bank has only 0 slots&#8221;.<br \/>Therefore you have to install&nbsp;the default profile first:&nbsp;<br \/>*&nbsp;dsptoolkit install-profile&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"https:\/\/raw.githubusercontent.com\/hifiberry\/hifiberry-dsp\/master\/sample_files\/xml\/dacdsp-default.xml\">https:\/\/raw.githubusercontent.com\/hifiberry\/hifiberry-dsp\/master\/sample_files\/xml\/dacdsp-default.xml<\/a><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">I found that sometimes after a power down, I cannot load filters any more. I had to reinstall the profile and reboot the Raspberry Pi!<br \/>This command seems to help: dsptoolkit store<br \/>The documentation of the dsptoolkit is not very clear about this:&nbsp;<a style=\"color: #224faa; text-decoration-line: underline; font-size: 12.16px; background-color: #ffffff;\" href=\"https:\/\/pypi.org\/project\/hifiberrydsp\/0.10\/\">https:\/\/pypi.org\/project\/hifiberrydsp\/0.10\/<\/a><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Note that the colors of the output connectors (red, white) on the DAC board are wrong. They should be reversed. So red is left!<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">&nbsp;<br \/>This profile has an automute function. This gives a problem if you play the music (or radio) very softly.<br \/>This is very annoying. In the Community pages of Hifiberry.com this issue is mentioned and it is advised to load profile&nbsp;dspdac-noautomute.xml.<br \/>However, this profile creates a DC offset of 1V at the output. No idea why. This gave me a problem with my amplifier.&nbsp;The profile also does not work.<br \/>I made an issue for this. This is there answer: &#8220;We don&#8217;t work on this profile anymore. The profile is provided as-is. There won&#8217;t be any further updated from us on this profile.&#8221;<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">The next thing to do is to download the program REW and create your profile as described in this&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"https:\/\/www.hifiberry.com\/docs\/software\/implementing-room-acoustics-correction-using-rew\/\">documentation<\/a>.<br \/>Note that the DSP supports 16 filters at maximum.<br \/>You might prevent REW creating more filters by disabling 5 filters in the Settings menu.<br \/>The nice thing is that you can modify the desired curve. You can filters with different slopes and try out what sounds best for you.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">For creating your own profile, see&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"https:\/\/github.com\/hifiberry\/hifiberry-dsp\/blob\/master\/doc\/dspprofiles.md\">this&nbsp;<\/a>documentation.<br \/>Sample profiles can be found&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"https:\/\/github.com\/hifiberry\/hifiberry-dsp\/tree\/master\/sample_files\/xml\">here<\/a>.<br \/>Sample profiles projects can be found&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"https:\/\/github.com\/hifiberry\/hifiberry-dsp\/tree\/master\/sample_files\/dspproj\">here<\/a>.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">&nbsp;<img decoding=\"async\" style=\"vertical-align: middle;\" src=\"https:\/\/www.scratchart.nl\/images\/MediaServer\/Roomcorrection_RedSpeaker.jpg\" alt=\"\" width=\"1039\" height=\"835\"><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">And the result in one word: fabulous!<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">HifiBerry DAC+ DSP filter selection<\/h1>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Once you have created one or more room correction filters, you want to be able to select them from your phone or tablet.<br \/>This can be easily accomplished by a simple program in&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"https:\/\/nodered.org\/\">Node-RED<\/a>.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">You can follow these steps:<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Create a folder for the filter&nbsp;files and export this folder via Samba:<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">* sudo mkdir \/media\/internaldisk\/roomcorrection<br \/>* sudo chmod 777 \/media\/internaldisk\/roomcorrection<br \/>* sudo leafpad \/etc\/samba\/smb.conf<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Add following section and reboot afterwards:<br style=\"font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px;\">[RoomCorrection]<br style=\"font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px;\">&nbsp;comment=Room correction files<br style=\"font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px;\">&nbsp;path=\/media\/internaldisk\/roomcorrection<br style=\"font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px;\">&nbsp;browseable=Yes<br style=\"font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px;\">&nbsp;writeable=Yes<br style=\"font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px;\">&nbsp;only guest=no<br style=\"font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px;\">&nbsp;create mask=0777<br style=\"font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px;\">&nbsp;directory mask=0777<br style=\"font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px;\">&nbsp;public=yes<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Install Node-RED:<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">* sudo apt-get update<br \/>* sudo apt-get upgrade<br \/>* bash &lt;(curl -sL&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"https:\/\/raw.githubusercontent.com\/node-red\/linux-installers\/master\/deb\/update-nodejs-and-nodered)\">https:\/\/raw.githubusercontent.com\/node-red\/linux-installers\/master\/deb\/update-nodejs-and-nodered)<\/a><br \/>*&nbsp;sudo systemctl enable nodered.service<br \/>* reboot<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">By adding a setting in settings.js,&nbsp;flow variables are saved automatically every 30 seconds:<br \/>* leafpad&nbsp;.node-red\/settings.js<br \/>Add setting:<br \/>&nbsp; &nbsp; contextStorage: { default: { module:&#8221;localfilesystem&#8221; }, },<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Now it is time to reboot the Raspberry.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Show the editor: launch a web browser and type in the address bar: &lt;ip address raspberry&gt;:1880<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Install &#8220;Dashboard&#8221; plugin: click on the menu button (three horizontal line in upper right corner) and Manage Palette.<br \/>Click on &#8220;Install&#8221; and type &#8220;dashboard&#8221; in the search bar. Install:&nbsp;node-red-dashboard<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Import the program:&nbsp;click on the menu button (three horizontal line in upper right corner), Import and paste the code from&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"https:\/\/www.scratchart.nl\/images\/MediaServer\/flow-control-DSP-filters.txt\" target=\"_blank\" rel=\"noopener noreferrer\">this&nbsp;<\/a>file.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Install the program: click on the Deploy button in the upper right corner.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Show user interface in your browser:&nbsp;launch a web browser and type in the address bar: &lt;ip address raspberry&gt;:1880\/ui<br \/>Your browser on your phone and tablet has an option to add this page to your start screen.&nbsp;<br \/>Now it behaves as an app. It has three tabs (or pages). One allows you to shutdown\/reboot the Raspberry.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Example screenshot<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\"><img decoding=\"async\" style=\"vertical-align: middle;\" src=\"https:\/\/www.scratchart.nl\/images\/MediaServer\/Screenshot_filter_selection_app.jpg\" alt=\"\"><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">HifiBerry DAC+ DSP power supply modification<\/h1>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">3D printed case for Raspberry Pi 3B and HifiBerry DAC+ DSP, designed by Alfred Homsma. You can download the 3D files&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"https:\/\/www.scratchart.nl\/images\/MediaServer\/3D_CAD_case.zip\">here<\/a>.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\"><img decoding=\"async\" style=\"vertical-align: middle;\" src=\"https:\/\/www.scratchart.nl\/images\/MediaServer\/HifiBerryDACDSP_case.jpg\" alt=\"\" width=\"667\" height=\"446\"><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">This DAC supports room correction.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Although&nbsp;the board has a voltage regulator, this does not work well for higher frequencies.<br style=\"font-size: 12.16px;\">So adding a passive filter before the voltage regulator assures that the noise from the Raspberry doesn&#8217;t reach the DAC.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Due to the DSP, the power consumption&nbsp;of this model is higher than the DAC+ Pro.<br \/>Therefore the resistor of 22 Ohm is not possible here.<br \/>The 3.3V input regulator on the board requires an input voltage of at least 4.2 V.<br \/>The Raspberry Pi voltage is&nbsp;at least 5.1V.<br \/>Therefor the voltage drop over the inductor is about 0.9V.<br \/>With an average current consumption of 0.2A, the resistance of the inductor should be no more than 4.5 Ohm.<br \/>The pin layout of the Raspberry Pi can be found&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"https:\/\/www.raspberrypi-spy.co.uk\/2012\/06\/simple-guide-to-the-rpi-gpio-header-and-pins\/\">here<\/a>.<br \/>Do not place the&nbsp;capacitors above the hot electronic devices (voltage regulators)!<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\"><img loading=\"lazy\" decoding=\"async\" style=\"vertical-align: middle;\" src=\"https:\/\/www.scratchart.nl\/images\/MediaServer\/PowerSupplyDAC-DSP.jpg\" alt=\"\" width=\"607\" height=\"207\"><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">First cut the +5V track.<br \/>The filter consists of&nbsp;two inductors of 470 uH and two&nbsp;capacitors of 4700 uF\/10V (Conrad art.number&nbsp;422027).<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\"><img decoding=\"async\" style=\"vertical-align: middle;\" src=\"https:\/\/www.scratchart.nl\/images\/MediaServer\/Cut5V.jpg\" alt=\"\"><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\"><img loading=\"lazy\" decoding=\"async\" style=\"vertical-align: middle;\" src=\"https:\/\/www.scratchart.nl\/images\/MediaServer\/HifiBerryDacDspPowerSupply.jpg\" alt=\"\" width=\"811\" height=\"435\"><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">How to configure the Inguz EQ plugin<\/h1>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">The Inguz EQ plugin is available again!<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">I didn&#8217;t try&nbsp;the new plugin yet.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Inguz EQ&nbsp;is a plugin for supplying equalizer functionality and DRC (Digital Room Correction).<br \/>It also supplies test signals like left\/right identifier, noise, etc. Very nice!<br \/>Those test signals are a good reason to install this plugin anyway!<br \/>Once installed, you can find them in menu: Extras &#8211;&gt; EQ &#8211;&gt; Settings &#8211;&gt; Test Signals<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">But you can configure the plugin (equalizer, room correction) from your app on your phone or tablet.<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Create a folder for the room correction files:<br \/>sudo mkdir \/usr\/share\/InguzEQ<br \/>sudo chmod 777 InguzEQ<br \/>sudo mkdir \/usr\/share\/InguzEQ\/Impulses<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">When sharing this folder for everyone, also change the&nbsp;folder permission:<br \/>sudo chmod 777 \/usr\/share\/InguzEQ\/Impulses<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">Make a share for the room correction Impulses folder:<br \/>sudo leafpad \/etc\/samba\/smb.conf<br \/>Add section:<br \/>[Impulses]<br \/>&nbsp;comment=Room correction files<br \/>&nbsp;path=\/usr\/share\/InguzEQ\/Impulses<br \/>&nbsp;browseable=Yes<br \/>&nbsp;writeable=Yes<br \/>&nbsp;only guest=no<br \/>&nbsp;create mask=0777<br \/>&nbsp;directory mask=0777<br \/>&nbsp;public=yes<\/p>\n<h2 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">&nbsp;<\/h2>\n<h1 style=\"color: #22262a; margin-top: 0px; margin-bottom: 0.5rem; font-weight: bold; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">How to create a DRC correction file for InguzEQ<\/h1>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">This can be done using one of the following tools:<\/p>\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 1rem; overflow: hidden;\">\n<li>DrcDesigner:&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"http:\/\/www.alanjordan.org\/DRCDesigner\/DrcDesignerHelp.html\">http:\/\/www.alanjordan.org\/DRCDesigner\/DrcDesignerHelp.html<\/a><br \/>This tool works nicely.<br \/>One quirk: on the tab &#8220;Generate Standard Filters&#8221;, the button &#8220;Generate Selected Filters&#8221; becomes active only after reselecting the Sampling Rate.<br \/>The generated correction files can be found in: c:DRCDesignerConvolverFilters<\/li>\n<\/ul>\n<ul style=\"padding-left: 2rem; margin-top: 0px; margin-bottom: 1rem; overflow: hidden;\">\n<li>RoomEQ wizard:&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"http:\/\/www.roomeqwizard.com\/\">http:\/\/www.roomeqwizard.com<\/a><\/li>\n<li>Align:&nbsp;<a style=\"color: #224faa; text-decoration-line: underline;\" href=\"http:\/\/www.ohl.to\/about-audio\/audio-softwares\/align\">http:\/\/www.ohl.to\/about-audio\/audio-softwares\/align<br \/><\/a>The web site is in French, but the tool is in English.<\/li>\n<\/ul>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">For Inguz EQ plugin, room correction files (44100 hz) must be saved to: \/usr\/share\/InguzEQ\/Impulses<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n<p style=\"margin-top: 0px; margin-bottom: 1rem;\">\n","protected":false},"excerpt":{"rendered":"<p>Building a Lyrion\/Logitech Media Server Recipe for building a media server using Lyrion Media Server (formerly Logitech Media Server) and a HifiBerry DAC card, Spotify, YouTube&nbsp;and a USB CD\/DVD player.Originally I started this page as a log book for myself. There is so much to configure! Alternatives (in most cases much easier to configure than [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-56","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.scratchart.nl\/index.php\/wp-json\/wp\/v2\/pages\/56","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scratchart.nl\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.scratchart.nl\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.scratchart.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scratchart.nl\/index.php\/wp-json\/wp\/v2\/comments?post=56"}],"version-history":[{"count":5,"href":"https:\/\/www.scratchart.nl\/index.php\/wp-json\/wp\/v2\/pages\/56\/revisions"}],"predecessor-version":[{"id":76,"href":"https:\/\/www.scratchart.nl\/index.php\/wp-json\/wp\/v2\/pages\/56\/revisions\/76"}],"wp:attachment":[{"href":"https:\/\/www.scratchart.nl\/index.php\/wp-json\/wp\/v2\/media?parent=56"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}