Logitec Media Server plugin for Volumio

After two steps forward in the last post, here’s the one step back. Whenever I play a track on squeezelite, there’s a noticeable pop in the first few seconds, which is disruptive to the listening experience. I’ve tried a wide range of parameters and both the ALSA and I2S output devices.

There is no pop if I play the track either using volumio’s upnp player or use the digital out from my Squeezebox touch, so it does appear to be related to the SqueezeLite plugin :frowning:

Has anyone run into this? Did you find a solution?

Thanks,
Mike

1 Like

I am new to Volumio and downloaded the LMS player through the plug-in page but I can’t open it and get the attached error.

I am not a Linux expert which is why I am looking at using Volumio.

Can you access your rPi ip over port 9000?

1 Like

You have just jumped up to a new language for me. I have no idea how to do that.

I was hoping the plug in would have worked.

Which version of LMS did you install?

yeah topic and first post raises some contradiction.

To run LMS you need two parts:

  • LMS server
  • LMS player

Your topic suggest you installed the server plugin, your first comment is regarding the player.

This is what I installed.

You could try the Docker edition by first enabling the Plugins Test Mode in http://<your volumio address>/dev

Then uninstall the LMS plugin you installed, restart Volumio, then install the LMS - Docker version.

2 Likes

Thanks that has worked but now I also need to load a player. Edit - found the plug-in.

First impression is that Volumio is better

Kind regards,
Peter

Hi everyone, both normal and “dockerised” version of LMS plugin doesn’t work on my volumio 3.324 installation, even after a fresh system reset. Can’t access it over port 9000. It was working a couple of months before
Please help since it’s the best piece of software for my primo
Thank you by advance

here is my log trying to turnaroud

Starting Live Log...

info: CoreCommandRouter::volumioGetState
info: CorePlayQueue::getTrack 0
info: CoreCommandRouter::volumioGetQueue
info: CoreStateMachine::getQueue
info: CorePlayQueue::getQueue
info: CoreCommandRouter::executeOnPlugin: system , getHwuuid
info: CALLMETHOD: system_controller system enableLiveLog true
info: CoreCommandRouter::executeOnPlugin: system , enableLiveLog
info: Launching a new LiveLog session
 volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig eth0
 volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0
pam_unix(sudo:session): session opened for user root by (uid=0)
pam_unix(sudo:session): session opened for user root by (uid=0)
pam_unix(sudo:session): session closed for user root
pam_unix(sudo:session): session closed for user root

 volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig eth0
pam_unix(sudo:session): session opened for user root by (uid=0)
 volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0
pam_unix(sudo:session): session opened for user root by (uid=0)
pam_unix(sudo:session): session closed for user root
pam_unix(sudo:session): session closed for user root

info: CoreCommandRouter::volumioGetState
info: CorePlayQueue::getTrack 0
info: CoreCommandRouter::executeOnPlugin: multiroom , getMultiroom
info: Error : CoreCommandRouter::executeOnPlugin: No method [getMultiroom] in plugin multiroom
info: CoreCommandRouter::volumioGetVisibleSources
info: CoreCommandRouter::executeOnPlugin: my_music , getDisabledSources
info: Listing playlists
info: CoreCommandRouter::executeOnPlugin: appearance , getUiSettings
info: CoreCommandRouter::executeOnPlugin: wizard , getShowWizard
info: CoreCommandRouter::executeOnPlugin: system , getShowWizard
info: CoreCommandRouter::executeOnPlugin: system , getPrivacySettings
info: CoreCommandRouter::executeOnPlugin: my_volumio , getMyVolumioStatus
info: CoreCommandRouter::executeOnPlugin: my_volumio , getMyVolumioStatus
info: CoreCommandRouter::executeOnPlugin: my_volumio , getMyVolumioStatus
info: CoreCommandRouter::executeOnPlugin: my_volumio , getMyVolumioToken
info: CoreCommandRouter::getUIConfigOnPlugin
info: [lmsde] Executing Docker command: docker inspect -f '{{ json . }}' logitechmediaserver
 volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/docker inspect -f {{ json . }} logitechmediaserver
pam_unix(sudo:session): session opened for user root by (uid=0)
pam_unix(sudo:session): session closed for user root
info: Received Get System Version
info: CoreCommandRouter::executeOnPlugin: system , getSystemVersion
info: CoreCommandRouter::executeOnPlugin: my_volumio , getMyVolumioStatus
info: CoreCommandRouter::executeOnPlugin: my_volumio , getMyVolumioToken
info: [lmsde] Executing script: /opt/lmsde/lms.sh stop
 volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/opt/lmsde/lms.sh stop
pam_unix(sudo:session): session opened for user root by (uid=0)
pam_unix(sudo:session): session closed for user root
info: [lmsde] Executed /opt/lmsde/lms.sh stop
info: Disabling plugin lmsde
info: Done.
info: Enabling plugin lmsde
info: Loading plugin "lmsde"...
info: PLUGIN START: lmsde
info: [lmsde] Executing script: /opt/lmsde/lms.sh start
 volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/opt/lmsde/lms.sh start
pam_unix(sudo:session): session opened for user root by (uid=0)
EXT4-fs (dm-1): mounted filesystem with ordered data mode. Opts: (null)
time="2022-09-17T17:57:38.429048599Z" level=info msg="loading plugin \"io.containerd.event.v1.publisher\"..." runtime=io.containerd.runc.v2 type=io.containerd.event.v1
time="2022-09-17T17:57:38.429384599Z" level=info msg="loading plugin \"io.containerd.internal.v1.shutdown\"..." runtime=io.containerd.runc.v2 type=io.containerd.internal.v1
time="2022-09-17T17:57:38.429451974Z" level=info msg="loading plugin \"io.containerd.ttrpc.v1.task\"..." runtime=io.containerd.runc.v2 type=io.containerd.ttrpc.v1
time="2022-09-17T17:57:38.430021890Z" level=info msg="starting signal loop" namespace=moby path=/run/containerd/io.containerd.runtime.v2.task/moby/2d874044810dc56f4f99c0d3106669e52ebf76e33b9c0fcfadef2f51bb32047f pid=2214 runtime=io.containerd.runc.v2
time="2022-09-17T17:57:38.697858224Z" level=error msg="add cg to OOM monitor" error="cgroups: memory cgroup not supported on this system"
pam_unix(sudo:session): session closed for user root
info: [lmsde] Executed /opt/lmsde/lms.sh start
info: Done.
time="2022-09-17T17:57:42.368865017Z" level=info msg="shim disconnected" id=2d874044810dc56f4f99c0d3106669e52ebf76e33b9c0fcfadef2f51bb32047f
time="2022-09-17T17:57:42.368944642Z" level=info msg="ignoring event" container=2d874044810dc56f4f99c0d3106669e52ebf76e33b9c0fcfadef2f51bb32047f module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
time="2022-09-17T17:57:42.370700184Z" level=warning msg="cleaning up after shim disconnected" id=2d874044810dc56f4f99c0d3106669e52ebf76e33b9c0fcfadef2f51bb32047f namespace=moby
time="2022-09-17T17:57:42.370976392Z" level=info msg="cleaning up dead shim"
time="2022-09-17T17:57:42.391780392Z" level=warning msg="cleanup warnings time=\"2022-09-17T17:57:42Z\" level=info msg=\"starting signal loop\" namespace=moby pid=2276 runtime=io.containerd.runc.v2\n"
var-lib-docker-containers-2d874044810dc56f4f99c0d3106669e52ebf76e33b9c0fcfadef2f51bb32047f-mounts-shm.mount: Succeeded.
var-lib-docker-devicemapper-mnt-21706d1e5bb9af29a9fdd0a7053416f89e2a06132b7f73ba2e1642ebc373b3d6.mount: Succeeded.
info: CoreCommandRouter::getUIConfigOnPlugin
info: [lmsde] Executing Docker command: docker inspect -f '{{ json . }}' logitechmediaserver
 volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/docker inspect -f {{ json . }} logitechmediaserver
pam_unix(sudo:session): session opened for user root by (uid=0)
pam_unix(sudo:session): session closed for user root`Preformatted text`

I get message “Server is not running - this si not normal when the plugin is enabled”
This log is for last beta 3.357 that i tried to install to see if it helped

I uninstalled docker version and reinstall sayiato version


info: CoreCommandRouter::volumioGetState
info: CorePlayQueue::getTrack 0
info: CoreCommandRouter::volumioGetQueue
info: CoreStateMachine::getQueue
info: CorePlayQueue::getQueue
info: CoreCommandRouter::executeOnPlugin: system , getHwuuid
info: CoreCommandRouter::getUIConfigOnPlugin
info: CoreCommandRouter::executeOnPlugin: appearance , getConfigParam
info: Received Get System Version
info: CoreCommandRouter::executeOnPlugin: system , getSystemVersion
info: CoreCommandRouter::executeOnPlugin: my_volumio , getMyVolumioStatus
info: CoreCommandRouter::executeOnPlugin: my_volumio , getMyVolumioToken
info: CoreCommandRouter::getUIConfigOnPlugin
info: Loaded the previous config.
info: CoreCommandRouter::executeOnPlugin: my_volumio , getMyVolumioStatus
info: CoreCommandRouter::executeOnPlugin: my_volumio , getMyVolumioToken
 volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/systemctl stop logitechmediaserver
pam_unix(sudo:session): session opened for user root by (uid=0)
pam_unix(sudo:session): session closed for user root
info: logitechmediaserver stopped
info: Disabling plugin lms
info: Done.
info: Enabling plugin lms
info: Loading plugin "lms"...
info: PLUGIN START: lms
 volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/systemctl restart logitechmediaserver
pam_unix(sudo:session): session opened for user root by (uid=0)
Starting Logitech Media Server Daemon...
------------------------------------ BT MESSAGE: BT STATUS: running
Started Logitech Media Server Daemon.
pam_unix(sudo:session): session closed for user root
logitechmediaserver.service: Failed to execute command: No such file or directory
logitechmediaserver.service: Failed at step EXEC spawning /usr/sbin/squeezeboxserver: No such file or directory
logitechmediaserver.service: Main process exited, code=exited, status=203/EXEC
logitechmediaserver.service: Failed with result 'exit-code'.
info: logitechmediaserver started
info: Done.
51.158.147.92 local addr 192.168.1.117 -> 
91.224.149.41 local addr 192.168.1.117 -> 
Starting Cleanup of Temporary Directories...
------------------------------------ BT MESSAGE: BT STATUS: running
systemd-tmpfiles-clean.service: Succeeded.
Started Cleanup of Temporary Directories.

here it looks like LMS is even not installed :frowning:
It’s a shame, i came to LMS plugin because I was not convinced by certain strange behaviour and bug of spotify plugin + spotify connect within volumio
Alternatively, I tested the UMS boot method to try a “come back to 2.9 version” without any success (maybe not the right cable or board problem)
Things are really complicated and I’m a good level nerd, i’m really fed up

1 Like

For Docker version, see if LMS logs capture any error. The log file path should be:

/var/lib/docker/volumes/logitechmediaserver-config/_data/logs/server.log

In SSH, you would have to sudo to see it:

sudo cat /var/lib/docker/volumes/logitechmediaserver-config/_data/logs/server.log

Would someone please explain what Docker version is?

Would someone please explain what Docker version is?

Docker is a piece of software that allow to install mostly any other software in any environment by providing the full execution environment a.k.a container including tiny OS (often alpine linux) and all needed dependencies. the purpose is slightly different from running it in a virtual machine or in a particular OS since if you update the container, all the dependencies are also updated. It’s top notch, - easy to deploy configure and maintain - virtualization technology, perfect for headless server and productive environment

1 Like

Thank you for the explanation. That is helpful.

Is there any requirement to update Docker when Linux updates? Or hopefully it updates at the same time.

1 Like

it depends but generally you don’t need

1 Like

It all seems to be getting a bit tedious trying to get LMS running properly on Volumio 3. My use case for Volumio is as a Spotify connect endpoint and LMS to be able to use the BBC Sounds plug-in. My desktop streaming DAC/pre-amp does not support either of these. It is a Roon endpoint and I use this for access to my local music library.

I think I’ll be dropping Volumio and giving something like piCorePlayer as this seems to do everything that I need.

I also have problem with logitech media server like chourmovs_vs
Everything was ok with Sayato LMS, but I wanted to try Docker LMS.
Now, I can’t access it over port 9000 with both version of LMS.

At least it make me feel less alone, thank you for having share