[{ALLOW view All}]
[{ALLOW edit Markus}]
25.10.2024
!!Logitech Squeezebox Radio
!Logitech
The public media server at www.mysqueezebox.com was retired early 2024. You need to have your own one for the Radio now.\\
It is pretty easy to install the [Logitech Media Server||https://lms-community.github.io/lms-server-repository/] / [Lyrion Musik Server|https://lyrion.org/lms-server-repository/]\\
See also [forum1|https://forums.slimdevices.com/forum/user-forums/deutsch/1668931-mysqueezebox-com-und-uesmartradio-com-infrastruktur] | [forum2|https://forums.slimdevices.com/forum/user-forums/general-discussion/1668327-uesmartradio-com-and-mysqueezebox-com-servers] | [LMS Getting Started|https://lms-community.github.io/getting-started/]\\

I followed more or less [StepByStep Instructions by Harald Kreuzer|https://www.haraldkreuzer.net/aktuelles/logitech-media-server-auf-dem-raspberry-pi-4b-mit-5-zoll-display-installieren] to install on my PI5

Disable swap file
{{{
sudo service dphys-swapfile stop
sudo systemctl disable dphys-swapfile
sudo apt-get purge dphys-swapfile
sudo apt autoremove

sudo vi /boot/firmware/cmdline.txt
ADD at the end of line >noswap<
console=[...] noswap

sudo vi /etc/fstab
ADD:
# Log to RAM
tmpfs   /tmp            tmpfs   defaults,noatime,nosuid,mode=1777,size=256m 0 0
tmpfs   /var/log        tmpfs   defaults,noatime,nosuid,mode=0755,size=128m 0 0
tmpfs   /var/tmp        tmpfs   defaults,noatime,nosuid,mode=0755,size=128m 0 0
}}}

! Install LMS for music (only)
{{{
sudo apt-get install libsox-fmt-all libflac-dev libfaad2 
sudo apt-get install libio-socket-ssl-perl 
sudo apt-get install libcrypt-openssl-bignum-perl 
sudo apt-get install libcrypt-openssl-random-perl 
sudo apt-get install libcrypt-openssl-rsa-perl 
# download ARM version Debian !
wget https://downloads.slimdevices.com/LogitechMediaServer_v8.5.0/logitechmediaserver_8.5.0_arm.deb
(note: NOT the ARM tgz = .tar.gz => tar xvf *.tgz)
sudo dpkg -i logitechmediaserver_8.5.0_arm.deb
# to test at window you need lame too
sudo apt-get -y install lame
}}}

[LMS Commands|https://mystupidnotes.com/common-logitech-media-server-lms-commands/]
{{{
sudo service logitechmediaserver start
sudo service logitechmediaserver stop
sudo service logitechmediaserver restart
}}}

WebGUI: [http://raspberrypi5:9000/]
You can listen to selected stream with [http://raspberrypi5:9000/stream.mp3]

Enable at radio\\
Settings in radio see [https://lms-community.github.io/getting-started/migrate-from-uesr-de/]

Note: if you have issues with DHCP or DNS or that the radio looses connection to LMS frequently (especially after sleep mode) then do a factory reset and reconnect!

UPNP/DLNA => Settings > Plugins verwalten > enable "UPnP/DLNA Media Interface (v1.0)

!Custom URL 
Note: WebGUI > Radio > URL laden - does not save the URL
# Create m3u file like
format:
{{{
#EXTM3U  <= must be first line 
#EXTINF:<seconds>,<track title>
}}}

examples:
{{{
#EXTM3U
#EXTINF:295,Starlight Express - AC/DC
MyCDs\Starlight Express - Starlight Express, Bochum 1991\Starlight Express - 05 ACDC.mp3
}}}
{{{
#EXTM3U
#EXTINF:0,Radio BOB
http://streams.radiobob.de/bob-national/mp3-192/mediaplayer
}}}
2. copy in the folder which is configured in settings > Grundeinstellungen > Wiedergabenlisten-Ordner\\
3. After changes: Settings > "Durchsuchen starten" (auch für Wiedergabelisten)\\
4. At radio you can choose Eigene Musik > Wiedergabelisten; you can even save that as favorite\\