I'm not aware of a specific tutorial. Your starting point should be the
slightly outdated wiki for debian installs  -
https://wiki.slimdevices.com/index.php/Debian_Package.html

The current stable LMS versions is 8.3 (select this from the offered
downloads).

I run LMS in a plain debian container (LXC) under proxmox, this is
lightweight and adds no appreciable overhead.  The only wrinkle is
accessing your local library (presumably on an OMV share) from LMS.  In
proxmox/LXC you'll need to run a privileged container if you want to use
CIFS or NFS shares to access your files.  Arguably a VM would be
slightly better security than a privileged LXC container, but if
everything's on the one machine you may not be concerned (unless you
plan to expose your LMS instance outside of your home!).  If your music
library is accessible via host directory then you could also use a bind
mount from your LXC container.  This will need a little finessing to get
the appropriate access rights - 'this article '
(https://itsembedded.com/sysadmin/proxmox_bind_unprivileged_lxc/)helps
explain.

Just as a side note - I also use Home Assistant and have the
LMS/material gui as an iFrame in my dashboard - it's a great way to keep
everything accessible in one place. 

I'd get LMS running first and accessible by a web gui, and find a quick
way of setting up a squeezelite client of some form (e.g - 'for MacOSX'
(https://macdownload.informer.com/squeezelite/) or  'squeezelite-X'
(https://apps.microsoft.com/store/detail/squeezelitex/9PBHMTNP9037?hl=en-gb&gl=gb)
for a windows PC). Once you have LMS running and playing music to your
test client you can move onto setting up squeezelite on your server. 
I'd do this in a separate LXC container or VM, at least initially, to
ensure I don't screw up the LMS install by mistake.  USB devices can be
bind mounted through to an LXC container (lookup the 'proxmox
documentation' (https://pve.proxmox.com/wiki/Linux_Container) on this),
but you'll need to manually edit the LXC config file with the right
parameters - search the forums and blog posts for more info, but you'll
need to both map the device and the control group - e.g.


Code:
--------------------
    root@proxmox /etc/pve/lxc > cat 1233.conf
  ...
  unprivileged: 0
  
  lxc.cgroup.devices.allow = c 116:* rwm
  lxc.mount.entry = /dev/snd dev/snd none bind,create=dir 0 0
  
  
  root@proxmox /etc/pve/lxc > pct enter 1233
  alexa:/# arecord -l
  **** List of CAPTURE Hardware Devices ****
  card 0: Intel [HDA Intel], device 0: AD1984 Analog [AD1984 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
--------------------


For a VM the USB device can be passed through using the GUI, providing
your server is set up to allow this.  

Once you have yore sound device showing up in your LXC or VM I'm sure
someone else here will be able to help you with linking the device to
squeezelite.

Chris


------------------------------------------------------------------------
lostboy's Profile: http://forums.slimdevices.com/member.php?userid=125
View this thread: http://forums.slimdevices.com/showthread.php?t=117174

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to