Snakeoil Forums

Full Version: upmpdcli not working after update
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Been happily running upmpdcli for a few months, using it together with MinimServer and BubbleUPnP app.  But after running Ubuntu update which updated upmpdcli. it is not working.  Cannot see any entries in log.  Please let me know what info you need to further explain the problem.

For the time being, reverted back to mpd which is running (and have to put up with MpDroid and its quirks!).

----------
Update
Tried uninstalling, re-installing.  upmpdcli does not show up as a renderer in BubbleUPnP app.

Finally got to work when I included MPD 0.21.22 (which I had removed) as a server, but not running.  Seems like there is some dependency there.
Can you SSH into the machine, and run the following commands:
Code:
ps aux|grep upmp
Cut and paste the output so I know what's running, and what's not.
(06-Aug-2020, 08:34 AM)agent_kith Wrote: [ -> ]Can you SSH into the machine, and run the following commands:
Code:
ps aux|grep upmp
Cut and paste the output so I know what's running, and what's not.

upmpdcli  5449  1.4  0.1 1378152 26140 ?       Ssl  10:23   0:13 /usr/bin/upmpdcli -c /var/www/scratch/upmpdcli.conf -D
root      5491  3.0  0.2 653436 70704 ?        Ssl  10:23   0:28 /var/www/players/upmpdcli/../mpd-v21/mpd /var/www/scratch/mpd.conf
cs        6071  0.0  0.0  12948   924 pts/0    S+   10:38   0:00 grep --color=auto upmp
Oh.. So you're right.. upmpdcli for now needs the stock version of mpd-21 to work... It's hardcoded at the moment. This will be made more flexible in the future. Hopefully in 1.2.0.
(06-Aug-2020, 09:03 AM)agent_kith Wrote: [ -> ]Oh.. So you're right.. upmpdcli for now needs the stock version of mpd-21 to work... It's hardcoded at the moment. This will be made more flexible in the future. Hopefully in 1.2.0.

OK, good to know.  I assume you will make a change to always install mpd-21 when installing upmpdcli.

On another issue, LMS is always enabled as a server, regardless of what is selected in music software.
(06-Aug-2020, 12:27 PM)Snoopy8 Wrote: [ -> ]OK, good to know.  I assume you will make a change to always install mpd-21 when installing upmpdcli.
Not exactly. You will pick upmpdcli as a server, and then pick a version of mpd as a client. So it's no longer tied to mpd-21 any more.

Right now, if a player is designated as a server, it will always appear in the server list. I want to change that, so it can appear in the client list, if the server warrants it.

(06-Aug-2020, 12:27 PM)Snoopy8 Wrote: [ -> ]On another issue, LMS is always enabled as a server, regardless of what is selected in music software.
Did you update LMS at some point? Run this in a SSH shell should fix it:
Code:
sudo systemctl disable logitechmediaserver

Reboot and see if LMS is still loaded on startup.

I guess I can automate this check.. Will have to think about how to do this.
(06-Aug-2020, 12:49 PM)agent_kith Wrote: [ -> ]Not exactly. You will pick upmpdcli as a server, and then pick a version of mpd as a client. So it's no longer tied to mpd-21 any more.

Right now, if a player is designated as a server, it will always appear in the server list. I want to change that, so it can appear in the client list, if the server warrants it.
OK, i forgot the use case of it being a server. I am using it as client
(06-Aug-2020, 12:49 PM)agent_kith Wrote: [ -> ] 
(06-Aug-2020, 12:27 PM)Snoopy8 Wrote: [ -> ]On another issue, LMS is always enabled as a server, regardless of what is selected in music software.
Did you update LMS at some point? Run this in a SSH shell should fix it:
Code:
sudo systemctl disable logitechmediaserver

Reboot and see if LMS is still loaded on startup.

I guess I can automate this check.. Will have to think about how to do this.
I may have updated LMS? Can't remember as I was experimenting with LMS, MPD and upmpdcli for a few weeks. I ran the command, rebooted and it is still there.
(06-Aug-2020, 02:19 PM)Snoopy8 Wrote: [ -> ]I may have updated LMS? Can't remember as I was experimenting with LMS, MPD and upmpdcli for a few weeks. I ran the command, rebooted and it is still there.
Can you explain to me what you mean by LMS is "Enabled" again? As in, it's checked in the webgui, or it's running?
(06-Aug-2020, 03:46 PM)agent_kith Wrote: [ -> ]
(06-Aug-2020, 02:19 PM)Snoopy8 Wrote: [ -> ]I may have updated LMS? Can't remember as I was experimenting with LMS, MPD and upmpdcli for a few weeks. I ran the command, rebooted and it is still there.
Can you explain to me what you mean by LMS is "Enabled" again? As in, it's checked in the webgui, or it's running?


[Image: Musicplayer2.jpg]
List of players in SnakeOil Tab.  No Squeezelite selected.

[Image: Musicplayer.jpg]
Yet, LMS is available as a server and it works. Ideally, would prefer not to be showing LMS as an option.
(06-Aug-2020, 07:28 PM)Snoopy8 Wrote: [ -> ]Yet, LMS is available as a server and it works. Ideally, would prefer not to be showing LMS as an option.
Ah, Squeezelite and LMS are actually two different pieces software.

I will add LMS to that list in the next update (See this ticket), so u can uncheck that in Snakeoil so it will not appear in the players (Servers) list any more.