Players/upmpdcli: Difference between revisions

From Snakeoil OS Reference
Jump to navigation Jump to search
(Updated to latest version)
Line 9: Line 9:
==SnakeOil Music Player options==
==SnakeOil Music Player options==


#Upmpdcli can be selected as a music server in SnakeOil. With this setup, upmpdcli will work as a UPnP renderer end point.
#Upmpdcli should be enabled with any available version of MPD in SnakeOil. It will not work if MPD is not running. With this setup, upmpdcli will work as a UPnP renderer end point.
#Alternately, select upmpdcli as a music player and use either [[Players/minimserver|MinimServer]]  or [[Players/LMS-Squeezelite|LMS]] as the music server.
#Alternately, enable upmpdcli with MPD as a music player and use either [[Players/minimserver|MinimServer]]  or [[Players/LMS-Squeezelite|LMS]] as the music server.


===Using upmpdcli with LMS as music server===
===Using upmpdcli with LMS as music server===
[[File:Upmpdcli player.jpg|thumb|900x900px|SnakeOil Player tab|alt=|center]]
[[File:Upmpdcli setup.jpg|alt=|center|thumb|900x900px|SnakeOil Player tab]]
 
Select LMS as server and upmpdcli and any version of MPD as client.  Using the LMS Web page, go into Settings.
Select LMS as server and upmpdcli as client.  Using the LMS Web page, go into Settings.


[[File:UPnP plugin.jpg|frame|LMS Plugin tab|alt=|center]]
[[File:UPnP plugin.jpg|frame|LMS Plugin tab|alt=|center]]

Revision as of 19:57, 20 December 2022

!icon.png Work in progress

Upmpdcli is primarily a UPnP Renderer front-end to the MPD music player.


It can be used in a UPnP setup with a UPnP Server (e.g. MinimServer running on a NAS) and a UPnP controller app (e.g. BubbleUPnP on Android, mConnect on iOS). This may provide the best of both worlds, mpd playback sound quality with the better library & tags configuration of MinimServer plus a good UI with BubbleUPnP App.


Another option is to combine it with Logitech Media Server (LMS) with the DLNA/UPnP Bridge plugin installed. Upmpdcli can then be used as a player for LMS, providing mpd playback sound quality, but retaining the features of LMS and continue using the LMS phone app.

SnakeOil Music Player options

  1. Upmpdcli should be enabled with any available version of MPD in SnakeOil. It will not work if MPD is not running. With this setup, upmpdcli will work as a UPnP renderer end point.
  2. Alternately, enable upmpdcli with MPD as a music player and use either MinimServer or LMS as the music server.

Using upmpdcli with LMS as music server

SnakeOil Player tab

Select LMS as server and upmpdcli and any version of MPD as client. Using the LMS Web page, go into Settings.

LMS Plugin tab

Enable UpnP/DLNA bridge, restart LMS.  Go into the bridge settings

Bridge settings page


If this is a new setup, you will need to Generate configuration file; it will take 30 seconds or more.

Generate configuration

You will now have a list of UPnP players (renderers), including UpMpd-UpnP/AVE, for use with LMS

Choose player

Select the UpMPD player.  Please note that upmpdcli can take 30 seconds or more to start up.

Upmpdcli tweaks

Upmpdcli can be tweaked to provide simultaneous dual outputs. The method to do this is similar to the MPD process

Players/musicpd#Dual outputs

Links

Upmpdcli documentation: https://www.lesbonscomptes.com/upmpdcli/upmpdcli-manual.html



Configuration File

/var/www/players/upmpdcli/upmpdcli.conf.template

This file is the base file used to run your instance. Put any of your customisations in there.

TODO: Your changes will disappear after a firmware update. So need to develop a workaround on this.

 Main   Music Players    qmmp   minimserver