03-06-2021, 07:53 PM
(This post was last modified: 03-06-2021, 08:10 PM by TheOldPresbyope.
Edit Reason: added clarifications
)
@electroremy
As stated in the setup.txt file,
Note well that MPD commands available via MPC (try "mpc help") are not the exactly same as the commands in the MPD Protocol (the documentation you reference). For example, there is no playlistinfo available.
You cited the MPD protocol section, so did you read the first sentence in it?
If you telnet to port 6600 you'll see how the protocol works. Just type a command and look at the response.
Regards,
Kent
As stated in the setup.txt file,
Code:
////////////////////////////////////////////////////////
//
// Command API
//
// Below are a list of commands that can be submitted to
// moOde via http or ssh
//
////////////////////////////////////////////////////////
1. Base URL is http://moode/command/?cmd=
2. MPD commands that are listed in MPC help
3. Volume commands that are listed in /var/www/vol.sh --help
4. Library update via the command libupd-submit
Note well that MPD commands available via MPC (try "mpc help") are not the exactly same as the commands in the MPD Protocol (the documentation you reference). For example, there is no playlistinfo available.
You cited the MPD protocol section, so did you read the first sentence in it?
Quote:The MPD command protocol exchanges line-based text records between client and server over TCP.
If you telnet to port 6600 you'll see how the protocol works. Just type a command and look at the response.
Regards,
Kent