Sudo apt-get install logitech media server
You can normally do this with your routers web interface, or by setting the network configuration of your server the router method is normally the easiest. To add music to our folder over the home network we need samba to share a folder. Restart the service with sudo service smbd restart and test the smb.
Install squeezelite player via the systems package manager sudo apt-get intsall squeezelite. I recommend instead building from the source code. Now run squeezelite -l which should list the available audio devices. Running squeezelite from the console will start the program.
If you are like me running squeezelite from the console works - it should appear as a player under the LMS webpage. The problem here is I would need to log in and run the command every time. It's far better to run this as a service that starts automatically on boot. The service should be installed via the package mangager but the default configuration probably does not work.
I think this is becuase the default sound card option is via pulse audio and this cannot be run as root. This is the direct hardware option and it is the one we want. Restart the service with sudo service squeezelite restart and hopefully it is all working.
Since the server is headless we don't need to waste resources running the GUI. Switch to console login via sudo systemctl set-default multi-user. Vortexbox automatically ripped CDs when inserted. See here for my version that uses abcde. Since I don't log in to the machine very often via SSH, the updates can get very far behind. I've therefore enabled auto-update. Install with sudo apt-get install unattended-upgrades -y and sudo apt-get install update-notifier-common -y.
I'd recommend enabling the email notifications. I suspect the pulseaudio might be the problem and it might need to be disabled. Since we aren't using the desktop, this should be ok. Do not uninstall pulseaudio as some forums suggest. Note the removal of the ;. My system now seems stable, however, its hard to say if it was pulseaudio or rebuilding the squeezelite from source that solved the problem. If you still have problems, it might be an idea to increase the ASLA buffersize. You may receive a warning about the package not being authenticated.
Just answer Y to continue with the installation. When prompted for a password please leave it blank. Next click on the Add button. Then type or paste one of the following three strings into the APT line: on the dialog box:. Then click the Add Source button, then Close and then click the Reload button. Choose any additional packages too and then click the Apply button and then the Apply button once again for confirmation.
Just follow the prompts and you should be good to go. With previous versions you had to do this manually. With this new version you are given the opportunity to perform the restart using the GUI.
If you want to stop Logitech MediaServer for any reason then use stop instead of restart in the command above. To start the service again use start. Skip to content havetheknowhow. I strongly recommend hooking up to ethernet first or booting with a monitor keyboard and mouse to select your wifi network. You can either turn it on by writing a file named ssh to the boot directory or you can enable it after you boot into the GUI by passing the command:.
Turn WIFi on like below. Put the mouse over the up and down arrows on the toolbar. Mine is connected to ethernet. Once connected open terminal the fourth icon from the left on the top toolbar that looks like a black terminal and type the following commands one at a time. From there you go to mysqueezebox. Once you have an account you can add streaming services such as Spotify, Tidal, Pandora, TuneIn Radio, Shoutcast, among several others.
Those are the ones I have used or currently use now. Runs real nice on a Pi 3. So if this is going to be a stand alone LMS lets do this. If you intend to install LMS on another computer you can skip this.
I have directions below for just adding a squeezelite player. Now type and make sure your file names are right, cut and paste with links is weird sometimes They change the version numbers frequently. These file names and numbers will be different in a couple days. Adjust accordingly.
The last command there will install LMS on directly on your Pi and it should start automatically. The way to access it is any browser on the same network with the IP address of your Pi plus i. Where can I get the latest installation files for Logitech Media Server and how do I install properly?
I am running it on a Raspberry Pi 2 and I had to re-install it several times due to a failing SD card. So I will answer this question mostly as a reminder for myself.
It is availlable here. You can find an overview of several other versions here. Copy the link to a file according to your system into clipboard. Download the file to your system with wget link. Install the file with sudo dpkg -i file. This will fail to install due to missing dependencies. This includes directories for the media library but also settings for local clients, like the size of the information shown in the display of an old Squeezebox Boom.
In case you want to avoid setting up everything new you can override server. To be able to do this you have to sudo systemctl stop logitechmediaserver.
Also, locations for Playlists should be chmod If you use a firewall like ufw handling ports is explained here. I upgraded to Ubuntu After some tempering around, I considered to do a fresh install.
Then I got me a fresh deb-packet for version 8. Personally I used the most plattform version but depending on plattform just select a fitting deb:. As I tried older versions too and even tried a git checkout I hope I lack no detail another script has already done for me without noticing it. It simply does not work, as Ubuntu I tried a C implementation for this program, but it had it hinges so I dropped the start-stop-daemon and modified the startup program arcordingly.
0コメント