The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


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


MPD command missing ?
#1
Hi everybody

I'm trying to command my Moode Audio RPI with URL requests sent by a an Arduino DIY automation system, which uses Ethernet as HTTP client and HTTP server on port 80.
It can also use DNS to resolve names and contact a server or a website.

This is the MPD reference : https://www.musicpd.org/doc/html/protoco...aylistinfo

With Moode audio, this commands work fine:

http://moode/command/?cmd=next
http://moode/command/?cmd=previous
http://moode/command/?cmd=pause
http://moode/command/?cmd=play
http://moode/command/?cmd=stop
http://moode/command/?cmd=vol.sh%2085  // set volume to 85% - mind '%20' is 'space' char
http://moode/command/?cmd=play%2021     // play song n°22 in the queue ; mind that song n°1 is '0' not '1'


But other commands do not work at all:

http://moode/command/?cmd=playlistinfo
http://moode/command/?cmd=currentsong
...

I want to do a "full command line" if possible.


And if possible, I want to "navigate" in MP3 directory :
- get list of files in current dir
- get list of dir in current dir
- go inside dir
- go back to parent dir
- add files to queue
- clear queue
 
Also my Arduino system can use other port than 80 to connect to a server. 
But Arduino do not have enough power, ROM and RAM to handle complex secure connexions (like HTTPS or SSH)

Best regards.
Reply


Messages In This Thread
MPD command missing ? - by electroremy - 03-06-2021, 07:31 PM
RE: MPD command missing ? - by TheOldPresbyope - 03-06-2021, 07:53 PM
RE: MPD command missing ? - by electroremy - 03-07-2021, 02:13 PM
RE: MPD command missing ? - by TheOldPresbyope - 03-07-2021, 04:51 PM
RE: MPD command missing ? - by vinnn - 03-07-2021, 05:02 PM
RE: MPD command missing ? - by electroremy - 03-11-2021, 05:59 PM
RE: MPD command missing ? - by TheOldPresbyope - 03-11-2021, 07:20 PM
RE: MPD command missing ? - by electroremy - 03-14-2021, 07:32 PM

Forum Jump: