Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


MPD auto update
#7
@Coustard

That worker task upmpddb essentially duplicates the "mpc update" command by an alternative method which would work for you on your mac if you don't want to try building mpc from source.

The alternative method is to use the MPD protocol via telnet. Here's an example on my Linux laptop:

Code:
kreed@T520 ~ $ telnet moode3a 6600
Trying 192.168.1.195...
Connected to moode3a.fios-router.home.
Escape character is '^]'.
OK MPD 0.21.11
update
updating_db: 8
OK
Connection closed by foreign host.

MPD is listening on port 6600, and the first line is just me invoking telnet to connect to that port on my moode player "moode3a".

The "OK MPD 0.21.11" response indicates I've successfully connected to MPD.

I entered "update" (and hit return) and the next two lines are the response. I then left telnet idle and MPD tore down the connection after it timed out.

I'm sure you have telnet. Sorry I didn't think of it before.   Blush

Regards,
Kent
Reply


Messages In This Thread
MPD auto update - by Coustard - 04-02-2020, 06:26 PM
RE: MPD auto update - by Tim Curtis - 04-02-2020, 08:18 PM
RE: MPD auto update - by Coustard - 04-03-2020, 09:09 AM
RE: MPD auto update - by Coustard - 04-03-2020, 02:55 PM
RE: MPD auto update - by TheOldPresbyope - 04-03-2020, 04:41 PM
RE: MPD auto update - by Coustard - 04-03-2020, 08:22 PM
RE: MPD auto update - by TheOldPresbyope - 04-03-2020, 08:52 PM
RE: MPD auto update - by Coustard - 04-03-2020, 10:35 PM
RE: MPD auto update - by TheOldPresbyope - 04-04-2020, 01:04 AM
RE: MPD auto update - by Coustard - 04-04-2020, 11:08 AM
RE: MPD auto update - by the_bertrum - 04-04-2020, 10:38 AM
RE: MPD auto update - by Coustard - 04-04-2020, 11:12 AM
RE: MPD auto update - by TheOldPresbyope - 04-04-2020, 12:55 PM
RE: MPD auto update - by Coustard - 04-04-2020, 01:11 PM
RE: MPD auto update - by TheOldPresbyope - 04-04-2020, 02:05 PM
RE: MPD auto update - by Tim Curtis - 04-04-2020, 10:59 PM
RE: MPD auto update - by Coustard - 04-04-2020, 09:05 PM
RE: MPD auto update - by Coustard - 04-05-2020, 10:17 AM
RE: MPD auto update - by Tim Curtis - 04-05-2020, 12:20 PM
RE: MPD auto update - by Coustard - 04-05-2020, 12:37 PM
RE: MPD auto update - by TheOldPresbyope - 04-05-2020, 12:58 PM
RE: MPD auto update - by Coustard - 04-05-2020, 01:03 PM
RE: MPD auto update - by TheOldPresbyope - 04-05-2020, 01:10 PM
RE: MPD auto update - by Coustard - 04-05-2020, 01:18 PM
RE: MPD auto update - by TheOldPresbyope - 04-05-2020, 08:40 PM
RE: MPD auto update - by Coustard - 04-05-2020, 09:29 PM

Forum Jump: