Logitec Media Server plugin for Volumio

Yep, it’s working now. :+1:
Please add as last command

rm dstmmix.zip
1 Like

done thank you

Hello advanced users friends

For my plugin project, I will need to cross compile sources to provide different binaries on a maximum of machines with different architectures and thus propose multi-arch plugin
The sources of “Bliss analyser” by cdrummond are intended to be compiled by RUST and the cross compilation can be complicated if you don’t own the target machine.

To help me
Install dependencies
apt install -y clang libavcodec-dev libavformat-dev libavutil-dev libavfilter-dev libavdevice-dev pkg-config

Install rust on your volumio
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

download sources
wget https://github.com/CDrummond/bliss-analyser/archive/refs/tags/0.2.1.zip

Unzip it
miniunzip 0.2.1.zip

Place in the good folder
cd bliss-analyser-0.2.1

source "$HOME/.cargo/env"
cargo build --release

Send me a message or put a link (gdrive,wetransfer…etc) to send me the binary and tell me your architecture, you’ll find the file to send in /target/release/ folder under the name of “bliss-analyser”

Thanks in advance

Shouldn’t you not just deal with this in the install.sh script, of your plugin?

I thought about it but the process of installing rust and compile source is somewhat heavier and longer than average plugin installation work, especially on low CPU machine
Another way for me could be to deal with rust builtin target cross compilation but it’s more risky in term of quality and I have to master the tool a way more than I do today

Just mentioning it, If people decide to have LMS on a low CPU, the price is waiting for the compile.
Otherwise you’ll have a lot of work keep everything up to date. Architecture will be reasonable stable but rev’s. won’t.

You have to notice that compiling something in a plugin install or after, prevent it to be one day in the store…
So compile all you need and include it in the plugin or link it in install.sh to download it when installing.
The max size for the final zip is <10Mo
For more information, have a look at the plugin Dev doc : https://developers.volumio.com/

Balbuze I sent you a PM and push a pull request on git (probably too anticipated), don’t hesitate to be rude if I am completely wrong on my whole process or if you need more explanations
Thank you for your answers and indications

I don’t use to be rude :stuck_out_tongue_winking_eye:!
BTW I’ll have look asap! (this weekend…)

Updated to freshly released official LMS 8.3.0

1 Like

Plugin submited in test/dev section of plugin manager.:tada:
Thx to Balbuze for his nice support to fix undefined ip in wlan0 network :heart:

1 Like

i have installed your dstmmix 1.0.1 on Rpi 4. Everything ok.
I installed Saiyato squeezelite player 1.1.6
your LMS need a lot of time to find player
but then the sound is very good
in other room I have squeezebox Touch which connect to your LMS perfectly.

Hi. No need of squeezelite, i invite you to try local player plugin within LMS to attack directly your soundcard. As explained before: volumio + fusiondsp to manage your soundcard, and LMS to serve music and mix it in a very reliable way. This is the best combo from far.


yes, you are right.
I didnt know that local player is the plugin of LM server.
Thanks for help.

A post was merged into an existing topic: [PLUGIN] DstmMix

This topic is intended for Logitech Media Server plugin.
If you want support on dstmmix, move to the correct topic.

A post was merged into an existing topic: [PLUGIN] Logitech Media Server - Docker Edition

Volumio version 3.423
RPi Linux volumio 5.10.92-v7+ #1514 SMP Mon Jan 17 17:36:39 GMT 2022 armv7l GNU/Linux

I tried installing the LMS plugin via the plugin interface but installation failed with only this text:

Installing plugin

An error occurred while installing the plugin Error

  • Hide details

Downloading plugin at https://plugins.volumio.workers.dev/pluginsv2/downloadLatestStable/lms/volumio/buster/armhf
END DOWNLOAD: https://plugins.volumio.workers.dev/pluginsv2/downloadLatestStable/lms/volumio/buster/armhf
Creating install location
Unpacking plugin
Checking that the plugin is suitable for this version of Volumio The plugin can be used with this version of Volumio
Checking for duplicate plugin
Copying plugin to location
Installing necessary utilities
An error occurred while installing the plugin Error

Nothing more. However afterward it shows up as an installed plugin, but inactive. There’s an uninstall button but it can’t uninstall because the plugin can’t be stopped “in a fashionable manner Error undefined” It can’t be stopped because it can’t be started “in a fashionable manner.”

I can remove it only by deleting its directory under /data/plugin

Anyone know a fix? Anyone know how I can at least see what’s failing? I can’t find a log.

Seems the LMS plugin are generating issues, you can also opt to install LMS along Volumio.

A post was merged into an existing topic: Installing LMS along Volumio